I've implemented EJB 2.0 session beans as POJOs behind an EJB facade.
I wish to get a reference to Bean B from Bean A. Should I:
a. Use ejb-ref and perform a JNDI lookup
b. Instantiate an instance of B directly(since it's a POJO)
Both would give me the same result. What are the pros and cons of each method? Why should I choose one over the other?