File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Enterprise Beans Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Architect Certification (SCEA/OCMJEA)
Reply Bookmark "Enterprise Beans " Watch "Enterprise Beans " New topic
Author

Enterprise Beans

Timber Lee
Ranch Hand

Joined: Oct 14, 2002
Posts: 157
When creating the Enterprise Beans , what components do you need? which answer is right?
1.a Home interface, a Romote interface and a class tha implememnt SessionBean or EntityBean interface.
2.an EJBObject interface, A Home Interface and a class that implement the SessionBean or EntityBean interface.


SCJP<br />SCWCD<br />SCEA
Deep Arora
Ranch Hand

Joined: Jan 14, 2003
Posts: 40
My understanding is that first option is correct because
1) We as a bean developer are required to define remote interfaces and
2) EJBObject are network aware bean wrappers that implements Remote interface defined by bean developer so its (EJBObject) existance depends upon remote interface defination
3) EJB Specs mandates container provider to ship the EJBOBjects and EJBHome generator tools not to bean developer.
4) Question is targeted to bean developers not container and EJB Server providers.
Sorry for being verbose.
Deepak Arora
 
 
subject: Enterprise Beans
 
Threads others viewed
The death of the heavyweight business object?
How to display EJBs in Class Diagram
unsetEntityContext(...)
Where does the ejbCreate definition come from
CreateException & FinderException?
developer file tools