cancel
Showing results for 
Search instead for 
Did you mean: 

Background Job processing in NW7.0 Java

Former Member
0 Kudos

Hi EP Experts,

I am using NW7.0 Java SP14. I have a requirement where an application has to be scheduled to execute once in a day. This application will interact with Webservices/backend systems to perform the routine checks and generate the reports.

Could you please suggest how can I achieve this implementaion.

The application can be of any type WD/EJB etc.

Thanks a Lot.

Regards,

Madhan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can use KM Schedular for this.

Regards

Ayyapparaj

Former Member
0 Kudos

Hi Ayyapparaj,

Thanks for your suggestion.

Can you please share some docs on KM scheduler .

How can I integrate java application with KM scheduler.

Regards,

Madhan

Former Member
0 Kudos

Hi,

Please go through the following one

Regards

Ayyapparaj

Former Member
0 Kudos

Hi Ayyapparaj,

Thanks for your prompt reply.

I am not able to see Repository Framework7.1.5 wizard in my NWDS. I am using NWDS7.0.14 . Can you please guide me If I have to do any configuration on NWDS.

Regards,

Madhan

Former Member
0 Kudos

Did you try the following menu option in NWDS:

File > New > Other...

I faced similar problem, because I was looking somewhere else.

regards,

Jawed Ali

Answers (1)

Answers (1)

Former Member
0 Kudos

You can use the java.util.Timer-class of the usual Java-API to schedule some regular tasks to do. Note that the Timer-class schedules the tasks even if there are no more references to the instance of the class. So you have to make sure that not more then one instance of a task gets execute (with some synchronization/timestamp and/or calling the cancel-method of the Timer-instance in the finalize-method of the object holding the reference to the Timer-instance).