|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.easybeans.examples.maven.jpa2.bean.FacadeStatelessSessionBean
public class FacadeStatelessSessionBean
Stateless session bean that is using JPA 2.0.
Constructor Summary | |
---|---|
FacadeStatelessSessionBean()
|
Method Summary | |
---|---|
java.util.List<Employee> |
findEmployees()
Find all employees. |
Employee |
findEmployeeWithItsGivenName(java.lang.String name)
Allows to find an employee by its name. |
void |
init()
Initialize the Database with new entities. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FacadeStatelessSessionBean()
Method Detail |
---|
public void init()
init
in interface BusinessInterface
public java.util.List<Employee> findEmployees()
findEmployees
in interface BusinessInterface
public Employee findEmployeeWithItsGivenName(java.lang.String name)
findEmployeeWithItsGivenName
in interface BusinessInterface
name
- the given name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |