Hi Graham, thanks for your considerations.. 2013/6/3 Graham Charters <[email protected]>
> Hi Cristiano, > > The Subsystems specification does not make any consideration for remote > services. I think there are potentially two aspects to your question: > 1) How a developer specifies that a service inside a Subsystem is to be > made available remotely. > 2) How to implement a Distribution Provider (a Remote Services > implementation) that works in the presence of isolated Subsystems. > > For 1) you could just follow the Remote Services specification, but as you > say, Application Subsystems are scoped and so remoting a service inside an > application might not be in the spirit of that type of Subsystem. In > WebSphere Application Server where we have a concept similar to Application > Subsystems, we chose to add headers to the Application > (Application-ImportService & Application-ExportService) to indicate that > the application imports or exports matching remote services (you can Google > for examples - others search engines are available). > Yep, it was a good approach, I think that would be good to improve Subsystem spec to include another type as RemoteApplication or Distributed Application. In my tests I use a Composite to play as the remote Application. > > For 2) you need your Distribution Provider to detect and process > registrations/lookups occurring inside scoped Subsystems, not just those > occurring in the "region" in which your Distribution Provider is > registered. If you're using the Apache Aries Subsystem implementation, > then registering your hooks against the System Bundle will mean they see > all notifications. > > I could make some progress here, using RS was ok, but there are some scope issues with RSA that I'll need to figure out... > I hope this helps. > you really help me, thanks a lot. > > > Regards, > > Graham. > > > > > > > > From: Cristiano Gavião <[email protected]> > To: OSGi Developer Mail List <[email protected]>, > Date: 03/06/2013 15:53 > Subject: [osgi-dev] Subsystems and Remote Services? > Sent by: [email protected] > ------------------------------ > > > > Hello, > > I'm working in a pilot project to evaluate the Subsystems spec. > > I would like some advices on how could I deal with distribute applications > that uses RS and RSA to communicate. > > Since Application Subsystem is scoped and can't export capabilities how > would be the best approach to expose remote services between a client and > server applications? > > thanks for any tip, > > regards, > > Cristiano_______________________________________________ > OSGi Developer Mail List > [email protected] > https://mail.osgi.org/mailman/listinfo/osgi-dev > > Unless stated otherwise above: > IBM United Kingdom Limited - Registered in England and Wales with number > 741598. > Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU > > _______________________________________________ > OSGi Developer Mail List > [email protected] > https://mail.osgi.org/mailman/listinfo/osgi-dev > -- "Tudo vale a pena se a alma não é pequena..."
_______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
