Thanks for reply.
But I think we already have a jar file which contains the advice.class and adviceHome.class. And we add the jar file to the javac command. I use windows 2000. When i compile, it is showed that javax.ejb.* and headfirt.* can not be found. I hope next edition of HFE could add content on how to compile and run this application on windows.