A developer is designing a web application which extensively uses EJBs and JMS. The developer finds thatthere 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 asolution for this problem?()
A.Command
B.Transfer Object
C.Service Locator
D.Session Facade
E.Business Delegate