An application has three Stateless Session Beans - SB1, SB2 and SB3. The stubs that implement the respective Home Interfaces are SH1, SH2 and SH3. A client application performs a JNDI lookup to obtain a reference to one of these Home Objects. This is then narrowed and used to create the remote reference to the corresponding remote object. What design pattern best explains the creation of the Remote Object, in this case?
Can someone please clarify on why the answer is C. Your input is greatly appreciated.
posted 12 years ago
In home interface, you will have create() methods, these create() methods return remote interface of ejb objects, and it is the factory pattern they are using (more strictly speaking, it should be the abstract factory pattern)
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads