| Author |
how to deal with a service being out
|
Fernando Franzini
Ranch Hand
Joined: Jan 09, 2009
Posts: 445
|
|
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
internet detective
Marshal
Joined: May 26, 2003
Posts: 26173
|
|
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: 445
|
|
Do you know any link here about it?
Regards
|
 |
Fernando Franzini
Ranch Hand
Joined: Jan 09, 2009
Posts: 445
|
|
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
internet detective
Marshal
Joined: May 26, 2003
Posts: 26173
|
|
|
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: 445
|
|
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
internet detective
Marshal
Joined: May 26, 2003
Posts: 26173
|
|
|
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: 445
|
|
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: 445
|
|
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
internet detective
Marshal
Joined: May 26, 2003
Posts: 26173
|
|
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: 445
|
|
"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
|
|
|