posted 23 years ago
Hi there,
Thta's a difficult question to answer as you can use most GOF patterns when developing a J2EE application. The J2EE framework really only uses three (OK all, correct me if you think that I'm wrong), the Factory Method, The Abstract Factory and the Proxy. The Proxy is used for both the Home and Remote interfaces and the Factory Method and Abstract Factory are mainly used together when getting hold of Resource Ref's via JNDI and with JNDI itself. It could be said that Abstract Factory is used by the container for creating EJB Objects (as opposed to Beans). Dependent on the implementation of the underlying container, it could be said that the either the Bridge or Mediator patterns are used in order to access the Bean itself.
Amanda