Table of Contents
Abstract
The GWT (Google Web Toolkit) will be used as the framework for producing clients using the AJAX technique, while EJB3 will be on the server side providing some services (such as persistence).
EJB3 can help developers with the persistence aspects (with the Java Persistence API) or with the business aspects.
The source of an application, a Sudoku Game, that uses EasyBeans and GWT can be viewed on the Fisheye Sudoku EasyBeans site using a browser. This howto uses some of the code from this application.
A tgz package is also provided on the EasyBeans forge.
A JDK 5.0 is required to use EasyBeans.
![]() |
Tip |
---|---|
GWT only supports JDK 1.4 functions. Therefore, classes that will be transformed by GWT into JavaScript should not use JDK 5 features (such as annotations). Other classes can use the new features (like the EJB3). |
GWT can be used without Eclipse. However, Eclipse is used in this HowTo.
This HowTo uses the EasyBeans Tomcat package. Note that it also works with the JOnAS package or any other EasyBeans package.
EasyBeans can be downloaded from the EasyBeans Web Site.
Tomcat 5.5.20 was used. It should work with other versions as well. Download this software from Tomcat site.
The Toolkit can be downloaded from the Google Web Toolkit download page. The version used in this HowTo is the 1.3 RC1 version running on Linux. This is the first open source version of GWT released with an Apache 2.0 license.