One thing you have to notice here is, your XxxServiceImpl itself a servlet.
Check this out - http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/server/rpc/RemoteServiceServlet.html I dont see any problem in accessing DB from a servlet. From the servlet you can make JDBC connection to the database and make you have the jdbc jar file in your class path. On Friday, 6 July 2012 15:09:44 UTC+5:30, vikash@Atos wrote: > > Hi, > > I guess, using DB in GWT Application is something different, than normal > web app. Something client-server way is used for this purpose? > > Is there any example, where I can see how to connect a GWT app to MySQL? > > Thanks > > On Friday, July 6, 2012 10:10:08 AM UTC+2, Kanagaraj M wrote: >> >> >> >> On Friday, 6 July 2012 12:44:14 UTC+5:30, vikash@Atos wrote: >>> >>> Hi Thanks for Reply. >>> >>> Is there any development guide which specifies way of development of a >>> GWT application? >>> >> >> Yes. There are lot of sample applications available. The one which comes >> with the eclipse plugin is a good one to start with. >> >> >>> >>> How can we connect a GWT App, to a DB? >>> >>> It will be the same as how will you connect to DB from a servlet. >> >> >>> Thanks >>> >>> On Friday, July 6, 2012 8:14:43 AM UTC+2, vikash@Atos wrote: >>>> >>>> Hi, >>>> >>>> Is there any way, we can develope and run a J2EE App in GWT environment? >>>> >>>> Can we mix J2EE components, like servlets and jsps in GWT app? >>>> >>>> Facing issue while designing UI with GWT. >>>> >>>> Any help guide would be helpful. >>>> >>>> Thanks in advance. >>>> >>>> Regards, >>>> Vikash >>>> >>> -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ENN8z9zxGBUJ. 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.
