EasyBeans HowTo

Florent BENOIT

EasyBeans
ObjectWeb consortium

This work is licensed under the Creative Commons Attribution-ShareAlike License. To view a copy of this license,visit http://creativecommons.org/licenses/by-sa/2.0/deed.en or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.

$Id: howtos.xml 898 2006-07-20 11:46:55Z benoitf $

Abstract

The HowTos provided in this guide allow the developer to discover and do some tasks with EasyBeans and some other components.


Table of Contents

1. GWT and EJB3 with EasyBeans
1.1. Requirements
1.1.1. JDK
1.1.2. Eclipse
1.1.3. EasyBeans
1.1.4. Tomcat
1.1.5. Google Web Toolkit
1.2. Starting with GWT
1.2.1. Creating an Eclipse Project
1.2.2. Adding a GWT Application to the Eclipse project
1.3. Calling EJB3 beans with an RPC service
1.3.1. Defining the interface of the service
1.3.1.1. Service interface
1.3.1.2. Asynchronous interface
1.3.2. Classes used by the interfaces
1.3.2.1. The GridData class
1.3.2.2. The ServiceException exception
1.3.3. Implementation of the service
1.3.3.1. Implementation service class
1.3.3.2. Accessing to an EJB3 from this Remote Service.
1.3.3.3. Calling facade bean from the remote service
1.3.4. Calling Remote service from client side.
1.3.4.1. The gwt.xml file
1.3.4.2. Calling service from client side.
1.4. Packaging of the application for running on a web container.
1.4.1. Creating the web.xml file
1.4.2. Generating the AJAX client that will be embedded into the war file
1.4.3. Packaging of the .war file
1.5. Deploying applications for GWT/EasyBeans
1.6. Launch of the Google Web Toolkit tools
1.7. Comments

List of Figures

1.1. Sudoku Game demo using GWT and EasyBeans