On Tue, Jan 5, 2010 at 22:08, ojay <[email protected]> wrote: > Hi, > > I need to access my database in the server area of my gwt application. > Now I have the problem that i cannot init the database connection. I > am using hibernate to access my database, in my previous applications > (struts) I used the Datasource of the underlying tomcat to start and > database transcation with hibernate. Now with GWT 2.0 I want to use > the hosted mode and therefore I need to initialize my database > connection pool. Therefore I tried to create this pool with a servlet. > Now I have the problem that my servlet will not be started in the > hosted mode. > > Can somebody explain where I can define in GWT to start a special > servlet at startup of the host mode? >
ehhh, web.xml maybe? -- Two things that are infinite, the universe and my stupidity, and I'm not sure about the universe. -- 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.
