Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to register a bean in jndi.,....???

 
abhishek kunal
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hii,i am new to EJB, i want to register my first session bean with a name of helloworld. off course i will register it with my home object,suppose, my home interface's name is HelloHome and bean class's name is HelloBean and remote interface's name is Hello, then how to register the home object in jndi,so that my client can get the stub to the home object and then call the remote methods...

and also tell me , what classes will be required at the client side,i think client must have classes for home stub and EJBObject stub... please , kindly explain it to me..that will be a great help foe a newbie like me..!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic