• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Questions from HFEJB

 
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1. CMR fields can be only local component interfaces. Does this mean that entity beans in CMR should have both local and remote client views defined?

2. Can stateless session beans get reference to the EJBObject in ejbRemove() and ejbCreate() ? It is listed as a permitted operation for these two methods.

Regards
Sanjeev
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1 . Because get method corresponding to CMR field of bean will return a reference to local interface or a collection of the related bean. if you are using CMR, then you must have local interface. you can defined remote depedn on your need.

2. stateless can get reference to EJBObject in ejbRemove() and ejbCreate().

You can easily find the answer in Sun specification , 7.8.2, page 90.

Regards.
 
Sanjeev BhimaRao
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the quick replies.
reply
    Bookmark Topic Watch Topic
  • New Topic