This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
For Compiling ,you just need a plain old Java Comiler along with EJB API in classpath.
To run you need a EJB Container,write corresponding DD's and deploy your classes and you can call those methods from your Standalone Application or Servlets. But it is not a simple task. [ December 21, 2007: Message edited by: ramya sri ]