View Full Version : Gwt+modelBean+Mysql
16 Dec 2011, 11:07 PM
i wanna a good example demonstrate how to work with modelBean and mysql
19 Dec 2011, 2:49 PM
You should already be comfortable with MySQL and connecting to a MySQL database from Java. If you're not, brush up on those topics first. See http://dev.mysql.com/usingmysql/java/.
Once you've extracted the relevant data from the database, you can send them using GWT RPC as ordinary Java bean-like objects. See http://code.google.com/webtoolkit/doc/latest/DevGuideServerCommunication.html.
Assuming you're using Ext GWT 2, you probably mean BeanModel. You can find the client-side code for a BeanModel Grid in the BeanModel Grid Example (http://sencha.com/examples/#beanmodelgrid). Click on the Source tab.
It's important to note that extracting data from a database and the GWT RPC mechanism are not changed by the use of Ext GWT and BeanModel on the client side. As long as those parts are working properly, the Ext GWT example will illustrate perfectly what you need to do.
19 Dec 2011, 11:16 PM
Thanks man but i did what u said and it works
Powered by vBulletin® Version 4.1.5 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.