Why do we need HomeInterface

Discussions

EJB design: Why do we need HomeInterface

  1. Why do we need HomeInterface (2 messages)

    Why do we need HomeInterface? What cannot the HomeInterface and RemoteInterface combined into one interface.

    Threaded Messages (2)

  2. Why do we need HomeInterface[ Go to top ]

    I think the ejb home object is a sigleton object, therefore only one object this type is required (for creating bean instances). Why create home objects for every client? One home object can be used per bean.
  3. Why do we need HomeInterface[ Go to top ]

    Hi Milind
       The developers of EJB specifications wanted to separate the job of creating/finding/removing Ejbs ( ie lifecycle) from the business method or the actual functionality that EJB is designed for.
       It makes for good object oriented design in which business functionality is considered separate from the EJB itself.
       Thanks
    Pankaj