Anayonkar Shivalkar wrote:Hi prashant,
Welcome to CodeRanch!
Regarding your question, if you are using local client view of an EJB (i.e. local interface) then it is mandatory that your client is collocated with the same JVM (simply running client and server on same node is not enough).
Thus, if your client and EJB are not in the same JVM, you cannot use local client view of the EJB.
I hope this answers your question.
Correct me if I'm wrong.
prashant gandhi wrote:How do i make sure that I am not running client and server on same node or not?
How do I make sure that the my client is collocated with the same JVM?
How to check if my client and EJB are in same JVM or not?