GWT 1.5 Milestone 1 is available now. Check here for more. Now it supports Java 1.5 syntax fully. Wow right? Congrats and Thank you GWT team for the great job.
GWT4NB is the GWT plugin for Netbeans. Check the article here to get started.It looks neat and really help full for the starters. If you are Eclipse user, like me, you can check, Cypal Studio and GWT Designer. GWT Designer is commercial and it got graphical editor, have features like previews, drag and drop (Both features are very useful for prototyping, can not rely on it for production) . Try the trail version before going to buy the license. For me, Cypal Studio, is more than enough to get the job done.
I came across this article on top ten obscure but useful Java Open Source projects. Along with the project listing, they article also describes why it is useful. Read the article here.
It is good to find Queplix there. It is open source, customer care application, which leverages GWT for UI. They did a fantastic job although I feel that the UI transition is not really smooth.Check their demo here. The user name and password for the demo is ‘demo’.
These observations are based upon my past 3 month’s experience with GWT. If you are new to GWT check the site here. The very idea of building your AJAX applications in Java is very enticing and GWT team has done good job of providing a way to do it using GWT. Let’s dive into things that matters to you if you want to go for GWT.
There is a huge advantage when it comes to debugging. Because it is (like) Java, you can use any of your existing Java tools for development.
Widgets: This is the area where I was really disappointed. The widgets that come with GWT are really minimum. This caused my initial resistance going towards GWT. All you get is raw widgets and they look a bit ugly (You can change the look of the widgets by injecting CSS styles). No built in data binding and validation for widgets, viewers, drag and drop etc. You need to build everything on your own. There are third party libraries available for features like drag and drop, effects, viewers etc. By default, GWT should have provided lot of UI components that any RIA framework or tool set provides. For example, like Flex,Echo 2, Ext etc. There are efforts to make situation better. Check the resource section for GWT libraries and examples.
Server communication: GWT provides two options for you client side code to communicate with server. One is using pure JSON over HTTP and, second one is using RPC. The RPC mechanism abstracts you from the nonsense of dealing with marshaling and unmarshaling of JSON. You can deal with pure Java objects. There is a caveat here, which I will discuss in next paragraph. Here again, if you want to communicate with server using SOAP XML messages or some other form of communication, you are left on your own. This is not a show stopper or something of that sort. But when you look at Flex or Open Laszlo, you desire for that in GWT.
With GWT-RPC, your code should be Java 1.4 compatible(I heard GWT team is working towards brining Java 5 compatibility to GWT). If your domain objects uses Java 5 features like generics, annotations, you can not reuse the same domain objects as value objects. Then, you need to introduce some conversion mechanism here.
Even if your code domain objects are Java 1.4 compatible, you need GWT specific XML file in your domain objects source package.
And GWT-RPC have some problems with Hibernate. If you return PersistentSet when RPC expects Set, the RPC mechanism throw error. Also there are obvious problems with Hibernate proxies, java.sql.Timestamp. There is a library called hibernate4gwt which aims to alleviate these problems.
Alternatives : If you like the approach of building your AJAX apps in Java and let the tool take care of converting it to Java Script and HTML, you may like to look at projects similar to GWT. They are
· Echo 2– Similar to GWT. The number of widgets available is more when compared to GWT. Check the demo in their site.
· WebCream– Converts Swing applications to AJAX applications. They claim, if your Swing applications do not use many custom components, they can convert it into AJAX application without any changes.
GWT is a good way of building AJAX applications for Java developers. It is not complete framework, keep T(tool) in GWT in mind. It provides you bricks. You need to build your wire frames and house, sometimes third party libraries may help you. Nevertheless, I feel it is far better way than building your UI using Java Script(Java Script really scares me). If GWT team comes up with more rich UI components and a framework on top of them(Imagine something like JFace ported to GWT), GWT is the way to go. It is over a year since GWT is around. With Google behind we may safely expect more good things happen for GWT.
1. GWT– Official home for GWT.
2. GWT Incubator – Ideas and Widgets that may go to GWT library.
3. MyGWT – Widget library. The best I have found and they borrow some of the concepts from JFace for viewers. The default look itself is great.
4. www.onGWT.com– Tracks news on GWT and very informative. You can also find about various libraries here.
5. Roberts Hanson’s blog – Blog from the author of the book, ‘GWT in Action’. He is creator of gwt-wl(widget library) and gwt-sl(server library, which provides controllers for integrating with Spring and other server side utilities).
6. Gwanted – Helps you to use GWT in any web page, Error management etc
7. hibernate4gwt – Helps you to solve problems with GWT-RPC and Hibernate.
8. gwt-ext library – The creator of the library is Sanjiv Jivan. He ported Java Script EXT library to GWT.
9. gwt-tk library– Provides widgets like drop down panels, glass panels, various types of dialogs.
10. GWM library– GWT windows manager provides window effects for GWT applications.
11.Other– GWT related projects from Google code.
12.rocket-gwt– Widget library.