aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Best solution for Periodical interaction Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Best solution for Periodical interaction" Watch "Best solution for Periodical interaction" New topic
Author

Best solution for Periodical interaction

Rajasekar Krishnan
Greenhorn

Joined: Feb 27, 2008
Posts: 16

Hi All,

I have a scenario that for every frequent interval(lets say every 10 mins) system should send a request to another system and get response.

Please give a suggestion to what could be the best solution for this periodical interaction.

Thanks,
Rajasekar
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

A batch process ? This question needs more details to narrow down on an answer


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
Rajasekar Krishnan
Greenhorn

Joined: Feb 27, 2008
Posts: 16

Hi Deepak,

I have to design a system that should send a request to external system and get a response for every x mins?

The communication between these system is through WS.

Thanks,
Rajasekar.
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

A batch process is one way to do it. But whether it would suit your needs is another question. You will have to apply the right approach based on the problem statement presented to you
Nilessh Ganu
Ranch Hand

Joined: Dec 22, 2009
Posts: 100
How about using EJB Timer service to periodically access web services ?


Nilesh
SCJP SCWCD OCMJEA
Rajasekar Krishnan
Greenhorn

Joined: Feb 27, 2008
Posts: 16

That ia also a good solution. What do you guys think about Quartz scheduler?
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30516
    
150

Rajasekar Krishnan wrote:That ia also a good solution. What do you guys think about Quartz scheduler?

I think you should have a compelling reason to go with a "competing" open source product over something built into JEE since this is the JEE exam.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Unni Pillai
Ranch Hand

Joined: Aug 22, 2010
Posts: 35

I used EJB Timer for that purpose in my assignment. In real life I am using Quartz , but as Jeanne pointed out its always better to stick to JEE stuff in the exam


SCJP,SCWCD,SCEA
Srinivas Pittala
Ranch Hand

Joined: May 22, 2011
Posts: 40
In my assignment i'am using auto scheduler(JEE6).

Thanks,
Sree
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30516
    
150

Fernando Franzini,
Your post was moved to a new topic.
split new topic into new thread
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Best solution for Periodical interaction