I got the Head First
EJB Book to try to learn EJB. The problem I have is in the Intro with the example application. I have downloaded the Sun Application Server PE 8 for use with this book. I followed the example step by step, and everything seemed fine (the new deploy tool had a few differences, but the J2EE validator showed no errors, and kicked back the client jar). The problem I have is when I write the client app and try to get back the Advice...
Problem 1: When I compile the source using
I get all kinds of errors saying it couldn't find packages. I then added the AdviceAppClient.jar to my classpath environment variable, and compiled the
java source for the client (no errors).
Problem 2: When I run the AdviceClient.class file with the method suggested in the book, I get an error
Problem 3: When I run the AdviceClient.class file without the -cp, I get a different error
Has anyone else encountered these issues? Am I doing something really dumb here? I have found the Head First books good in the past (I have used the Head First
Servlets and
JSP book, as well as the Head First Design
Patterns).