...
So, if you wish to access ejbs locally and not in client/server mode, you can do so by embedding OpenEJB as a library and accessing ejbs through OpenEJB's built-in IntraVM (Local) Server. Why would someone want to do this?*
- Your application is a server or other middleware
- You want to write an app that can be both stand alonedistributed
- To test your EJBs with JUnit and don't want to start/stop servers and other nonsense
- Imagine the power from being able to use your IDE debugger to step from your Client all the way into your EJB and back with no remote debugging voodoo.
...