You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Michael Mattox <mi...@gmail.com> on 2007/08/01 11:26:24 UTC
Call service with RMI (service uses Spring Remoting)
I read that it's possible to call EJBs with RMI, at least someone
mentioned it and included a reference to this page:
http://incubator.apache.org/servicemix/servicemix-jsr181.html#servicemix-jsr181-EJBs
I'd like to know if we can expose these RMI services as web services.
client -> web service -> ServiceMix -> RMI -> service
Also, is it possible to expose these services as RMI ?
client -> RMI -> ServiceMix -> RMI -> service
Unfortunately we have to use RMI because Flex doesn't play nice with
web services. ;)
Re: Call service with RMI (service uses Spring Remoting)
Posted by Bruce Snyder <br...@gmail.com>.
On 8/1/07, Michael Mattox <mi...@gmail.com> wrote:
> I read that it's possible to call EJBs with RMI, at least someone
> mentioned it and included a reference to this page:
>
> http://incubator.apache.org/servicemix/servicemix-jsr181.html#servicemix-jsr181-EJBs
>
> I'd like to know if we can expose these RMI services as web services.
>
> client -> web service -> ServiceMix -> RMI -> service
>
> Also, is it possible to expose these services as RMI ?
>
> client -> RMI -> ServiceMix -> RMI -> service
>
>
> Unfortunately we have to use RMI because Flex doesn't play nice with
> web services. ;)
There is the SerializedMarshaler () for the servicemix-http component
that allows for the use of the Spring HTTP remoting. This would allow
RMI over HTTP via Spring. But it would mean that the client and the
service would both need to speak HTTP instead of direct RMI. But I'm
sure that we could also create a RMI binding component to speak RMI
directly by wrapping up the Spring RMI objects.
Bruce
Bruce
--
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/
Castor - http://castor.org/