Re: Database jdbc

2011-03-07 Thread Juan Pablo Gardella
I paste the error in google ahd found this: http://blog.elitecoderz.net/org-mortbay-thread-timeout-exception-on-new-gwt-webapplication-with-instantiations-gwt-designer-or-windowbuilder-pro/2010/05/

Re: Database jdbc

2011-03-07 Thread Mohammed Magdi
when i compiled my code i get this Exception : Exception in thread "main" java.lang.NoSuchMethodError: org.mortbay.thread.Timeout.(Ljava/lang/Object;)V at org.mortbay.io.nio.SelectorManager$SelectSet.(SelectorManager.java:306) at org.mortbay.io.nio.SelectorManager.doStart(SelectorManager.java:223)

Re: Database jdbc

2011-03-05 Thread Juan Pablo Gardella
Post the stacktrace if you want help. Juan 2011/3/4 Mohammed Magdi > i write the conn part in server part and it run and failed to access the db > and i tried the java code only and he can access the data base in java > project not GWT ??!! > > magdi > thanks > > On Fri, Mar 4, 2011 at 12:44 PM

Re: Database jdbc

2011-03-04 Thread Jens
our server implementation of your DataBaseConn service you have to catch these two exceptions and throw your DatabaseException with a meaningful exception message. Well and just make sure your database jdbc jar is in /WEB-INF/lib. -- You received this message because you are subscribed to the Goo

Re: Database jdbc

2011-03-04 Thread Mohammed Magdi
i write the conn part in server part and it run and failed to access the db and i tried the java code only and he can access the data base in java project not GWT ??!! magdi thanks On Fri, Mar 4, 2011 at 12:44 PM, Paul Robinson wrote: > You cannot access JDBC directly from the client (GWT) code

Re: Database jdbc

2011-03-04 Thread Paul Robinson
You cannot access JDBC directly from the client (GWT) code. You can only do it in the server (regular java) code. On 04/03/11 08:59, Mohammed Magdi wrote: hi thanks for the link i do the conn but when i compile the project i get that erorr Compiling module com.test.dbc.TestDbC Validating

Re: Database jdbc

2011-03-04 Thread Alex D.
GWT library supports a limited subset of JRE. Some classes and packages are not and will never be supported. Those two are probably not supported, check this link: http://www.gwtapps.com/doc/html/jre.html And besides, when you're developing a client you wouldn't want to handle ClassNotFoundExce

Re: Database jdbc

2011-03-04 Thread Mohammed Magdi
hi thanks for the link i do the conn but when i compile the project i get that erorr Compiling module com.test.dbc.TestDbC Validating newly compiled units [ERROR] Errors in 'file:/C:/Users/Magdi/Documents/MYWORK/WorkSpace/testDbC/src/com/test/dbc/client/DataBaseConn.java' [ERROR

Re: Database jdbc

2011-03-03 Thread Ben Imp
Server-side GWT is just plain old java. I'd suggest reading up on the JDBC documentation. http://download.oracle.com/javase/6/docs/technotes/guides/jdbc/ -Ben On Mar 3, 3:14 pm, Mohammed Magdi wrote: > yes in Java > > thanks > magdi > > On Thu, Mar 3, 2011 at 6:06 PM, Juan Pablo Gardella < > >

Re: Database jdbc

2011-03-03 Thread Mohammed Magdi
yes in Java thanks magdi On Thu, Mar 3, 2011 at 6:06 PM, Juan Pablo Gardella < gardellajuanpa...@gmail.com> wrote: > Is Java. You must implement layers to connect with a database. > > Juan > > 2011/3/3 Mohammed Magdi > >> hi >> >> i waht tow know how to connect database into GWT project >> >> t

Re: Database jdbc

2011-03-03 Thread Juan Pablo Gardella
Is Java. You must implement layers to connect with a database. Juan 2011/3/3 Mohammed Magdi > hi > > i waht tow know how to connect database into GWT project > > thanks > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to

Database jdbc

2011-03-03 Thread Mohammed Magdi
hi i waht tow know how to connect database into GWT project thanks -- 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 g