[jboss-user] [EJB 3.0] - Re: EJB3 MDB One Implementation Multiple Deployments

marilenc do-not-reply at jboss.com
Tue Jul 10 06:56:43 EDT 2007


Thank you very much for this post. I was searching in vain to find a way to move quartz adnotations to ejb-jar.xml and your post was helpfull.

<?xml version="1.0" encoding="UTF-8"?>
  | <ejb-jar xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
  |          http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd" version="2.1">
  |     <enterprise-beans>
  |         <message-driven>
  |             <ejb-name>Test</ejb-name>
  |             <ejb-class>Test</ejb-class>
  |             <messaging-type>org.quartz.Job</messaging-type>
  |             <transaction-type>Container</transaction-type>
  |             <activation-config>
  |                 <activation-config-property>
  |                     <activation-config-property-name>cronTrigger</activation-config-property-name>
  |                     <activation-config-property-value>
  |                         <![CDATA[0/2 * * * * ?]]>
  |                     </activation-config-property-value>
  |                 </activation-config-property>
  |             </activation-config>
  |         </message-driven>
  |     </enterprise-beans>
  | </ejb-jar>

Here is a full link to my problem and solution http://www.len.ro/work/articles/jboss/creating-a-quartz-job for anyone needing.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062363#4062363

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4062363



More information about the jboss-user mailing list