• 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
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

installation guide

 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i got compile error "package javax.ejb doesnot exist". I 've aldy installed the j2ee. I just passed the SCJP and just kicked off for SCBCD. I am using HF EJB book. I followed the 5 steps to create EJB in chapter-1. But I got error on compilation.

Pls help me where am wrong or where I missed something....

Thks.
 
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please include the j2ee.jar in your path before compiling the files. You'll get the jar in the server your are using to deploy the bean in.

Regards,
Saket
 
sabeer
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you please explain me in details?
 
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Try this thread.

https://coderanch.com/t/316223/EJB-JEE/java/compile-EJB
 
sabeer
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Pls explain me how to configure EJB? am getting compile error "package javax.ejb does not exist". Aldy added /lib/j2ee.jar file in classpath. Error still there? Do I need to start the server before compile the java file?
 
If you settle for what they are giving you, you deserve what you get. Fight for this tiny ad!
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic