EasyBeans HowTo

Florent BENOIT

EasyBeans
OW2 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 1786 2007-09-29 14:50:15Z 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. Implementing the Service
1.3.3.1. Implementation Service Class
1.3.3.2. Accessing an EJB3 from this Remote Service
1.3.3.3. Calling the Facade Bean from the Remote Service
1.3.4. Calling the Remote Service from the Client Side
1.3.4.1. The gwt.xml File
1.3.4.2. Callingathe Service from the 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 in the War File
1.4.3. Packaging of the .war File
1.5. Deploying Applications for GWT/EasyBeans
1.6. Launching the Google Web Toolkit Tools
1.7. Comments

List of Figures

1.1. Sudoku Game demo using GWT and EasyBeans