A developer is designing a web application which extensively uses EJBs and JMS. The developer
finds that there is a lot of duplicated code to build the JNDI contexts to access the beans and
queues. Further, because of the complexity, there are numerous errors in the code. Which J2EE
design pattern provides a solution for this problem?
A.
Command
B.
Transfer Object
C.
Service Locator
D.
Session Facade
E.
Business Delegate
F.
Data Access Object
Explanation: