Hello Now that I know Merlin does not provide such a functionality, allow me to ask some questions and make some comments:
=================================================================== > (a) component instance identity management 1. Although many systems, like EJB containers and FIPA agent systems, make "component instance identity management", I am not quite sure that it is a requirement. 2. Another question is whether all types of components in one JVM should be accessible by another JVM? Probably not? In Service Oriented Architecture (like Jini and WebServices), only interesting components are turned into "services". Thus, the challenge becomes to expose and locate services. Here, I believe Jini's Registrar or Web Services' UDDI could benefited. =================================================================== > (b) a remoting facility Right. 3. As soon as remote Services come into picture, reliability of the remote container becomes important to consider. In most cases, remote communication goes through network although multiple containers may run in the same physical machine. In any case, the over-simplification of the remote system that e.g. EJB and Corba do, should be seriously re-considered. Jini builds upon the concept of "leasing". The service provider is required to re-register itself within the Registrar after the lease period, otherwise it would be removed from the registrar and thus not available for service consumers. Having found the service provider, the consumer leases for the service for a given period. =================================================================== 4. Remote event/message system should be developed. Jini provides some interesting "distributed events" mechanism that "tries" to deliver an event to a remote listener within the lease period. During this period, if the listener is not available, the event is sent to an Event Mailbox such that the listener can retrieve the event in a later time. All in all, Jini's distributed event mechanism looks interesting and requires further analysis. =================================================================== 5. Another consideration is event system versus message system. =================================================================== 6. a. If I may make a recommendation, Jini's Registrar, Lookup, Discovery and Lease mechanism should adopted for the following purpose: > > 1. How does Component A in JVM1 find ServiceB in JVM2? b. Currently, I am analyzing several event/message systems and hope to come back with some results. > > 2. How does an event/message produced by ServiceB in JVM2 sent to ComponentA in JVM1? Best Regards -- Nader Aeinehchi Aasenhagen 66 E 2020 Skedsmokorset NORWAY Direct and Mobile +47 41 44 29 57 Tel (private): +47 64 83 09 08 Fax +47 64 83 08 07 www.aeinehchi.com ----- Original Message ----- From: "Stephen McConnell" <[EMAIL PROTECTED]> To: "Avalon Developers List" <[EMAIL PROTECTED]> Sent: Sunday, April 25, 2004 7:11 PM Subject: Re: Question: Inter JVM communication? > Nader Aeinehchi wrote: > > Hello > > > > Does Merlin has/specifies any mechanism for communication among different JVMs? > > > > Consider the following two examples: > > > > 1. How does Component A in JVM1 find ServiceB in JVM2? > > 2. How does an event/message produced by ServiceB in JVM2 sent to ComponentA in JVM1? > > The merlin core does not define a mechanisms for inter-JVM > communications. This requires two additions: > > (a) component instance identity management > (b) a remoting facility > > Both are possible - but require either a custom runtime or a plug-in > facility to handle the identity/transport semantics. I've done this > sort of thing in the past using IIOP - basically a servant activator > that is a component that handles a family of identifiable components. > In due course I expect some aspects of this work to be folded into the > Merlin core (in particular the identity management) and that > distribution transport will be abstracted out to a remoting facility. > > Stephen. > > > > > > Best Regards > > > > -- > > Nader Aeinehchi > > Aasenhagen 66 E > > 2020 Skedsmokorset > > NORWAY > > Direct and Mobile +47 41 44 29 57 > > Tel (private): +47 64 83 09 08 > > Fax +47 64 83 08 07 > > www.aeinehchi.com > > > > > > > -- > > |---------------------------------------| > | Magic by Merlin | > | Production by Avalon | > | | > | http://avalon.apache.org | > |---------------------------------------| > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]