EJB 3.0 Tutorial Home

What we discussed in last session is local interface used in same JVM and Remote means Different JVM.
So in this session we will discuss about Local interface. Here we are using same EmployeeDetailBusiness Project. The only Difference is  We are changing Remote to Local Interface

A local interface can be used when clients address the bean with in a single JVM.
Remote Interfaces generally used for remote client view especially in distributed environment.

A walkthough about session beans in EJB 3

Scenario is: Our EmployeeDetailClient  is a standalone client. In Service method we have already stored some employee object with its attribute. Our objective is when we'll enter employee id from client, it will  execute business method , which will return  you one matching Employee object. By getting that object we'll fetch information of employee and display it . It it'll not match then it'll say not matched.

Objective: Client is Standalone java application. Our objective is the user will enter username from your client application,which will be passed to the service or EJB , which will return a String that composed of the  'Hello' suffixed with the entered name. Suppose you are entering Rajesh, the output would be

These are the steps for how to deploy ejb3 hellworld with jboss server.

There are several ways one could deploy application ( all types, ear, war, jar, car or rar) in GlassFish 3.