For example , Hello is Entity Bean whom you want to invoke.
So from client class i.e. your MDB , you can use below code & MDB is nothing but a
java class with annotation "@MessageDriven".
Context ctx = new InitialContext();
Hello hello = (Hello)ctx.lookUp("JNDIName");
now use "hello" to invoke business methods.