users@glassfish.java.net

Re: EJB3 and CORBA client

From: Kumar Jayanti <Vbkumar.Jayanti_at_Sun.COM>
Date: Mon, 08 Mar 2010 21:43:16 +0530

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
>
>
>