You can generate server-side files with the CORBA template, ServerMain. Before creating the file, make sure the IDE is set up for the ORB product you want your CORBA programs to work with. You should set the Server Binding property for the ORB you are using so that the template generates the correct code templates in the server file.
To set the binding method:
While the property sheet is open, set the binding method for the Server by changing the Client Binding property in the same way.
To create a server file using the CORBA template:
The CORBA module creates a CORBA server source file, named Filename.java.
In addition to generating server program source code, you need to copy the IDL on which your server is based to the server program's package.
See also | |
---|---|
Generating Server-Side Files With the CORBA Wizard
Completing Server-Side Files |