Creating tests for Enterprise JavaBeans
You can use the component test wizards to create tests of your session beans and entity beans and create tests to test the implementation of the session facade design pattern. You can also use the wizards to create stubs of your session beans.
You can test your Enterprise JavaBeans (EJBs) remotely through their remote interfaces (remote and home) or locally through their local interfaces (local and local home). When you test locally, the test is deployed on the same application server as the EJB-under-test.