that will certainly clears the 'Java vs C++ language hurdle'
Take a look at the difference between transport mechanisms of RemoteMethodInvocation and CORBA
the difference between the 2 transport mechanisms:
RMI good: RMI will allow passing of entire class structure
RMI bad: RMI only works with Java classes
CORBA bad: allows passing of primitive data structures (as defined by IDL) but NOT the classes which contain them
CORBA good: CORBA allows modules written in differing languages such as C++ or java to send/receive IDL primitive datatypes
http://www.javacoffeebreak.com/articles/rmi_corba/index.html
HTH
Martin Gainty
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.
> Date: Mon, 8 Mar 2010 21:43:16 +0530
> From: Vbkumar.Jayanti_at_Sun.COM
> To: users_at_glassfish.dev.java.net
> Subject: Re: EJB3 and CORBA client
>
> glassfish_at_javadesktop.org wrote:
> > Hi,
> >
> > I have a question about Glassfish EJB3 and Corba client.
> > I'm working on a project where a C++ Corba client has to talk with an EJB3 deployed in glassfish.
> > The final aim is that he can connect via IOR an reference and communicate.
> > I've tried many things, followed many pseudo-tutorial, but nothing work...
> >
> >
> > Firstly, I'd like to make a Java Corba client (java but not an EJB client) which connect at an EJB3 in glassfish.
> > Is it possible, and can someone explain precisely how to do it (with the code of a simple example [both side] if possible, it would be very helpfull).
> > I'm working with java 6, Sun GlassFish Enterprise Server v3.
> >
> > If it is possible, how to do it with a C++ client, if someone has tried, which ORB do you used, can you give a sample code?
> >
> > And a last question, can you directly have an IOR of an EJB deployed in glassfish, or should I connect with namespace and require the IOR to know it?
> >
> >
> We can tell you how to access EJB's from Java (Standalone clients) or
> Application Client's which use the AppContainer. See the links below...
> Once you have an EJB being accessed from Java Client you will have to
> map it to how you can do it with C++.
>
> http://docs.sun.com/source/819-0079/dgacc.html#wp1022105
> http://docs.sun.com/app/docs/doc/820-7695/beakt?a=view
> https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html#StandaloneRemoteEJB
> http://blogs.sun.com/swchan/entry/enterprise_java_bean_over_ssl
>
> I found the following while searching on the net for C++ clients and i
> found this which maybe useful.
> http://www.jnbridge.com/download_center/index.php?GlassFish21ExampleInstructions.pdf
>
> thanks.
> > Thank you so much.
> > [Message sent by forum member 'astat' (al_b_an_at_hotmail.com)]
> >
> > http://forums.java.net/jive/thread.jspa?messageID=390637
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> > For additional commands, e-mail: users-help_at_glassfish.dev.java.net
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
_________________________________________________________________
Hotmail: Free, trusted and rich email service.
http://clk.atdmt.com/GBL/go/201469228/direct/01/