Implementation of {@link IProxyTargetLocator} to locate Java EE 5EntityManagerFactory
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
@author Filippo Diotalevi