|
Class Summary |
| EntityManagerFactoryLocator |
Implementation of IProxyTargetLocator to locate Java EE 5 EntityManagerFactory
To use this technique in a Wicket Page, just insert a line like
private @PersistenceUnit(unitName="defaultPersistenceContext") EntityManagerFactory emf;
The 'unitName' attribute is mandatory, and refers to the name of the persistence unit you have
declared in your persistence.xml file |
| JavaEEBeanLocator |
Implementation of IProxyTargetLocator to locate ejbs using Java EE 5 resource injection. |
| JndiObjectLocator |
Implementation of IProxyTargetLocator to locate object using JNDI
To use this technique in a Wicket Page, just insert a line like
private @Resource(name="referenceName") YouClass obj;
The 'referenceName' attribute is mandatory, and refers to the name of the object as declared in
the web.xml file |