Hi Ivan,
Have a look at section 18.2.1 "Calendar-Based Time Expressions" of the
latest EJB 3.1 specification. Essentially, in EJB 3.1 we've improved
the Timer support to include cron/quartz functionality as a
requirement. We had someone working on a Quartz/OpenEJB integration,
but they eventually moved on to other things. If you wanted to step
in, I'd be more than happy to get you going.
-David
On Apr 2, 2009, at 8:57 PM, Ivan wrote:
Hi, Martin:
1. About the workload of the migration, it depends on, if we
only need some basic function, it will be simple. But if we wish to
support EJB invocation or something else, there will be a lot to be
done, And I guess most of the 20 classes needs to be rewirte, I
thougth it may be better if we start it from nothing. Actually, I
paid some time for it in the past, but stop on it due to some reasons,
2. From my view, it is not with high priority, anyway, it is
just an add-one for Geronimo. But the earlier we finish it, the
better it will be.
3. The reason we need the function is that we wish we could add/
config/execute those jobs in the Geronimo. From the https://issues.apache.org/jira/browse/GERONIMO-4140
, you could see some ideas about it.
a. Through gbean configuration xml, we could config some
jobs, also connect them with triggers.
b. In the console, it is better that we have a page used
for invoking the job/configuring the triggers/adding new jobs etc
c. It will be better that we could support EJB invoking in
the job, so that we need to do some injection works while deploying
the service module.
In the next few days, I wish I could add some codes to the
sandbox, so that you could refer to them.
Could anyone give more comments on it ?
Thanks !
Ivan
2009/4/3 Мартин Бенков <[email protected]>
Hello again,
I've read part of the documentation and downloaded the sources. I
looked mainly in the quartz's source.
Currently I have no idea how should I proceed with this task, but
judging from the size of the plugin(less than 20 classes), I think
It's not going to be very difficult to solve it. Is the task with
high priority.
Also the deadline for the summer of code applications is tomorrow
and I'd be very thankful if you give me a hint where to start.
2009/3/31 Ivan <[email protected]>
Hi, Martin Benkov:
Very appreciated with your interest in the idea. Since you have
3 years experience with java, I think you should be OK.
If you have used Geronimo in the past, that would be better
Quartz plugin is introduced in Geronimo 1.*, while in the
Geronimo 2.*, it is not updated. So we wish to update the Quartz
plugin to the 2.*.
Before you begin the work, I suggest that
1. Subscribe the geronimo dev maillist, so that the discussion
could be seen by all the members, and someone may give some good
suggestions.
2. Read some articles in the Geronimo wiki (http://geronimo.apache.org/documentation.html
), following the instructions, you could know how to build the
developement envorionment, how the plugin works ....
3. Check out the source codes from geroniom trunk (https://svn.apache.org/repos/asf/geronimo/server/trunk
), I wish to create the plugin based on the trunk
4. You could also check out the old quartz plugin codes from
https://svn.apache.org/repos/asf/geronimo/sandbox/quartz-plugin
But it could not work in the new Geronimo 2.*, only can
refer to how it works in the past.
5. If you finally decided to be involved in it, maybe you need
to register in the google's website.
Thanks!
Ivan
2009/3/31 Мартин Бенков <[email protected]>
Hello,
I'm willing to attend SoC this year. I have 3 years experience with
java and year and a half with J2EE(I've worked at SAP Labs Bulgaria
in the team responsible for the JMS specification)
My main concern is am I appropriate for this task. If yes where can
I find more information about this Quartz plugin.
I'm looking forward to hearing from you.
Regards,
Martin Benkov
--
Ivan
--
Regards,
Martin Benkov
--
Ivan