• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Accessing EJB classes from Sun RI web server

 
Bear Giles
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Really dumb question: I'm trying to run a simple JSP page on the bundled Sun webserver in the J2EE 1.3 package. The scriptlet is:



and I get an object (which suggests that the JNDI connection is working), but on the cast I get an exception that the EjbHome class(file) is unknown. This happens with fully-qualified names and also my own EJB beans.

I'm surprised their JSP compiler doesn't already include their own J2EE library and our deployed ejb jars. Has anyone else seen this behavior and know the fix?

(Yes, I know the long-term solution is to switch to JBoss or something similar. For now I just need something simple while preparing for the exam.)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic