Each EJB3 annotation example comes with JUnit unit tests that can be run in Eclipse, IntelliJ, NetBeans, Maven, Ant or any IDE or build system without special plugins using OpenEJB as an embedded EJB container. The easiest way to run a annotation example in your IDE is to use maven (mvn eclipse:eclipse or mvn idea:idea) to generate project descriptors.