Hi Marcos,
yes, and I love it.

You need to extend DisptachServiceServlet and add the following code
to your constructor:

                net.sf.gilead.core.hibernate.HibernateUtil
hibernateUtil = new net.sf.gilead.core.hibernate.HibernateUtil();
                
hibernateUtil.setSessionFactory(YourHibernateUtil.getSessionFactory
());
                net.sf.gilead.core.PersistentBeanManager
persistentBeanManager = new net.sf.gilead.core.PersistentBeanManager
();
                persistentBeanManager.setPersistenceUtil(hibernateUtil);
                persistentBeanManager.setProxyStore(new
net.sf.gilead.core.store.stateless.StatelessProxyStore());
                setBeanManager(persistentBeanManager);

Everything else you have to do is described in the gilead tutorial.

Hope this helps,

Andreas

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


Reply via email to