• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

EJB WSAD5.1x deployment

 
Ranch Hand
Posts: 281
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author & internet detective
Posts: 41502
881
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic