users@jersey.java.net

[Jersey] Restful service hierarchy

From: Samantha Berger <lambdadaku_at_gmail.com>
Date: Thu, 23 Jun 2011 15:08:04 -0700 (PDT)

Hi Folks,

I am trying to build an infrastructure of restful services in an
hierarchical way. In current scenario, there are five services e.g. s1, s2,
s3, s4, and s5 which are deployed on respective (independent) jersey
servers/machines, even they have the same kind resource interface (exposing
some application). They are related in a manner like s5 and s4 are children
of s3, while s3 and s2 are the children of s1 (the root).

My solution (could be very naive): maintaining a hierarchy by telling each
service about its parent, likewise the parent would be aware of its children
(through some configuration files).

Having said that it can be naive because of dealing with the failure of
intermediate service (s2) would ultimately make the s4 and s5 unreachable,
although they are running.
 
Is there any tool that can be used or hints to build such a jersey based
RESTful service infrastructure?

I shall be very thankful for your feedback/suggestions.

Best regards,
Sam

--
View this message in context: http://jersey.576304.n2.nabble.com/Restful-service-hierarchy-tp6510175p6510175.html
Sent from the Jersey mailing list archive at Nabble.com.