Hi
Is there any way to inject a DAO into Wicket without Spring ?
ex :

public interface PersonDao { some methods... }

public class PersonDaoImpl implements PersonDao , Serializable {
  @PersistenceContext(unitName = "data", type =
PersistenceContextType.TRANSACTION)
  EntityManager entityManager;

  .. other method implementations ...
}

public class CurrentPage extends WebPage {
  @javax.inject.Inject PersonDao personDao;
}

It's not working , anybody know how to achieve this ?

server :
Resin 4.0.4

Reply via email to