• Post Reply Bookmark Topic Watch Topic
  • New Topic

BMP bean

 
rastin purr
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • 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
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Sorry Pradeep, I don't get what u mean.
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
Eduard Manas
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try in here http://java.sun.com/j2ee/
Eduard
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!