Table of Contents
Abstract
The GWT (Google Web Toolkit) will be used as the framework for producing clients using AJAX technique while EJB3 will be on the server side in order to provide some services (like persistence).
EJB3 can ease the developers for the persistence part (with Java Persistence API) or for the business part.
The source of an application using EasyBeans and GWT can be browse on the Fisheye Sudoku EasyBeans site. The application is a Sudoku Game and this howto use some code of this application.
A JDK 5.0 is required to use EasyBeans.
![]() | Tip |
---|---|
GWT only support JDK 1.4 functions. So classes that will be transformed by GWT into JavaScript shouldn't use JDK 5 features (like annotations). Other classes can use the new features (like the EJB3). |
GWT can be used without Eclipse but in this HowTo, Eclipse is used.
This HowTo is done by using the EasyBeans Tomcat package. Note that it works with the JOnAS package too.
EasyBeans can be downloaded from EasyBeans Web Site.
Tomcat 5.5.17 was used. It should work with other versions. Download from Tomcat site.
Toolkit can be downloaded from the Google Web Toolkit download page.