We want to evaluate OpenEJB for our application. We have already performed some tests and now we need to start a pilot project.
While I've seen how to use OpenEJB for testing purposes (mainly for JUnit tests), I have not seen how to set up an EJB 3.X project inside Netbeans for deployment in OpenEJB.
The way we did for testing purposes was to create a new JEE project, select JBOSS as the Application Server and then manually copy the JARs to OpenEJB. However, we want to be able to debug the code in Netbeans. If I try to do that, NB launches JBOSS or other application servers. I couldn't figure out how to install OpenEJB as a server in Netbeans, I didn't find anything enlightening in Java forums and there were no answers from stackoverflow.
We know we can use an embedded version of OpenEJB, but that is not what we are looking for. So:
- What is the suggested project structure for an EJB application for Netbeans + OpenEJB?
- Is it possible to use Netbeans' JEE knowledge (wizards, build system, client applications) with OpenEJB?
- If we need to use OpenEJB just as libraries in the classpath, what is the correct approach to generate EJBs and client applications that can work with other EJB containers later (stay JEE compatible)?
Thanks