package dk.thoerup.asyncsamples; import javax.ejb.Asynchronous; import javax.ejb.LocalBean; import javax.ejb.Stateless; /** * Session Bean implementation class AsyncEjb - please not that @Asynchronous requires the full jeee profile (it's not included in web profile) */ /*@LocalBean @Stateless(name="Example", mappedName="ejb/SimpleBeanJNDI") */ public class AsyncEjb { /** * Default constructor. */ public AsyncEjb() { // TODO Auto-generated constructor stub } @Asynchronous public void doWork() { DummyWork.doWork(); } }