[jacorb-developer] Meaning of each generated file by JacORB IDL compiler

Phil Mesnier mesnierp at ociweb.com
Mon Feb 1 13:29:16 CET 2016


Hi Kujtim,

I've seen you on this list for years, I'm surprised this question is just coming up now. I suggest try some google based research, also visit the OMG documentation base, starting with http://www.omg.org/spec/I2JAV/ where you will find PDFs containing all you need to answer your question thoroughly.

Here's a little overview: The files you mention contain the Java source which is necessary for you to create applications that either implement the objects for the TempSensor and Termostat interfaces, or to use those implementations from client applications using those interfaces. Just as Java code gets rendered as bytecode in *.class files so that the JVM can process them, Your IDL is rendered into Java, creating the files you cite.

Is this what you are looking for or am I misunderstanding your question?

Best regards,
-Phil

> On Feb 1, 2016, at 3:01 AM, Kujtim Hyseni <kujtimhyseni at hotmail.com> wrote:
> 
> Hi,
> 
> 
> I have the following IDL declared as input:
> 
> 
> exception DeviceNotFound {short deviceID;};
> 
> interface TempSensor {
>    readonly attribute long minTempRead;
>    readonly attribute long maxTempRead;
>    long readTemp(in short devID) raises(DeviceNotFound);
> };
> 
> interface Termostat {
>    readonly attribute long minTempAllowed;
>    readonly attribute long maxTempAllowed;
>    exception TempNotAllowed {short deviceID;};
>    void setTemperature(in short devID) raises (DeviceNotFound, TempNotAllowed);
> };
> 
> 
> and at the folder ..\build\generated I see the following files:
> 
> 
> TermostatPackage\TempNotAllowed.java
> 
> TermostatPackage\TempNotAllowedHelper.java
> 
> TermostatPackage\TempNotAllowedHolder.java
> 
> 
> _TempSensorStub.java
> 
> TempSensor.java
> 
> TempSensorHelper.java
> 
> TempSensorHolder.java
> 
> TempSensorOperations.java
> 
> TempSensorPOA.java
> 
> TempSensorPOATie.java
> 
> 
> (also files generated for DeviceNotFound exception and Termostat interface, but the role is the same as for TempNotAllowed and TempSensor respectively).
> 
> 
> Can someone explain the role of each of the generated files?
> 
> 
> Regards,
> 
> Kujtim
> _______________________________________________
> jacorb-developer maillist  -  jacorb-developer at lists.spline.inf.fu-berlin.de
> https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer

--
Phil Mesnier
Principal Engineer & Partner

OCI | WE ARE SOFTWARE ENGINEERS.
tel  +1.314.579.0066 x225
ociweb.com







More information about the jacorb-developer mailing list