Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

CORBA.ORB -- what is it?  RSS feed

 
Jody Seigle
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm attempting to create an applet which communicates with a server using Orbix 2000.
Is this possible??
It's been stated that Orbix 2000 does not support applet to server communication. However, Iona does provide a class ORBImpl which extends java's CORBA.ORB class. I was able to use this class to get a reference to an ORB from an applet. Is this the proper way to do this?
Is the java provided CORBA.ORB class really a fully functional implementation? -- Or does it require a vendor implementation?
If I only used the java provided ORB class I wasn't able to use the ORB once it was initialized. Every method call would freeze the applet.
I'm using sdk 1.4.1 and currently just using appletviewer on a local machine for all testing.
Thanks.
 
Piyush Daiya
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jody Seigle:

Is the java provided CORBA.ORB class really a fully functional implementation? -- Or does it require a vendor implementation?
If I only used the java provided ORB class I wasn't able to use the ORB once it was initialized. Every method call would freeze the applet.
I'm using sdk 1.4.1 and currently just using appletviewer on a local machine for all testing.
Thanks.

Well,
According to J2EE specification, only application clients are allowed to create and export a Corba Object, though other components can be clients of COrba Objects.
I dont know how much this will help, but Im pasting the J2EE specification below:-
***********************************************
J2EE.6.2.4.4 Java IDL
JavaIDL allows applications to access any CORBA object, written in any language,
using the standard IIOP protocol. The J2EE security restrictions typically prevent all
application component types except application clients from creating and exporting
a CORBA object, but all J2EE application component types can be clients of
CORBA objects.
A J2EE product must support JavaIDL as defined by chapters 1 - 8, 13, and 15
of the CORBA 2.3.1 specification, available at http://cgi.omg.org/cgi-bin/
doc?formal/99-10-07, and the IDL To Java Language Mapping Specification,
available at http://cgi.omg.org/cgi-bin/doc?ptc/2000-01-08.
J2EE applications need to use an instance of org.omg.CORBA.ORB to perform
many JavaIDL and RMI-IIOP operations. The default ORB returned by a call to
ORB.init(new String[0], null) must be usable for such purposes; an
application need not be aware of the implementation classes used for the ORB and
RMI-IIOP support.
.......
***********************************************

HTH,
Piyush
 
Jody Seigle
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks like that only applies to CORBA Objects bound to the ORB through a NameService or IOR. I'm more concerned with actually implementing the ORB itself.
I know it's possible to achieve applet to server communication using CORBA (We currently use Orbix 3.3 to do this, by taking advantage of an Iona provided ORB class that they allow applets to use -- by means of providing an implementation for the ORB.init(applet, properties) method)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!