| Home | Previous Lesson: Obsolete DPB Objects/Functions/Events for EAS Next Lesson: Which Direction Should You Go? DPB or EAS? |
JaguarORB, CORBAObject objects�In most of the cases, the naming resolution done by the Connection object Lookup() and CreateInstance() functions are good enough to create Jaguar components. In case if you want to access CORBA naming services directly, you can use JaguarORB and CORBAObject objects. When you do, make sure you have created proxy objects for those components.
SSLServiceProvider, SSLCallBack objects�Using these two objects, you can connect to Jaguar server using SSL protocol and respond to the callbacks.
TransactionServer�You have used this object earlier in this session. You can control the transaction life using this object instead of calling COMMIT and ROLLBACK statements.
ErrorLogging object�You can use this object to write to Windows NT application log.
ResultSets object�This object is used to read Jaguar result set and build DataStore using CreateFrom DataStore function. To create result set from a DataStore, call GenerateResultSet function.
DBParm Options in Transaction object:
GetConnectionOption�Using this option you can specify how a connection should be created and what Jaguar should do when it is not immediately available.
JAG_CM_FORCE�Allocate and create a connection and destroy it after using it. Don't cache it.
JAG_CM_NOWAIT�Use the connection if available, otherwise return error, don't wait.
JAG_CM_WAIT�Waits till gets a free connection.
ReleaseConnectionOption�Use this option to control how the connection released. If you specify JAG_CM_DROP value, Jaguar closes & deallocates the connection and creates a new one in place if the connection is taken from the connection cache. JAG_CM_UNUSED does the same as JAG_CM_DROP except, it doesn't create in place when taken from the connection cache.
CacheName�Jaguar finds the connection from the connection cache by name and uses that connection, instead of matching the connection by server name, user id and password. We've used this option while connecting to the database from the Jaguar component product_master Activate event.
UseContextObject�If you set this option to Yes and issuing COMMIT or ROLLBACK statements will result in runtime error. By default this option is not turned on, meaning COMMIT statement is interpreted as of_SetComplete() and ROLLBACK as of_SetAbort(). This option is good for migration from older versions to 7.x. I believe this option will go away soon, so convert your code in the existing applications if you want to use Jaguar server.
| Home | Previous Lesson: Obsolete DPB Objects/Functions/Events for EAS Next Lesson: Which Direction Should You Go? DPB or EAS? |