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 t

Re: Session Management

2009-08-31 Thread tolga ozdemir
hmm I solved, simply a nullpointerexception.. now everything works great! cheers On Aug 31, 1:55 pm, tolga ozdemir wrote: > 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 bla

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 r

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: 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 t

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 http://knol.google.com/k/boiling-java/gwt-good-but-handle-

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 wrote: > I am having probl

google-web-toolkit@googlegroups.com

2009-08-20 Thread tolga ozdemir
ons and maybe linkt to the article about > GILEAD, etc. > > On Aug 20, 12:32 pm, tolga ozdemir 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 > >

google-web-toolkit@googlegroups.com

2009-08-20 Thread tolga ozdemir
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 a simple pure start to hibernate.. Another point, I would like to include a List query.. I think you take my article as a

google-web-toolkit@googlegroups.com

2009-08-20 Thread tolga ozdemir
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

Re: Where is the server log ?

2009-08-17 Thread tolga ozdemir
.tolgaozdemir.gwt.client.domain.Entry' On Aug 17, 4:56 pm, Daniel Jue wrote: > While searching for something else, I saw some gwt directories in the Local > Settings\Temp dir, which had some log files in them. > > C:\Documents and Settings\MyName\Local > Settings\Temp\gwtc2884477077

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 net.tolgaozdemir.gwt.client.

Re: Hibernate & GWT

2009-08-17 Thread tolga ozdemir
Most of the GWT developers suffer from this RPC&Hibernate 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: 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 to

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 Google-Web-Toolkit@go

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

2009-08-16 Thread tolga ozdemir
Anyone has a solution for this error? Hibernate: select id, entry from tblentry com.google.gwt.user.client.rpc.StatusCodeException: The call failed on the server; see server log for details at com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived (RequestCallbackAd

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 List listAll

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 wrote: > With other words I want to do workaround of position: fixed > > On Aug 15, 11:01 pm, nyankov wrote: > > > > > Hello, > > > I am wondering. What is the way to implement toolbar in browser > > w

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 List 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: Looking for a hand to solve my trouble

2009-08-15 Thread tolga ozdemir
Folks problem solved.. This issue caused by google application engine.. Here is some posts about the solution on my blog http://www.tolgaozdemir.net/2009/08/15/weird-error-with-gwt-caused-by-google-application-engine/ On Aug 14, 1:17 pm, tolga ozdemir wrote: > Thanks a lot.. it did

Re: Looking for a hand to solve my trouble

2009-08-14 Thread tolga ozdemir
in there. Something like: >     >         >             >         >     > > depending on what property name you use for a primary key on your Entry > class. > > This isn't really GWT related, and if you have problems configuring > this, it's probably

Re: Looking for a hand to solve my trouble

2009-08-14 Thread tolga ozdemir
n your catch statement generate > any output you can see? If so, then it ought to have shown the details > of the error. > > If not, try to work around this by putting in a th.printStackTrace(); > > > > tolga ozdemir wrote: > > Yea I caught where the error is.. exactly in

Re: Looking for a hand to solve my trouble

2009-08-14 Thread tolga ozdemir
y got that, but if not, maybe you 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? > > &

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 http://hibernate.sourceforge.net/hibernate- configuration-3.0.dtd"> org.hibernate.dialect.MySQLDialect com.mysql.jdbc.Driver jdbc:mysql://localh

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-13 Thread tolga ozdemir
guys, is there anybody had the same problem before?? On Aug 13, 4:00 pm, tolga ozdemir 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 connec

[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 it.

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.. H

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 unsu

Re: prerequisities of GWT to develop JPA

2009-08-11 Thread tolga ozdemir
akesh 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 wrote: > > > > > Hi everybody, > > &g

Re: prerequisities of GWT to develop JPA

2009-08-11 Thread tolga ozdemir
.. > > > > [1] > >http://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

Re: prerequisities of GWT to develop JPA

2009-08-11 Thread tolga ozdemir
examples/hellogwtwithjpa-... > > [1]http://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 1

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 woul

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 em