Comments
Richard Davies wrote: The UK has a good crop of technology pioneers in cloud computing - for example ElasticHosts, FlexiScale, Flexiant, OnApp - and also some strong government initiatives such as G-Cloud. We will have to see whether this kind of technical leadership converts into swift mass-market adoption or not.
Cloud Expo on Google News


2008 West
DIAMOND SPONSOR:
Data Direct
SOA, WOA and Cloud Computing: The New Frontier for Data Services
PLATINUM SPONSORS:
Red Hat
The Opening of Virtualization
GOLD SPONSORS:
Appsense
User Environment Management – The Third Layer of the Desktop
Cordys
Cloud Computing for Business Agility
EMC
CMIS: A Multi-Vendor Proposal for a Service-Based Content Management Interoperability Standard
Freedom OSS
Practical SOA” Max Yankelevich
Intel
Architecting an Enterprise Service Router (ESR) – A Cost-Effective Way to Scale SOA Across the Enterprise
Sensedia
Return on Assests: Bringing Visibility to your SOA Strategy
Symantec
Managing Hybrid Endpoint Environments
VMWare
Game-Changing Technology for Enterprise Clouds and Applications
Click For 2008 West
Event Webcasts

2008 West
PLATINUM SPONSORS:
Appcelerator
Get ‘Rich’ Quick: Rapid Prototyping for RIA with ZERO Server Code
Keynote Systems
Designing for and Managing Performance in the New Frontier of Rich Internet Applications
GOLD SPONSORS:
ICEsoft
How Can AJAX Improve Homeland Security?
Isomorphic
Beyond Widgets: What a RIA Platform Should Offer
Oracle
REAs: Rich Enterprise Applications
Click For 2008 Event Webcasts
SYS-CON.TV
Top Links You Must Click On


Jet Connect
Jet Connect

In early March of this year, Sun Microsystems' software company, JavaSoft, specified a standard SQL database access interface, the JDBC API. Java developers everywhere were finally given a tool to connect their applets and applications to databases, via the JDBC API. The API provided Java programmers with a uniform interface to a wide range of relational databases. Developers used the API as a common base on which to build higher level tools and interfaces. The JDBC API defined Java classes to represent database connections, SQL statements, result sets, database metadata, and allowed a programmer to issue SQL statements and process the results in their applets and applications.

XDB Systems, Inc. is now releasing JETConnect Pro, (the first in a series of Java Enterprise Tools), which features universal database access with Java by building on the ODBC foundation, taking the JDBC one step further. In this issue, Java Developer's Journal takes a look at database connectivity through the use of JETConnect Pro.

XDB's JETConnect Pro provides various levels of API's, ranging from base-level ODBC support through high-level Query by Form and Update by Form functionality using data-aware GUI components. It also provides support for features missing from the JDBC, such as scrolling cursors.

JETConnect Pro installed from a single floppy disk directly into my Java/classes directory (where I have Sun's Java Development Kit installed, which is a prerequisite). Although as of the time this article was written there are no printed manuals, a complete HTML version of the guide to the classes, methods and examples is included. The vast majority of these were created by XDB using the JDK's javadoc program, and they are very extensive.

JETConnect Pro includes three very powerful packages (a group of related classes that perform certain functions collectively) including:

  • jet.connect package - This is a collection of classes that wrap Microsoft's Open Database ConnectivityTM (ODBC). The jet.connect package provides ODBC functions as methods in classes contained in this package. It also offers additional convenience methods and classes to manage various data types and other functions in a manner fully consistent with both ODBC and Java.
  • JETConnect Pro JDBCTM API - This is a bridge (jet.bridge package) between JDBC applications and ODBC drivers. JDBC functionality is translated into equivalent jet.connect functionality, allowing full use of JETConnect Pro, including support for applets. (Only a single parameter in the Java code must be changed to switch between applets and applications, although applets use a special set of classes to enable remote access of a database from a Web client.)
  • jet.controls package - This is a collection of components that simplify database application and applet development by providing: - A higher level database API with functionality equivalent to that of embedded SQL. - Classes supplying data-aware GUI components that link to columns in your database and a powerful set of methods that can perform Queries by Form and Updates by Form. - Advanced GUI components, required for sophisticated database applications.

    JETConnect Pro also includes JETPort. JETPort is the JETConnect Pro network daemon (or NT service, depending on your server platform) that enables applets to access a database on the host Web server. JETPort supports a TCP/IP-based communication protocol that allows JETConnect Pro objects in an applet to communicate across the Internet to JETPort, which is running on a Web server. Although most of JETPort is written in Java, there is still one component that needs to be ported. For that reason, as of now, JETPort only runs on Microsoft Windows 95 and NT, Solaris and Sun OS, with ports to HP/UX and AIX platforms on the way.

    Using JETConnect Pro, you are able to provide full transaction processing support to your Java applications and applets. The complete functionality of the data source being accessed is available to your Java program using JETConnect, unlike the JDBC, which is at best a least-common-denominator subset of the full ODBC API. You are able to update, insert, delete and edit records (see Figure 1) in the database with which you are working. JETConnect Pro has provided a complete implementation of the functionality that ODBC provides by using an object-oriented paradigm. By wrapping each of the ODBC handles (environment, connection and statement) with a Java class, all of the ODBC functions can be implemented in a Java applet or application as methods of these Java classes.

    In this code sample (which is provided with JETConnect Pro) (see Listing 1) controls for inserting, updating, deleting, editing and moving from record to record are implemented using the JETControls package. JETConnect Pro's unique data-aware class library, which is based on the Java AWT (Abstract Window Toolkit), allows you to link GUI components and composite controls, such as text fields, text boxes or data-aware grid controls, to a field or fields in a database table (see Figure 2). Using Query by Forms and Update by Forms, JETConnect Pro can operate on any field connected to the database, and supports most of the common search criteria entered by the client, including:

  • exact match
  • null test
  • pattern matching
  • range checking
  • list of values

    Based on the changes that a user makes to the fields in an applet or application window, JETConnect Pro uses the Update by Forms feature to dynamically build and execute SQL update, delete and insert statements. The full power and functionality of JETConnect Pro is demonstrated by its ability to execute all SQL statements within the context of a single transaction.

    Java is a full featured language that is extendible, flexible, and less error prone than most object-oriented languages. It is platform independent, allowing developers the ability to develop applications that will work equally well on PCs, Macs, and Unix machines. Unfortunately, Java does not have the inherent ability to access databases directly. Using XDB's JETConnect Pro, developers have the choice of using the JETConnect ODBC API or the JDBC API. With JETConnect Pro, programmers no longer have to be dependent on vendor-specific restrictions to feature high performance database access in their applets and applications. As the Java language continues to develop, these features are not likely to be an accessory, but more of a requirement.

    About Scott Clark
    Scott Clark is the Webmaster for Phoenix Applied Technology, (http://www.phoenixat.com), an ISP in Kissimmee, Florida. Scott is the Product Review
    Editor for "Java Developer's Journal" and a Contributing Editor for "Web Developer Magazine." Scott hosts the Java Message Exchange (http://www.phoenixat.com/java), a Web based Java forum, and WebToolz, (http://www.webtoolz.com) the Webmaster's Resource.

  • In order to post a comment you need to be registered and logged in.

    Register | Sign-in

    Reader Feedback: Page 1 of 1

    Enterprise Open Source Magazine Latest Stories . . .
    With Cloud Expo 2012 New York (10th Cloud Expo) just four months away, what better time to start introducing you in greater detail to the distinguished individuals in our incredible Speaker Faculty for the technical and strategy sessions at the conference... We have technical and st...
    AMD said late Tuesday that its chief sales officer Emilio Ghilardi had left the company and that CEO and president Rory Read is going to do his job while a replacement is sought. AMD didn’t say why Ghilardi left but it’s assumed Read wants his own people. Read is relatively new to th...
    During the lifespan of M3 (Monitis Monitor Manager) there has always been something lacking – timers. M3 execution procedure was outlined in this previous article. The execution mentioned in the latter was a one-time-execution, whereas server monitoring requires periodic invocati...
    Red Hat is putting its bought-in Gluster scale-out NAS storage technology, acquired in October, on the Amazon cloud. It’s styled Red Hat Virtual Storage Appliance for Amazon Web Services and other clouds are supposed to follow in short order.
    A new episode of the screencast series is now available at the OpenNebula YouTube Channel. This screencast demonstrates the new easily-customizable self-service portal for cloud consumers. Its aim is to offer a simplified access to shared infrastructure for non-IT end users. The scree...
    C12G Labs has just announced an update release of OpenNebulaPro, the enterprise edition of the OpenNebula Toolkit. OpenNebula 3.2, released two weeks ago, brings important benefits to cloud providers with a new easily-customizable self-service portal for cloud consumers, and builders w...
    Subscribe to the World's Most Powerful Newsletters
    Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
    Click to Add our RSS Feeds to the Service of Your Choice:
    Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
    myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
    Publish Your Article! Please send it to editorial(at)sys-con.com!

    Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021


    SYS-CON Featured Whitepapers
    ADS BY GOOGLE