You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by joe <fi...@yahoo.de> on 2010/04/06 14:31:58 UTC
how to call EJBs from c/c++ applications?
Hi,
I am looking for a way to call EJBs from C/C++-client applications.
I did some research but it seems to be difficult.
1. EJB as a Webservice?
Currently i only used the standalone server of Open EJB. Do i need to
run some kind of webserver to access a webservice or does it even work
with the standalone server?
In the code examples i read: "A webservice interface must be annotated
with @Local."
Does it mean a webservice isn't invokeable by a remote client
application in general?
2. Is there some kind of JCA implementation for my requirement?
3. Invoking a MDB over ActiveMQ?
- C : http://activemq.apache.org/c-integration.html
looks like a prototype
- C++ : http://activemq.apache.org/cms/
looks more interesting
Which is the most promissing way?
Or is there any easier way to call EJBs from C/C++-client applications?
Re: how to call EJBs from c/c++ applications?
Posted by Stephen Connolly <st...@gmail.com>.
4. Use reverse JNA... which basically starts up a JVM under the control of
your C/C++ app and then you make calls to that JVM
5. GCJ (not sure if that supports Java 5 yet though, so you might be
restricted to using Java 1.4 only stuff)
On 6 April 2010 13:31, joe <fi...@yahoo.de> wrote:
> Hi,
>
> I am looking for a way to call EJBs from C/C++-client applications.
> I did some research but it seems to be difficult.
>
> 1. EJB as a Webservice?
>
> Currently i only used the standalone server of Open EJB. Do i need to run
> some kind of webserver to access a webservice or does it even work with the
> standalone server?
>
> In the code examples i read: "A webservice interface must be annotated with
> @Local."
> Does it mean a webservice isn't invokeable by a remote client application
> in general?
>
>
> 2. Is there some kind of JCA implementation for my requirement?
>
>
> 3. Invoking a MDB over ActiveMQ?
>
> - C : http://activemq.apache.org/c-integration.html
>
> looks like a prototype
>
> - C++ : http://activemq.apache.org/cms/
>
> looks more interesting
>
>
> Which is the most promissing way?
> Or is there any easier way to call EJBs from C/C++-client applications?
>