/[projects]/miscJava/Test3/src/dk/thoerup/schedulesamples/TimedEjb.java
ViewVC logotype

Diff of /miscJava/Test3/src/dk/thoerup/schedulesamples/TimedEjb.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1297 by torben, Mon Apr 18 12:04:33 2011 UTC revision 1298 by torben, Mon Apr 18 12:28:14 2011 UTC
# Line 12  import javax.ejb.Timer; Line 12  import javax.ejb.Timer;
12  import javax.ejb.TimerService;  import javax.ejb.TimerService;
13    
14  /* GFv3: before using a timed bean make sure the ejb timer service is correctly configured with a datasource and the timer table is created  /* GFv3: before using a timed bean make sure the ejb timer service is correctly configured with a datasource and the timer table is created
15   * cd /inst/glassfishv3/glassfish/domains/domain1/lib/databases/ejbtimer   * cd <glassfishv3>/glassfish/domains/domain1/lib/databases/ejbtimer
16   * /usr/lib/jvm/java-6-sun/db/bin/ij   * /usr/lib/jvm/java-6-sun/db/bin/ij
17   * connect 'jdbc:derby:.';   * connect 'jdbc:derby:.';
18   * paste content from /home/torben/inst/glassfishv3/glassfish/lib/install/databases/ejbtimer_derby.sql   * paste content from <glassfishv3>/glassfish/lib/install/databases/ejbtimer_derby.sql
19   *   * and content from <glassfishv3>/glassfish/lib/install/databases/upgrade/ejbtimer_upgrade_derby.sql (need the applicationID column)
20     * after this make sure that all the files are owned by the user your GFv3 instance is running as
21   * */   * */
22    
23  //@Stateless  @Stateless
24  public class TimedEjb implements TimedObject {  public class TimedEjb implements TimedObject {
25    
26          @Resource          @Resource

Legend:
Removed from v.1297  
changed lines
  Added in v.1298

  ViewVC Help
Powered by ViewVC 1.1.20