aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes how to deal with a service being out Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "how to deal with a service being out" Watch "how to deal with a service being out" New topic
Author

how to deal with a service being out

Fernando Franzini
Ranch Hand

Joined: Jan 09, 2009
Posts: 486
    
    2

Hello Ranchers
My assignment also has a requirement to periodically execute a query in a web service and I believe in JEE I have only 2 options: the old EJB Timer known or use the new Auto Scheduling JEE 6. My doubts about this risk of a failure of communication in this process. What to do to work around a flaw in this process when the service is out? Sugestions?
Best Regards


Fernando Franzini - Java Blog
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30762
    
156

There are other choices. You could use a cron job. Or a third party product. Or something provided from the app server. Or the Java (no JEE) Timer. I'm not saying these are all good choices, but they are options.

What are some choices for what to do when the system is out. Research this a little and brainstorm a little. There are multiple options.


[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
Fernando Franzini
Ranch Hand

Joined: Jan 09, 2009
Posts: 486
    
    2

Do you know any link here about it?
Regards
Fernando Franzini
Ranch Hand

Joined: Jan 09, 2009
Posts: 486
    
    2

I forgot to mention that my assignment explicitly mentioned that the architecture must be based on the JEE Platform ... So I believe cron jobs is out, and JSE Timer is not allowed inside the EJB container ....
So I told these only 2 options ... old and new EJB Timer Auto Scheduling JEE 6.
Regards.
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30762
    
156

Well, that makes it easy. What do you think are the pros and cons to each. The idea of this assignment is to do research/analysis so I don't want to come out and say what I would choose.
Fernando Franzini
Ranch Hand

Joined: Jan 09, 2009
Posts: 486
    
    2

Thanks for help Jeanne.
In document design decisions I have to justify my choices too or just describe it? How did you do?
Regards
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30762
    
156

Mainly describe. I provided some explanation. And if doing anything on-standard or controversial, I explained a lot!
Fernando Franzini
Ranch Hand

Joined: Jan 09, 2009
Posts: 486
    
    2

Ok .. I'll also take this opportunity to justify and already studying for part 3.
Best Regards
Fernando Franzini
Ranch Hand

Joined: Jan 09, 2009
Posts: 486
    
    2

What are some choices for what to do when the system is out. Research this a little and brainstorm a little. There are multiple options.

Hii Jeanne
I still could not find anything about it ... you could help me with something?
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30762
    
156

Fernando Franzini wrote:
What are some choices for what to do when the system is out. Research this a little and brainstorm a little. There are multiple options.

Hii Jeanne
I still could not find anything about it ... you could help me with something?

Try searching for "retry logic" to read about one option.
Fernando Franzini
Ranch Hand

Joined: Jan 09, 2009
Posts: 486
    
    2

"Retry logic" is one of the options ... in fact I would like to fing several different options.
Regards.
 
 
subject: how to deal with a service being out