// WeatherReport.java:
package Module4;
public final class WeatherReport implements org.omg.CORBA.portable.IDLEntity{
public short high;
public short low;
public java.lang.String forecast;
public WeatherReport(){}
public WeatherReport(short high, short low, java.lang.String forecast){
this.high= high;
this.low= low;
this.forecast=foreast;
}
}
The IDL struct WeatherReport is mapped to a corresponding Java class