|
YOUR FEEDBACK
Did you read today's front page stories & breaking news?
SYS-CON.TV |
TOP THREE LINKS YOU MUST CLICK ON Product Reviews Caché 5
Caché 5
By: Mathias Kühn
Aug. 1, 2003 12:00 AM
One of the key challenges facing Java developers is that their object-oriented applications use data stored in relational databases. The result: time- and cost-intensive mapping between the two paradigms. InterSystems' Corporation develops and markets a post-relational database management system called Caché that's designed to address this challenge by eliminating the impedance mismatch between objects and tables. We set out to test the capabilities of this database software from a Java developer's perspective. Working with the latest release of the software, Caché 5, we found the results impressive. Caché’s unique combination of objects and SQL provides a very interesting development framework for object-oriented programmers that goes far beyond what pure relational or pure object-oriented databases provide. Besides eliminating the impedance mismatch between objects and tables, Caché's unified data architecture allows rapid application development (RAD) of complex systems and applications. With Caché 5, InterSystems delivers a powerful, high-performance, massively scalable database system that supports a plethora of standard protocols, programming languages, and middleware technologies. Ready, Set, Go! After the installation, we started the Caché Studio (see Figure 1), the development environment used for editing the classes stored in Caché, and immediately began to create some classes. Using the integrated wizards, you can easily create classes with all the features available in Caché. Programming Caché's internal language, ObjectScript, is very easy, especially if you are used to coding in Java or JavaScript. If Visual Basic is your favorite programming language, you can also use Caché Basic, a close relative to Visual Basic. What's Behind the Scenes? In addition, the multidimensional data model of Caché avoids time-consuming mapping operations between objects and relations because data is natively stored in Caché's multidimensional storage. The Unified Data Architecture (UDA) provides access to the stored data and delivers the necessary metadata information to the relational or object-oriented client. In general, there's no difference if the data is accessed in a relational manner or through objects. Caché and Java The JDBC driver is installed along with the database and is fully compliant with the JDBC standard. To access a Caché class in an object-oriented manner, all we needed to do was specify that it should be projected to Java. This "projection" then automatically generated Java binding classes that could easily be incorporated into Java applications. The great advantage of projections is that the binding classes are automatically generated every time a class is modified and recompiled. So the programmer is relieved of the cumbersome and error-prone process of keeping the database schema and the application bindings up-to-date. For J2EE application servers, we only had to specify an EJB projection and Caché created entity beans with either bean-managed persistence (BMP) or container-managed persistence (CMP). In contrast to the simple Java projection that creates a single Java class, the EJB projection generates all necessary classes for an EJB entity bean, a deployment descriptor, a deployment command file, and even a little servlet for testing the created bean. We tested Caché's EJB support with a standard installation of JBoss 3.0 and did not experience any difficulties. In addition to JBoss, Caché also directly supports the WebLogic and the Pramati application servers and automatically creates all necessary configuration files for the specific server. Other J2EE-compliant application servers should also work with Caché without any problems. Summary InterSystems Corporation Specifications Test Environment Snapshot Cons: LATEST JAVA STORIES & POSTS
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 SPONSORED BY INFRAGISTICS
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||