Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can I make one single EJB to both Remote and localEJB with same JNDI name

 
ravi inguva
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anyone tell me
can v make a an same EJB as both remote and local with same jndi name
if yes can u please let me know
Thanks in Advance
 
Greg Charles
Sheriff
Posts: 2985
12
Firefox Browser IntelliJ IDE Java Mac Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No. You can make both local and remote interfaces for the same EJB, but they have to have different JNDI names.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic