![]() |
![]() |
| CodeBase | ||||||||||||||||||||||||||||||||||||||||||
CodeBase for Java ProgrammersCodeBase now includes support for the Java programming language. A special set of database classes has been created. They are small enough to download quickly in your Java applets, but still powerful enough to meet all your database needs. Just imagine, now you can bring live data access to all your web pages with Java and CodeBase. Say goodbye to static server-side data solutions, and say hello to live, multi-user data access from the Web! Fast-DownloadingOne of the main features of this Java support is the super-compact size of the CodeBase Java classes. The entire package weighs in at less than 50K! In addition, a function dependancy chart is included. It allows you to safely strip out any of our code your applet doesn't require; this keeps your applets as small as possible, helping them download even faster! Client/ServerJava support is implemented as a 32-bit client application, designed to run against the CodeBase 32-bit database server residing on a Windows 95/NT Web server machine. The client/server model was chosen both for it's natural suitability for Web development as well as the fact that it helps keep the CodeBase Java classes very small--a very important feature to those accessing your web site applets. The CodeBase client/server solution also offers a feature that you won't see anywhere else: Unlimited client connections and 100% royalty-free distribution of clients and servers!This unprecedented license agreement means you never have to worry about how many client applications are accessing your server. Plus, you have unlimited distribution rights for the CodeBase server itself, meaning you can set up multiple servers to service multiple clients--all without ever having to pay a cent in royalties! This type of offer is unheard of in the world of client/server, and it can save you and your end-users thousands of dollars! Another advantage of the CodeBase client/server model for Web data solutions is that the client and server have a direct TCP/IP connection for communications. This translates into fast and efficient data transfer between client and server. Other solutions, such as static server-side data pages must carry the additional overhead of the HTTP communications layer required for the generation of web pages containg data results. The TCP/IP connection also provides better networking performance than server-side data solutions, because communications performance is not affected in any way if the Web server is busy handling multiple requests. Power & PortabilityOf course Java can be used for much more than just applets. With CodeBase Java support you can build full blown Java database applications as well. And with the onslaught of Java Virtual Machines for all the major operating systems, you now have an unequaled opportunity to write truly portable applications that can run on any system! FunctionalityWith the CodeBase Java classes you can perform all the standard database operations including creates, appends, deletes, updates and seeks. Plus you get the full power and speed of the CodeBase engine in the 32-bit database server. CodeBase Java ClassesFor size considerations, the CodeBase classes for Java represent a subset of the functionality found in the other CodeBase versions (C/C++, VB & Delphi). The resulting classes represent a balance between size and functionality. Of course because full source code is included, you can always add to the CodeBase Java classes any additional functionality you may require. The following table lists the main Java classes provided with CodeBase: CODE4 Class
Example using Code4 class:import codebase.*; DATA4 Class A new data file may be created by calling Data4.create() after the Data4 constructor has been called. A particular data file may be opened more than once in an application and thus there may be multiple instances of a Data4 class for a particular data file. Any desired field objects may be created only after a data file has been opened or created.
Example using Data4 class:import codebase.*; Field Manipulation
Classes For every field in the data file that needs to be accessed, an appropriate object must be created and associated with a field. Each of these objects has an instance variable called contents that contains the value of that field from the current record. It is through the variable contents that the field can be retrieved and modified directly. When the data file is positioned to a new record, the field values of the new record are copied into the instance variables of the field objects associated with the data file.
CodeBase contains the following Field classes: Field4stringBufferUnicode class can be mapped to any field type, which includes Character, Date, Double, Logical, Numeric, Floating Point, Memo, General and Binary. Field4double class can be mapped to Numeric, Floating Point and Character fields. Field4date class can be mapped to a Date or Character field. Field4boolean class can be mapped to Logical and Character fields. Example using Field4 class:import codebase.*; Other Classes If you�re developing an Internet or intranet application in Java that requires live, multi-user database access, CodeBase is the choice for you. Order it today and start bringing real database functionality to all your web applications. Return to the CodeBase Main Page Royalty-Free source code is included. Does
not work with Visual FoxPro Databases. All CodeBase versions
include the Windows/DOS version.
Upgrades for previous versions are available.
Search HALLoGRAM || Request More Information CALL TOLL FREE 1-866-340-3404 | ||||||||||||||||||||||||||||||||||||||||||
| ©Copyright 1999
HALLoGRAM Publishing, Aurora CO. All Rights Reserved. All products mentioned in this site are trademarks of their respective owners. dmcakegrim |