My question is simple... how do I define a new DataSource (to connect
to a DataBase) in Hosted Mode in the new GWT 1.6 RC2??
I tried with this in a jetty-env.xml file and in a context.xml file:
My DataSource Reference
jdbc/apartments
javax.s
By the way, the error I get is this one:
javax.naming.NoInitialContextException: Need to specify class name in
environment or system property, or as an applet parameter, or in an
application resource file: java.naming.factory.initial
at javax.naming.spi.NamingManager.getInitialCon
Were you able to solve the problem. I have the same Issue.
Thanks
Emanuel
On Apr 1, 9:32 pm, polbat02 wrote:
> By the way, the error I get is this one:
> javax.naming.NoInitialContextException: Need to specify class name in
> environment or system property, or as an applet parameter, o
Hi Emanuel,
If you've reached a point in your development cycle where you need to define
data sources and are using other backend technologies, you should switch to
using hosted mode with the -noserver option. This has the benefit of being
able to continue debugging your GWT code in hosted mode wh
You can find an example using data source with Spring in
http://www.gwtorm.com/mail/Mail.html.
Jim
On May 5, 2:30 pm, Sumit Chandel wrote:
> Hi Emanuel,
>
> If you've reached a point in your development cycle where you need to define
> data sources and are using other backend technologies, you