javax.persistence package

2009-09-02 Thread tolga ozdemir
Hi guys, Can you enlighten me wheather we could use javax.persistence.* in our serialized DTO objects for the sake of RPC?? can I use @Table, @Id or other annotations? Regards, Tolga --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Session Management

2009-08-31 Thread tolga ozdemir
Hi folks! I am looking for a good solution for session management in GWT web applications. Do you have any idea? or do you suggest a good article for this? ** Cookies ** HttpSession ** Variables or what? Regards, Tolga --~--~-~--~~~---~--~~ You received this

Re: Session Management

2009-08-31 Thread tolga ozdemir
Hasan thank you for your comment.. After updating, my project worked well in hosted mode but when I clicked Compile/Browse button, I receive a blank html page.. maybe problem is not related to this topic, but do u have any idea on this? --~--~-~--~~~---~--~~ You

Re: Accession session attribute and request parameters from EntryPoint

2009-08-24 Thread tolga ozdemir
I think you can use RPC for this... There is an inherited property in your Service class implementation you can use it to access your HttpSession object and retrieve it to the client side.. There is a nice article here you may take a look

Re: Accession session attribute and request parameters from EntryPoint

2009-08-24 Thread tolga ozdemir
HttpSession http_session = this.getThreadLocalRequest().getSession() This is the code line I am talking about in your serverImpl class Regards, Tolga Özdemir http://www.tolgaozdemir.net --~--~-~--~~~---~--~~ You received this message because you are subscribed

a new article on gwthibernate

2009-08-20 Thread tolga ozdemir
is the link, http://www.tolgaozdemir.net/2009/08/19/gwt-101-lessons-2-gwt-17-with-hibernate-3/ Regards, Tolga Ozdemir --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send

Re: a new article on gwthibernate

2009-08-20 Thread tolga ozdemir
and maybe linkt to the article about GILEAD, etc. On Aug 20, 12:32 pm, tolga ozdemir tka...@gmail.com wrote: yea you are right, it is so simple.. I like Bruno's article too, but it talks about gilead, dozer, etc.. Here, all is done by only GWT and pure hibernate I just wanted to make

Re: Problem with GWT RPC when parameter contains collection.

2009-08-20 Thread tolga ozdemir
Can you post the method of your impl class here to investigate the problem? I do not know yet but maybe my sample helps you to compare your code as well.. http://www.tolgaozdemir.net/2009/08/19/gwt-101-lessons-2-gwt-17-with-hibernate-3/ On Aug 20, 11:37 pm, Arkady arka...@gmail.com wrote:

Re: com.google.gwt.user.client.rpc.StatusCodeException

2009-08-17 Thread tolga ozdemir
on my hostedmode debug window.. I see this error on the picture, pls help me to return a collection from my remote service http://www.tolgaozdemir.net/wp-content/uploads/2009/08/error.gif --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Hibernate GWT

2009-08-17 Thread tolga ozdemir
Most of the GWT developers suffer from this RPCHibernate entegration.. Some articles related to earlier versions are not usable now.. Others are not cover every aspect of it.. While this is a fact, in the 2nd version of GWT, there will be an easy approach?

Re: Where is the server log ?

2009-08-17 Thread tolga ozdemir
this thread seems the same.. But I cannot reach the solution yet.. I receive this error.. I cannot retrieve a List of my object via RPC service http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/8744f69c06e7241d ::: HERE IS MY OBJECT ::: package

Re: Where is the server log ?

2009-08-17 Thread tolga ozdemir
that are not available on the javascript runtime code. import javax.persistence.Entity; import javax.persistence.Table; those classes are almost certainly not in the limited environment. Trevis On Aug 17, 8:21 am, tolga ozdemir tka...@gmail.com wrote: this thread seems the same.. But I cannot

Where is the server log ?

2009-08-16 Thread tolga ozdemir
Hi, I use GWT 1.7 and eclipse on Windows XP.. As a sample, I use a hibernate project.. I have a function with signature ListEntry listEntries(); When I run the project I got this error com.google.gwt.user.client.rpc.StatusCodeException: The call failed on the server; see server log for details

Re: question from a novice in GWT

2009-08-16 Thread tolga ozdemir
Hmm, maybe you think this before.. Have you ever tried CSS? On Aug 16, 3:58 pm, nyankov nikola.yan...@gmail.com wrote: With other words I want to do workaround of position: fixed On Aug 15, 11:01 pm, nyankov nikola.yan...@gmail.com wrote: Hello, I am wondering. What is the way

Re: Where is the server log ?

2009-08-16 Thread tolga ozdemir
Yes.. if it is so.. I recieve a 500 - POST error my request seems full and content type text/x-gwt-rpc whereas my Response's content type text/plain Simply I want to use RPC services with hibernate and I have a function returns a list of my Entry object this is my method.. public ListEntry

Re: com.google.gwt.user.client.rpc.StatusCodeException

2009-08-16 Thread tolga ozdemir
I have already use hosted mode with eclipse.. What is that archimedes a3000? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to

Re: Looking for a hand to solve my trouble

2009-08-14 Thread tolga ozdemir
This is my HibernateContext.java.. Something wrong in it? import org.apache.commons.logging.*; import org.hibernate.SessionFactory; import org.hibernate.cfg.Configuration; public class HibernateContext { private final static String CONFIGURATION_FILE = hibernate.cfg.xml;

Re: Looking for a hand to solve my trouble

2009-08-14 Thread tolga ozdemir
This is a screenshot for my folder structure http://www.tolgaozdemir.net/wp-content/uploads/2009/08/tolgaozdemirnet.gif HİBERNATE.CFG !DOCTYPE hibernate-configuration PUBLIC -//Hibernate/Hibernate Configuration DTD 3.0//EN http://hibernate.sourceforge.net/hibernate- configuration-3.0.dtd

Re: Looking for a hand to solve my trouble

2009-08-14 Thread tolga ozdemir
can add something to show its contents? Also, is your src directory (where your hibernate files are) in your classpath? tolga ozdemir wrote: This is my HibernateContext.java.. Something wrong in it? import org.apache.commons.logging.*; import org.hibernate.SessionFactory; import

[JPA + Hibernate + GWT + MySQL ] Looking for a hand to solve my trouble

2009-08-13 Thread tolga ozdemir
Hi guys, I started playing with those technology just for two weeks ago. So, I can ask some dummy questions... forgive me pls.. Here is my questions.. I am trying to connect GWT with a database I am familiar.. Namely, MySQL.. I have a sample project with some errors that I have no idea to fix

Re: Looking for a hand to solve my trouble

2009-08-13 Thread tolga ozdemir
guys, is there anybody had the same problem before?? On Aug 13, 4:00 pm, tolga ozdemir tka...@gmail.com wrote: Hi guys, I started playing with those technology just for two weeks ago. So, I can ask some dummy questions... forgive me pls.. Here is my questions.. I am trying to connect GWT

Re: prerequisities of GWT to develop JPA

2009-08-12 Thread tolga ozdemir
Thank you for all comments.. I have read the article Rakesh joted down.. But after doing a project myself, I could not manage it.. At least, in Hasan's sample I could manage send some data.. Sure I am interesting in more proffessional solution for big projects.. So any help would be great now..

prerequisities of GWT to develop JPA

2009-08-11 Thread tolga ozdemir
Hi everybody, I am starting to learn GWT stuff for a while. I am really getting enjoy it. Now, I am considering to use JPA to access my database.. I read a lot of articles about this.. (took a look at GWT 1.4 and GWT 1.5 samples also) But guys, I have not succeeded yet.. Any help about this

Re: prerequisities of GWT to develop JPA

2009-08-11 Thread tolga ozdemir
://code.google.com/p/faculty-gwt/source/browse/#svn/trunk/example... [2]http://code.google.com/p/faculty-gwt/source/browse/trunk/examples/hel... hope it helps, Hasan...http://www.jroller.com/hasant On Tue, Aug 11, 2009 at 10:04 AM, tolga ozdemir tka...@gmail.com wrote: Hi everybody, I

Re: prerequisities of GWT to develop JPA

2009-08-11 Thread tolga ozdemir
-commons-annotations-3.1.0.GA.jar  hibernate-core-3.3.1.GA.jar  hibernate-entitymanager-3.4.0.GA.jar  hsqldb-1.8.0.10.jar  javassist-3.8.0.GA.jar  jta-1.1.jar  slf4j-api-1.5.8.jar  slf4j-jdk14-1.5.8.jar -- regards, Hasan... On Tue, Aug 11, 2009 at 3:44 PM, tolga ozdemir tka

Re: prerequisities of GWT to develop JPA

2009-08-11 Thread tolga ozdemir
...@gmail.com wrote: Read this tutorial:http://code.google.com/intl/fr/webtoolkit/articles/using_gwt_with_hib... It might have answers to most of your questions. Rakesh Wagh On Aug 11, 2:04 am, tolga ozdemir tka...@gmail.com wrote: Hi everybody, I am starting to learn GWT stuff

Re: prerequisities of GWT to develop JPA

2009-08-11 Thread tolga ozdemir
And.. may something be wrong in GWT eclipse plugin? Cheers! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To

Re: JPA with GWT

2009-08-10 Thread tolga ozdemir
Thanks bruno 4 the link. It's great really... Where can we find more samples about Gliead GWT entegration? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send