Re: Database jdbc
when i compiled my code i get this Exception : Exception in thread main java.lang.NoSuchMethodError: org.mortbay.thread.Timeout.init(Ljava/lang/Object;)V at org.mortbay.io.nio.SelectorManager$SelectSet.init(SelectorManager.java:306) at org.mortbay.io.nio.SelectorManager.doStart(SelectorManager.java:223) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:303) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.Server.doStart(Server.java:233) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:565) at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:494) at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1058) at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:800) at com.google.gwt.dev.DevMode.main(DevMode.java:304) i attached the code :) TestDbc,DataBaseConn,DataBaseConnAsync (client code) DataBaseConnImpl , DAO (server code) web.xml thanks magdi On Sat, Mar 5, 2011 at 10:42 PM, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: Post the stacktrace if you want help. Juan 2011/3/4 Mohammed Magdi moh_ma...@acm.org 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 ukcue...@gmail.comwrote: 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 newly compiled units [ERROR] Errors in 'file:/C:/Users/Magdi/Documents/MYWORK/WorkSpace/testDbC/src/com/test/dbc/client/DataBaseConn.java' [ERROR] Line 7: No source code is available for type java.lang.ClassNotFoundException; did you forget to inherit a required module? [ERROR] Line 7: No source code is available for type java.sql.SQLException; did you forget to inherit a required module? [ERROR] Errors in 'file:/C:/Users/Magdi/Documents/MYWORK/WorkSpace/testDbC/src/com/test/dbc/client/DataBaseConnAsync.java' [ERROR] Line 10: No source code is available for type java.lang.ClassNotFoundException; did you forget to inherit a required module? [ERROR] Line 10: No source code is available for type java.sql.SQLException; did you forget to inherit a required module? Finding entry point classes [ERROR] Unable to find type 'com.test.dbc.client.TestDbC' [ERROR] Hint: Previous compiler errors may have made this type unavailable [ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly thanks magdi On 3/3/11, Ben Impbenlee...@gmail.com wrote: 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 Magdimoh_ma...@acm.org wrote: 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 Magdiacm.ma...@gmail.com 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Eng Mohammed Magdi Mohammed Third Year - CS dept -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to
Re: Database jdbc
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/ http://blog.elitecoderz.net/org-mortbay-thread-timeout-exception-on-new-gwt-webapplication-with-instantiations-gwt-designer-or-windowbuilder-pro/2010/05/Tell me if resolve your problem. Search in google: Exception in thread main java.lang.NoSuchMethodError: org.mortbay.thread.Timeout.init(Ljava/lang/Object;)V and found similar solutions. Juan 2011/3/7 Mohammed Magdi moh_ma...@acm.org when i compiled my code i get this Exception : Exception in thread main java.lang.NoSuchMethodError: org.mortbay.thread.Timeout.init(Ljava/lang/Object;)V at org.mortbay.io.nio.SelectorManager$SelectSet.init(SelectorManager.java:306) at org.mortbay.io.nio.SelectorManager.doStart(SelectorManager.java:223) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:303) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.Server.doStart(Server.java:233) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:565) at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:494) at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1058) at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:800) at com.google.gwt.dev.DevMode.main(DevMode.java:304) i attached the code :) TestDbc,DataBaseConn,DataBaseConnAsync (client code) DataBaseConnImpl , DAO (server code) web.xml thanks magdi On Sat, Mar 5, 2011 at 10:42 PM, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: Post the stacktrace if you want help. Juan 2011/3/4 Mohammed Magdi moh_ma...@acm.org 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 ukcue...@gmail.comwrote: 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 newly compiled units [ERROR] Errors in 'file:/C:/Users/Magdi/Documents/MYWORK/WorkSpace/testDbC/src/com/test/dbc/client/DataBaseConn.java' [ERROR] Line 7: No source code is available for type java.lang.ClassNotFoundException; did you forget to inherit a required module? [ERROR] Line 7: No source code is available for type java.sql.SQLException; did you forget to inherit a required module? [ERROR] Errors in 'file:/C:/Users/Magdi/Documents/MYWORK/WorkSpace/testDbC/src/com/test/dbc/client/DataBaseConnAsync.java' [ERROR] Line 10: No source code is available for type java.lang.ClassNotFoundException; did you forget to inherit a required module? [ERROR] Line 10: No source code is available for type java.sql.SQLException; did you forget to inherit a required module? Finding entry point classes [ERROR] Unable to find type 'com.test.dbc.client.TestDbC' [ERROR] Hint: Previous compiler errors may have made this type unavailable [ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly thanks magdi On 3/3/11, Ben Impbenlee...@gmail.com wrote: 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 Magdimoh_ma...@acm.org wrote: 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 Magdiacm.ma...@gmail.com 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this
Re: Database jdbc
Post the stacktrace if you want help. Juan 2011/3/4 Mohammed Magdi moh_ma...@acm.org 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 ukcue...@gmail.com wrote: 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 newly compiled units [ERROR] Errors in 'file:/C:/Users/Magdi/Documents/MYWORK/WorkSpace/testDbC/src/com/test/dbc/client/DataBaseConn.java' [ERROR] Line 7: No source code is available for type java.lang.ClassNotFoundException; did you forget to inherit a required module? [ERROR] Line 7: No source code is available for type java.sql.SQLException; did you forget to inherit a required module? [ERROR] Errors in 'file:/C:/Users/Magdi/Documents/MYWORK/WorkSpace/testDbC/src/com/test/dbc/client/DataBaseConnAsync.java' [ERROR] Line 10: No source code is available for type java.lang.ClassNotFoundException; did you forget to inherit a required module? [ERROR] Line 10: No source code is available for type java.sql.SQLException; did you forget to inherit a required module? Finding entry point classes [ERROR] Unable to find type 'com.test.dbc.client.TestDbC' [ERROR] Hint: Previous compiler errors may have made this type unavailable [ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly thanks magdi On 3/3/11, Ben Impbenlee...@gmail.com wrote: 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 Magdimoh_ma...@acm.org wrote: 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 Magdiacm.ma...@gmail.com 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Eng Mohammed Magdi Mohammed Third Year - CS dept -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Eng Mohammed Magdi Mohammed Third Year - CS dept -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Database jdbc
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] Line 7: No source code is available for type java.lang.ClassNotFoundException; did you forget to inherit a required module? [ERROR] Line 7: No source code is available for type java.sql.SQLException; did you forget to inherit a required module? [ERROR] Errors in 'file:/C:/Users/Magdi/Documents/MYWORK/WorkSpace/testDbC/src/com/test/dbc/client/DataBaseConnAsync.java' [ERROR] Line 10: No source code is available for type java.lang.ClassNotFoundException; did you forget to inherit a required module? [ERROR] Line 10: No source code is available for type java.sql.SQLException; did you forget to inherit a required module? Finding entry point classes [ERROR] Unable to find type 'com.test.dbc.client.TestDbC' [ERROR] Hint: Previous compiler errors may have made this type unavailable [ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly thanks magdi On 3/3/11, Ben Imp benlee...@gmail.com wrote: 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 moh_ma...@acm.org wrote: 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 acm.ma...@gmail.com 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Eng Mohammed Magdi Mohammed Third Year - CS dept -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Eng Mohammed Magdi Mohammed Third Year - CS dept -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Database jdbc
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 ClassNotFoundException, no? That makes no sense, this exception is probably thrown by the db connector implementation, you need to hide it. Same deal goes with the other exception. Try to have event-based exceptions (say, NotLoggedInException, InvalidInputException etc). -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Database jdbc
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 newly compiled units [ERROR] Errors in 'file:/C:/Users/Magdi/Documents/MYWORK/WorkSpace/testDbC/src/com/test/dbc/client/DataBaseConn.java' [ERROR] Line 7: No source code is available for type java.lang.ClassNotFoundException; did you forget to inherit a required module? [ERROR] Line 7: No source code is available for type java.sql.SQLException; did you forget to inherit a required module? [ERROR] Errors in 'file:/C:/Users/Magdi/Documents/MYWORK/WorkSpace/testDbC/src/com/test/dbc/client/DataBaseConnAsync.java' [ERROR] Line 10: No source code is available for type java.lang.ClassNotFoundException; did you forget to inherit a required module? [ERROR] Line 10: No source code is available for type java.sql.SQLException; did you forget to inherit a required module? Finding entry point classes [ERROR] Unable to find type 'com.test.dbc.client.TestDbC' [ERROR] Hint: Previous compiler errors may have made this type unavailable [ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly thanks magdi On 3/3/11, Ben Impbenlee...@gmail.com wrote: 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 Magdimoh_ma...@acm.org wrote: 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 Magdiacm.ma...@gmail.com 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Eng Mohammed Magdi Mohammed Third Year - CS dept -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Database jdbc
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 ukcue...@gmail.com wrote: 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 newly compiled units [ERROR] Errors in 'file:/C:/Users/Magdi/Documents/MYWORK/WorkSpace/testDbC/src/com/test/dbc/client/DataBaseConn.java' [ERROR] Line 7: No source code is available for type java.lang.ClassNotFoundException; did you forget to inherit a required module? [ERROR] Line 7: No source code is available for type java.sql.SQLException; did you forget to inherit a required module? [ERROR] Errors in 'file:/C:/Users/Magdi/Documents/MYWORK/WorkSpace/testDbC/src/com/test/dbc/client/DataBaseConnAsync.java' [ERROR] Line 10: No source code is available for type java.lang.ClassNotFoundException; did you forget to inherit a required module? [ERROR] Line 10: No source code is available for type java.sql.SQLException; did you forget to inherit a required module? Finding entry point classes [ERROR] Unable to find type 'com.test.dbc.client.TestDbC' [ERROR] Hint: Previous compiler errors may have made this type unavailable [ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly thanks magdi On 3/3/11, Ben Impbenlee...@gmail.com wrote: 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 Magdimoh_ma...@acm.org wrote: 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 Magdiacm.ma...@gmail.com 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Eng Mohammed Magdi Mohammed Third Year - CS dept -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Eng Mohammed Magdi Mohammed Third Year - CS dept -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Database jdbc
You receive these errors because you have defined one or more methods in your DataBaseConn service to throw a ClassNotFoundException and a SQLException. Because these service interfaces are in the client package, GWT tries to compile them into javascript. But the GWT compiler only supports java classes listed at http://code.google.com/intl/en-EN/webtoolkit/doc/latest/RefJreEmulation.html You have to define your own exception, something like public class DatabaseException extends Throwable and use this exception instead of ClassNotFoundException and SQLException. So in your 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 war directory/WEB-INF/lib. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Database jdbc
Is Java. You must implement layers to connect with a database. Juan 2011/3/3 Mohammed Magdi acm.ma...@gmail.com 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Database jdbc
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 moh_ma...@acm.org wrote: 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 acm.ma...@gmail.com 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Eng Mohammed Magdi Mohammed Third Year - CS dept -- 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 google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.