idltojava
compiler
maps an OMG IDL attribute to accessor and modifier methods in the
Java programming language.
For example, an interface ball might include the
attribute color. The idltojava compiler
would generate a Java programming language method to get the color, and
unless the attribute is readonly
, a method
to set the color.
CORBA attributes correspond closely to JavaBeans properties.
Object
is also the implicit common base type for
object references of IDL interfaces.
org.omg.CORBA.SystemException
(which is a java.lang.RuntimeException
),
and (2) user-defined exceptions, which inherit
from org.omg.CORBA.UserException
(which is a java.lang.Exception
).
.java
files.
NamingContext
objects.
idltojava
compiler.
The ORB and naming service are part of JDK1.2; the
idltojava
compiler can be downloaded from the
Java Developer Connection (JDC) web site.
oneway
, in which case they cannot return results
(return values or out arguments) or raise exceptions.
Home |