[jboss-dev-forums] [Design of JCA on JBoss] - Re: Quartz, timer unification, message inflow RAR

bill.burke@jboss.com do-not-reply at jboss.com
Wed Jul 12 12:24:17 EDT 2006


"weston.price at jboss.com" wrote : Unless you feel it is adequately tested and documented and can be included in the 4.0.5 release. I have yet to hear anything on the subject from you. 
  | 
  | I for one am not thrilled with a ResourceAdapter that, regardless of whether there are any deployed endpoints or not, decides to fire up a default scheduler. A scheduler that is
  | 
  | a) Undocumented
  | 
  | b) Could conflict with any existing schedulers that people may be running in previous release
  | 
  | c) Consumes resources without even an attempt to be integrated with our existing thread pools etc, etc
  | 
  | I mean really dude, you are treating this RAR as the 'holy grail' of Timer integration when all it really does, stupidly might I add,  is register an MDB listener for a single Quartz job. So I guess if I am intersted in listening  to say...3 jobs...do I need 3 endpoints? How about 10?  What if I never deploy an endpoint at all...do I still want the Scheduler up and running....doing nothing but showing up in a ThreadDump. 
  | 
  | How about support, have they been told about the adapter and what it means when it starts showing up in profiling info or clients, god forbid, actually try and use it?
  | 
  | At the very least, I think for 4.0.5, the RAR should go in the docs directory giving the client a choice if they want to deploy the adapter or not. 
  | 
  | 

You are not listening to me.  I'm not looking for this to be the "holy grail" for Timers.  I just want it available as an optional Quartz deployment mechanism and integration with MDB.  That RAR *IS NOT*, I repeat *IS NOT* the basis for any Timer integration.

All this RAR is a simpler User API for using Quartz so that a quartz job can post to an MDB.  Nothing more.


  | <ejb-jar>
  |    <message-driven>
  |      <ejb-class>my.specific.job.class</ejb-class>
  |      <activation-spec>
  |         <name>Cron</name>
  |         <value>1 2 * * * 4/5</value>
  |      </activation-spec>
  |    </message-driven>
  | </ejb-jar>
  | 

The idea of this RAR is that it is portable to *ANY Java EE Vendor*.  Yes, it is bare bones, but it works.  And, it is documented somewhat as a EJB3 tutorial.

To be honest, since all you guys have been assholes about this crap, then do whatever the hell you want.  I seriously don't care anymore.


Bill

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

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



More information about the jboss-dev-forums mailing list