Re: GWT and MySQL Connection! Help!

2010-01-28 Thread Christian Goudreau
You cannot access that directly ! You have to do it server side and then access it from a RPC class ! I don't have any simple exemple for you since I'm using Guice and Gwt-Dispatch to intercept my server calls, but you can read the doc for any exemple.

GWT and MySQL Connection! Help!

2010-01-27 Thread Jay
I'm sorry if this has been asked many times, I tried googling and some links led to Google Examples but I can't checkout the source code for this link. http://code.google.com/p/gwt-examples/source/browse/trunk/gwt-test-MySQLConn/src/com/tribling/gwt/test/mysqlconn/?r=713#mysqlconn/client I'm

Re: GWT and MySQL Connection! Help!

2010-01-27 Thread John Ivens
What are you using in the back end? Hibernate? Or are you writing individual SQL statements using JDBC (yikes!). On Tue, Jan 26, 2010 at 9:18 PM, Jay jayjia...@gmail.com wrote: I'm sorry if this has been asked many times, I tried googling and some links led to Google Examples but I can't

Re: GWT and MySQL Connection! Help!

2010-01-27 Thread Jason Essington
Actually, what you HAVE to do is ask your server to get the data from your database, whether that is RPC, or FormPost or HTTP GET or some form of XHR is really a decision for you to make based upon your server technology. GWT doesn't really care. As for accessing MySQL, that is a problem more

Re: GWT and MySQL Connection! Help!

2010-01-27 Thread Cristian Nicanor Babula
No offence man, but RTFManuals. Designing your application's mysql layer is not related to gwt. Basically you would design the mysql layer as for a standard jsp app. The only thing that differs from a standard jsp application is that instead of sending to the browser full html, you only send

Re: GWT and MySQL Connection! Help!

2010-01-27 Thread Christian Goudreau
You need to download the connector and then import it in your project. http://dev.mysql.com/downloads/connector/j/ Here is a complete exemple of a real world application that I made. http://pastie.org/797237 All is server side, no need to write servlet or anything like that. When you are in

Re: GWT and MySQL Connection! Help!

2010-01-27 Thread Tan Jia Bao
Thanks for all the replies people, but I'm still kinda lost. I'm actually making a Drag and Drop E-Commerce website using GWT for a school project, I got kinda stuck because previously I had first completed my website before implementing GWT in. Without GWT, I called out my product information

Re: GWT and MySQL Connection! Help!

2010-01-27 Thread Tan Jia Bao
Alright, Christian I saw your work and got an idea how to go about it. I used my MainEntryPoint to access the DAO directly but I'm getting compilation about my imports. import java.util.logging.Level; import java.util.logging.Logger; My code is this public MainEntryPoint() { try {