• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB WSAD5.1x deployment

 
Sam Gehouse
Ranch Hand
Posts: 281
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to deploy a very simple stateless, contained managed Session EJB to display hello world.
I created com.myPack and created remote, home and bean under that package.
I created a Test WSAD Server and added that project in that Test Server.
I start the server and the console says that that it cannot fing the bean.
The project compiles. I created web and ejb project.
What do I have to do to deploy the project in WSAD so that it can find the bean.
Also, if my package is com.myPack, then from what I understand, lookup for Home interface should be ejb/com/myPack/MyHome.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35716
412
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sam,
Did you try using the universal test client to navigate and see what JNDI names are defined? You can access this be right clicking on the server.

The JNDI name you have is correct for the remote interface. For the local, its:
local:ejb/ejb/com/myPack/MyHome.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!