GWT - revolution in web application development
By xzajo on Jun 09, 2006
Few my friends were talking about Google Web Toolkit GWT last week. There are too many MVC frameworks for web application development in java world - JSF, Struts, Spring, Tapestry, JSF, etc. It is not normal that one other tool can so quickly impressed java developers. I had to look at GWT too. GWT answers to question which I've heard many times:
Why not to develop the web application in the same way like desktop application?By using GWT you can develop web application in the same way like swing application. The similar parts are below:
- Entry point for java application is Main class. It is EntryPointClass for GWT application.
- Swing and GWT represents all UI components a java class.
- Registration handlers are done by event listeners. For example listening on clicking of JButton.
- Components is registered to panel. A panel contains layout.
- You can show dialogs and change components on desktop for swing or in web browser for GWT.
- Swing app can be run on different platform. GWT application can be show in different web browsers.
- Use your favorite Java IDE to write and debug an application in the Java language, using as many (or as few) GWT libraries as you find useful.
- Confirm that your application works in each browser that you want to support, which usually takes no additional work.
There is no support for GWT application development in NetBeans. I hope GWT NetBeans project type be implemented early. And I may be someone will answer to another question:
Why not to generate GWT java code with NetBeans Matisse editor?