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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 648 - (show annotations) (download)
Tue Apr 13 05:58:27 2010 UTC (14 years, 1 month ago) by torben
File size: 430 byte(s)
code sync on sample EJB
1 package dk.thoerup.asyncsamples;
2
3 import javax.ejb.Asynchronous;
4 import javax.ejb.LocalBean;
5 import javax.ejb.Stateless;
6
7 /**
8 * Session Bean implementation class AsyncEjb
9 */
10 @LocalBean
11 @Stateless
12 public class AsyncEjb {
13
14 /**
15 * Default constructor.
16 */
17 public AsyncEjb() {
18 // TODO Auto-generated constructor stub
19 }
20
21 @Asynchronous
22 public void doWork() {
23 DummyWork.doWork();
24 }
25
26 }

  ViewVC Help
Powered by ViewVC 1.1.20