The Java Class Library project is now added to the Libraries node or our EJB
At this point, we are ready to invoke our EJB method. The client code needs to obtain
a reference to an instance of a class implementing the remote interface for our bean.
When using NetBeans, this is very easy, we simply need to right-click on the client
code ( com.ensode.sessionbeanintro.Main in the application client project in our
example) and select Insert Code... | Call Enterprise Bean .