Thanks a lot David for the feedback.
I have seen the CXF implementation but, correct me if I'm wrong, but we
can have potential performances issue. As the CXF DSW implementation is
based on WebService/SOAP, there is a need to make data binding. If the
"value" object are big and complex, the JAXB or Aegis data binding can
require resources and computation time.
If we consider Remote Services as Remote Interface/Distributed EJB in
the JEE world, a lot of service calls can happen.
The Tuscany SCA implementation is interesting especially with the
quality of service available. Nevertheless, it requires a dependency to
Tuscany SCA in the client (the java API for example).
What do you think of a "pure" RMI implementation ?
Thanks again,
Regards
JB
David Bosschaert wrote:
Hi Jean-Baptiste,
There are already two implementations of the OSGi Remote Services spec
(chapter 13 in the 4.2 compendium) in Apache.
They are the CXF-DOSGi subproject:
http://cxf.apache.org/distributed-osgi.html
and an SCA-based one Tuscany: http://tuscany.apache.org/
AFAIK there are no plans to move these to Aries just yet, but it would
be good if we could make the consumption of these really easy for
Aries-based applications.
Best regards,
David
2009/10/23 Jean-Baptiste Onofré <[email protected] <mailto:[email protected]>>
Hi all,
As Aries purpose is to provide an entreprise OSGi application
programming model, I guess it should cover the distributed way of
using services/bundles.
For example, in JEE, we can call EJBs remotely (using the remote
interface) using RMI-IIOP.
If I'm re-read the Aries proposal, I can see:
"...deliver run-time componentry that supports applications, running
in an OSGi framework, exploiting enterprise Java technologies common
in web applications and integration scenarios including web
application bundles, remote services integration and JPA".
Is it plan to do quite the same with OSGi bundles: a bundle can call
another bundle service remotely ? It seems that the "remote services
integration" looks like this, isn't it ?
Have you discuss the underlying protocol to use (RMI, RMI-IIOP,
anything else) ?
Sorry if this topic has already been discussed or if my question is
not applicable or interesting :).
I'm very interesting to contribute on this topic (and others of
course :)).
I think that a first implementation using RMI and dynamic proxy can
provide distributed bundles services.
Could you provide me some feedback ?
Thanks
Regards
JB
--
Jean-Baptiste Onofré (Nanthrax)
BuildProcess/AutoDeploy Project Leader
http://buildprocess.sourceforge.net
[email protected]
PGP : 17D4F086