/[projects]/miscJava/Test3/src/dk/thoerup/asyncsamples/AsyncEjb.java
ViewVC logotype

Annotation of /miscJava/Test3/src/dk/thoerup/asyncsamples/AsyncEjb.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1192 - (hide annotations) (download)
Fri Nov 12 20:54:29 2010 UTC (13 years, 6 months ago) by torben
File size: 584 byte(s)
Disable EJB annotations 
1 torben 648 package dk.thoerup.asyncsamples;
2    
3     import javax.ejb.Asynchronous;
4     import javax.ejb.LocalBean;
5     import javax.ejb.Stateless;
6    
7     /**
8 torben 668 * Session Bean implementation class AsyncEjb - please not that @Asynchronous requires the full jeee profile (it's not included in web profile)
9 torben 648 */
10 torben 1192
11     /*@LocalBean
12     @Stateless(name="Example", mappedName="ejb/SimpleBeanJNDI")
13     */
14 torben 648 public class AsyncEjb {
15    
16     /**
17     * Default constructor.
18     */
19     public AsyncEjb() {
20     // TODO Auto-generated constructor stub
21     }
22    
23     @Asynchronous
24     public void doWork() {
25     DummyWork.doWork();
26     }
27    
28     }

  ViewVC Help
Powered by ViewVC 1.1.20