Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Problem with Bean execution Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Problem with Bean execution" Watch "Problem with Bean execution" New topic

Problem with Bean execution

Vinay Kumar chowdary

Joined: Nov 24, 2006
Posts: 20
Hi all,

I am trying to execute the Advice Guy bean example in Head First EJB book.
But I am having problem while executing the Advice bean as it is not recognising the classes in the Package javax.ejb.*
Please let me know if I need to do any other settings in my J2ee 1.3 RI
Rodrigo Dinis
Ranch Hand

Joined: May 28, 2003
Posts: 40
Hummm perhaps you are forgeting the j2ee.jar importation on your project? Just it justify the error on import line of your code.


Rodrigo Dinis
Brasilia - BRASIL
Vinay Kumar chowdary

Joined: Nov 24, 2006
Posts: 20
Hi Rodrigo Dinis,

Thanks for your solution.I think that may be the problem.can you let me know as to how can I do it???

Thanks and Regards,

I agree. Here's the link:
subject: Problem with Bean execution
Similar Threads
Real Beginner II
Help required for executing EJB
MDB Jms message headers null
NamingException in SessionBean Client
Problem with setting the Pointcut and advice