The ToolboxME for iSeries™ classes provide JDBC support, including support for the java.sql package. The classes are meant to be used in a program that runs on a Tier 0 device.
The following sections discuss accessing and using data and describe what is in JdbcMe, including links to information about the individual JdbcMe classes.
When using a Tier0 device to access and update data, you want it to work exactly like if you were sitting at a system in your office. However, much of the development in Tier0 devices focuses on data synchronization. Using data synchronization, each Tier0 device has a copy of specific data from the main database. Periodically, users synchronize the data on each device with the main database.
Data synchronization does not work well with data that is dynamic. Working with dynamic data requires quick access to up-to-date data. Having to wait to access synchronized data is not an option for many businesses. Plus, the software and hardware demands for the servers and devices to main synchronous data can be significant.
To help solve the problems inherent in the data synchronization model, the JdbcMe classes in ToolboxME for iSeries enable you to perform live updates and access the main database, but still allow offline data storage. Your application can have access to valuable offline data without sacrificing the ability for to have live updates immediately become part of the main database. This middle ground approach provides the benefits of both the synchronous data model and the live data model.
By definition, a driver of any kind for a Tier0 device must be very small. The JDBC API, however, is very large. The JdbcMe classes had to be extremely small but still support enough of the JDBC interfaces so that Tier0 devices might use it to perform meaningful work.
JdbcMe classes offer the following JDBC functionality:
In addition, JdbcMe classes include some unique features:
JdbcMe includes the following classes:
ToolboxME for iSeries provides a java.sql package that follows the JDBC specification but contains only the smallest set of useful classes and methods. Providing a minimal set of sql function allows the JdbcMe classes to be small in size yet useful enough to perform common JDBC tasks.