We want to evaluate OpenEJB for our application. We have already completed some tests, and now we need to run an experimental project.
While I saw how to use OpenEJB for testing (mainly for JUnit tests), I did not see how to configure the EJB 3.X project inside Netbeans for deployment in OpenEJB.
For testing purposes, we created a new Java EE project, select JBOSS as the application server, and then manually copy the JAR to OpenEJB. However, we want to be able to debug code in Netbeans. If I try to do this, NB starts JBOSS or other application servers. I could not figure out how to install OpenEJB as a server in Netbeans, I did not find anything useful in the Java forums and there were no answers from stackoverflow.
We know that we can use the built-in version of OpenEJB, but this is not what we are looking for. So:
- What is the proposed project structure for an EJB application for Netbeans + OpenEJB?
- Can I use Java EE Netbeans knowledge (wizards, build systems, client applications) with OpenEJB?
- If we need to use OpenEJB just like libraries on the way to classes, what is the right approach to create EJBs and client applications that can later work with other EJB containers (maintain compatibility with Java EE)?
source
share