Posts

Showing posts from December, 2012

Google Web Toolkit GWT with NetBeans 7 (and 8) Tutorial

Image
Installing GWT plugin on Netbeans: Open Tools Menu/Plugins, go to Available Plugins tab and type GWT in the search field and proceed by clicking the Install button on the bottom left corner. Accept the plugin even if it is signed but not trusted and restart Netbeans. GWT framework will be available now while creating a new web project. Starting a GWT Project: To create a GWT project with Netbeans the GWT framework should be selected.  Unfortunately or not the generated code is a simple client-only module. Lets see what it has created for us: Notice that: WEB-INF: web.xml No servlets have been added. This is due to being just a client-only gwt example page. The starting page is pointing at welcomeGWT.html. Most probably you will want to change this as it is quite a funny name for a serious application. Source Packages A package and a subpackage have been created: com.ramon.talavera containing a Main.gwt.xml