Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

BMP bean

 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Guys,
Is it legal access other EJBs from within setEntityContext(...) from a BMP point of view? eg. like establishing home references? Is it wise to do so?
Ras
 
Ranch Hand
Posts: 8944
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I dont understand why u need to do that?
[ October 17, 2002: Message edited by: Pradeep Bhat ]
 
rastin purr
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry Pradeep, I don't get what u mean.
 
Pradeep bhatt
Ranch Hand
Posts: 8944
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
from ejb spec
methods:
setEntityContext
unsetEntityContext
what can be done:
EntityContext methods: getEJBHome, getEJBLocalHome
JNDI access to java:comp/env
method:
ejbCreate
what can be done:
EntityContext methods: getEJBHome, getEJBLocalHome, getCallerPrincipal,
getRollbackOnly, isCallerInRole, setRollbackOnly
JNDI access to java:comp/env
Resource manager access
Enterprise bean access
 
rastin purr
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Pradeep,
That means it is legal. Thanks
Can anyone tell me where i could download ejb2.0 and ejb1.1 specs? And also j2ee1.2 and j2ee1.3 specs. If i download j2ee specs does it includes the specs for ejb, jsp and servlet that the j2ee is suppose to implement?
Cheers!
Rastin
 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try in here http://java.sun.com/j2ee/
Eduard
 
Montana has cold dark nights. Perfect for the heat from incandescent light. Tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic