0 Replies Latest reply on Sep 17, 2008 9:50 AM by Alejandro Dominguez

    JPA in JBoss without using session beans

    Alejandro Dominguez Newbie

      Hi to all
      I need to develop an application that will run on JBoss and will make heavy use of threads and synchronized code, thus I can't use EJB session beans as the container is supposed to be the only one handling the threads.

      I would like however to make use of JPA and would especially like to leverage the connection pooling offered by JBoss datasources.

      Is there any way to expose the JPA (handled by JBoss, I'd reather avoid TopLink/EclipseLink) to, say, my servlets?

      Regards and thank you for your time