• 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
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

doubt in Simple J2ee application

 
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
I have created a simple application and deployed it using Sun's Application server (PE8). My Bean classes are my.diary.Diary (helper class), my.diary.DiaryBean, my.diary.DiaryHome, my.diary.DiaryRemote.
Things deployed successfully & I made my WAR to refer to the Ejbs. Also, I set the Jndi name & Ejb' refernce tab perfect.
When, My jsp file tries to call the bean, the apps do not detect any of the class & also any of the class from javax.ejb.*?
What went wrong? (Also I imported all these classes in my Jsp file)

(I didnt include the code with this post, hope this info is enough)
 
Ranch Hand
Posts: 264
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Basically, your JSP compiler is unable to find the j2ee.jar (or the jar which has the javax.ejb interfaces)
Make sure the jar with the javax.ejb interfaces are present in the classpath.
 
reply
    Bookmark Topic Watch Topic
  • New Topic