Invoking Babel to generate Java implementations

To implement a set of SIDL classes in Java, you should invoke Babel as follows:

% babel -server=Java file.sidl
or use the short form
% babel -sJava file.sidl

The directory structure that results from this command is that same as the client side, there are just a bunch more files. In the file directory there are new files that end in _Impl.java. These are the java files where you should write your implementation. All of your methods in this class now also end in _Impl. In the current directory there are also new files that end in _jniSkel.c. These files are the equivalent to the _jniStub.c for the client side.

You should also notice that all the Client side files have been generated in addition to the new Server side files. These files are present to allow for calling methods on the current object in the Implementation java file. You can safely ignore them.



babel-0.10.2
users_guide Last Modified 2005-03-23

http://www.llnl.gov/CASC/components
components@llnl.gov