Tuesday, December 27, 2011

Re: Initializing Hibernate

This really depends on how you set up your server, but you will probably have a servlet that is used for communication with your GWT client. So you can put your initialization code in your servlet's init() method.

HTH
Paul

On 24/12/11 17:16, Blake wrote:
> Greetings,
>
> I want to use Hibernate with GWT. Hibernate (as well as other things
> I have) need to be initialized once when the application starts. I
> know how to do this with a regular Web app (startup listener) but I
> don't know where or how to do that with GWT. I need someplace to put
> code that will be run one when the app starts up. Your help is
> greatly appreciated.
>
> Blake McBride
>

--
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 unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment