// sequence.idl // Sequence example - Weather Service module Module4{ // Bounded sequence of 7 stringsThe IDL interface using bounded and unbounded sequences is mapped to its Java operations interface using corresponding Java Arrays.
package Module4; public interface WeatherServiceOperations{ public java.lang.String[] getForecastsForWeek(java.lang.String city); public java.lang.String[] getCurrentForecasts(java.lang.String city); }The operation returning the unbounded sequence is mapped to a method returning the corresponding array type