Re: Re: P2P & Grid

Jaka Močnik <[email protected]> Thu, 14 Dec 2006 14:34:53 +0100
Newsgroups gmane.comp.java.jxta.user
Organization Xlab
Message-ID <[email protected]>
hi!

On Tue, 2006-12-12 at 18:00 +0800, 郝克 wrote:
> Thanks for your reply, it seems that implement a new transport is too
> difficult for me.
I believe that this would be the simplest of all things when I look at
the whole lot of what you plan to do... ;)

> My final object is to encapsulate the resources in P2P network into
> services.
well, wrap them in WS interfaces. ;)

> Even more, I want to make these services look the same as other
> services in Grid.
well, what this look actually is depends on what you actually mean by
"Grid", as this term tends to be severely overabused. ;) most Grid
middleware approaches build on an established WS software stack (Globus
Toolkit 4 uses Apache Axis), so in that case you simply need to wrap
them in WS interfaces in order to integrate them.

>  In another word, maybe these services should follow the WSRF
> standard, and could be discovered by MDS and so forth.
Ah, I see you are heavily GT4 biased: then there actually is no other
options but to wrap your resources in WS interfaces, effectively
creating a WS-Resource, expose its properties in a WSRF-friendly manner
and register it with MDS...

>  I have only several months to work on this subject all by myself, is
> the object pratical for me?
the answer to this question is a function of many parameters that I have
no knowledge of: on one hand, much can be done in a few months, and on
the other hand, not everyone can do much in a few months... ;)

>  Maybe I can use an agent to receive invoke request, and response the
> client, while the agent will be the real client to ths P2P service, so
> that it may be unecessary to develop a new transport.
well, such an agent is still just a WS wrapper, although imho slightly
misdesigned, for your "p2p service": however, with this approach you
lose the appealing ability to invoke Grid services via the overlay
network (easily traversing all the firewalls and similar obstacles).

regards,
  jaKa

-- 
email: [email protected]
w3:    http://www.gmajna.net/svojat/jaka/