I am in chapter-1 of HJ EJB. I have no problem when compiling the bean and interfaces. But I have problem when compiling client class. I followed the book but i got compilation error "packaged headfirst doesnot exist" and "package javax.ejb.* does not exist".
Classpaths set correctly according to installation guidence.
"packaged headfirst doesnot exist" Is that the actual error, or are you paraphrasing it, because it doesn't look coorect. packaged? and is there supposed to be a space between does and not, and is the package supposed to be just "headfirst" That looks like you have a typo.
Unfortunately, it looks like you don't have the ejb jar in your classpath, or just another typo.
So basically I'd say it is either a typo or a classpath issue.