UltraLite User's Guide
Developing UltraLite Java Applications
Adding synchronization to your application
Once you have initialized the synchronization parameters, and set them to the values needed for your application, you can initiate synchronization using the JdbcConnection.synchronize() method.
The method takes a UlSynchOptions object as argument. The set of calls needed to synchronize is as follows:
UlSynchOptions opts = new UlSynchOptions; opts.setUserName( "50" ); opts.setScriptVersion( "default" ); opts.setStream( new UlSocketStream() ); opts.setStreamParms( "host=123.45.678.90" ); conn.synchronize( opts );