|
Comments
Did you read today's front page stories & breaking news?
SYS-CON.TV
|
Product Reviews CodeBase 6
CodeBase 6
By: David Jung
Dec. 1, 1997 12:00 AM
Without data from a database, business applications really don't do much. To take your Java experience to the next level, you should have database connectivity. There are still a lot of custom built DOS-based applications that are using xBase database technology, like dBASE, Fox Pro and Clipper. You're trying to convince your company to wake up and smell client/server, that Java can work as a database client and you can keep your data in their existing database format. The solution is using Sequiter Software's CodeBase database management library. Your manager has decided that your department is going to start using Java as your standard development language. It sounds simple enough, until you start to wonder how you're going to connect Java to your xBase databases to use. CodeBase is a management program for high-performance data access within a very small memory footprint. It uses Java and others such as C/C++, Visual Basic and Delphi. This means that no matter what your development environment is, you only have to learn one database object model. Its library is designed for single-user, multi-user and client/server environments. Whether you are developing for one user, one department or one enterprise, you are covered with CodeBase. For developers who have a tendency to rely on custom controls, CodeBase includes 16-bit VBX and 32-bit OCX data-aware controls.
CodeBase Versus JDBC In addition to the multiple language support, you also get all the source code for the C/C++ and Java libraries. This protects your investment in CodeBase because it allows you to rebuild the library with any changes you might need for your organization. It also means that you don't have to wait for Sequiter to come up with a new release of the CodeBase engine. You can get the code fixes from Sequiter, apply it to your source code and rebuild it. You won't lose any of your library customization because you're in control of the source code. Lastly, you get a report writer and code utility.
CodeReporter With all the development language support and utilities, you probably think that your shelf will be laced with manuals. Sequiter does provide you with all the manuals, but they thought ahead and they are in the Adobe Portable Document Format (PDF). This makes finding the information you need very easy because CodeBase installs only PDF files for the languages you are using. If you want to see the manuals, they are all available on the CD-ROM.
Library So what does this all mean and how does this help you? The classes have been broken down into logical units of work. In order to connect your Java applet to your xBase database, you use the Code 4 class. Once a successful connection is established, you use the Data 4 class to actually work with the database. You can open the database, close it, create an index and so on. The methods in the Field 4 class are used to handle the field manipulation of a given row. To provide exception handling, the methods of the Error4 class are used.
CodeBase Implementation Editor's Note: Sequiter Software has informed us that the CodeBase server now supports only TCP/IP. Also, their development plans have changed and they do not know if they will be developing a server component for Unix. Listing 1 is an example of how you can use CodeBase to access information. It will retrieve the age and date of birth an employee and calculate their age based on their date of birth and compare it with their age in the database. You will find that CodeBase 6 is a great database management library to help you migrate your xBase systems to a broader platform. It's fast, doesn't require a lot of resources on either the client or server side, and with royalty-free distribution and source code included in the price of the product, you are getting a lot for your money. Reader Feedback: Page 1 of 1
Latest Cloud Developer Stories
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
|
SYS-CON Featured Whitepapers
Most Read This Week
Breaking Cloud Computing News |
|||||||||||||||||||||||||||||||||||||||||||||||||