Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Enterprise Beans  RSS feed

 
Timber Lee
Ranch Hand
Posts: 157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Deep Arora
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!