Nothing Special   »   [go: up one dir, main page]

skip to main content
article

Toward Automated Support for Transparent Interoperable Queries

Published: 01 October 2002 Publication History

Abstract

Many Object-Oriented Databases (OODBs) use programming languages that predate Java, such as C++, CLOS and Smalltalk. Thus, there is a growing need for interoperating these OODBs with new applications that require Java. Unfortunately, there are few mechanisms that allow software developers to easily integrate Java applications with non-Java OODBs. Although various interoperability mechanisms have been developed over the years, these approaches have some significant drawbacks in practice. They are often difficult to use, provide little, if any, automated support, and produce software that is difficult to engineer and maintain. In this paper, we describe an interoperability approach that allows application developers to seamlessly and transparently access non-Java OODBs from Java applications. We first present JOQL, a Java-based object query language that we are developing. JOQL queries are embedded in Java applications and are used to perform queries over C++-based OODBs. We also describe an accompanying toolset that processes Java programs containing JOQL queries. The toolset produces all the necessary code allowing Java applications to access and manipulate a C++-based OODB. As a result, application developers are free to work in Java without having to concern themselves with the details of interoperating with C++. Finally, we provide some preliminary experimental data that demonstrates our approach incurs a reasonable performance overhead.

References

[1]
{1} S. Alagic, The ODMG object model: Does it make sense? in: Proceedings of the ACM SIGPLAN Conference on Object-Oriented Programming Systems, Languages and Applications (OOPSLA-97), ACM SIGPLAN Notices, Vol. 32(10), New York, October 1997 (ACM Press, 1997) pp. 253-270.
[2]
{2} Ardent java O2 binding, World Wide Web URL (1998). http://www.ardentsoftware.com/object/ papers/JavaBinding.html.
[3]
{3} D. J. Barrett, A. Kaplan and J. C. Wileden, Automated support for seamless interoperability in polylingual software systems, in: The 4th Symposium on the Foundations of Software Engineering, San Francisco, CA, October 1996.
[4]
{4} P. Butterworth, A. Otis and J. Stein, The GemStone object database management system, Communications of the ACM 34(10) (1991) 64-77.
[5]
{5} M. Carey, D. Dewitt and J. Naughton, The OO7 benchmark, in: Proceedings of the 1993 ACM SIGMOD Conference, Washington, DC, May 1993.
[6]
{6} R. Cattell, D. K. Barry, M. Berler, J. Eastman, D. Jordan, C. Russell, O. Schadow, T. Stanienda and F. Velez, eds., The Object Database Standard: ODMG 3.0, Series in Data Management Systems (Morgan Kaufmann, 2000).
[7]
{7} A. B. Chaudhri and M. Loomis, Object Databases in Practice (Prentice-Hall, 1998).
[8]
{8} Georgia Institute of Technolog, Altanta, GA, CUP User's Manual, 0.10g edition, March 1998.
[9]
{9} R. Grehan, Poet goes Java, Byte 22(12) (1997).
[10]
{10} G. Hamilton, R. Cattell and M. Fisher, JDBC Database Access with Java, The Java Series (Addison-Wesley, 1997).
[11]
{11} T. Instruments, Open OODB 1.0 Query Language User Manual (Texas Instruments, Inc., Dallas, TX, 1995).
[12]
{12} B. Janssen and M. Spreitzer, ILU: Inter-language unification via object modules, in: Workshop on Multi-Language Object Models, Portland, OR, August 1994 (in conjunction with OOPSLA'94).
[13]
{13} A. Kaplan, J. V. Ridgway, B. R. Schmerl, K. Sridhar and J. C. Wileden, Toward pure polylingual persistence, in: 9th International Workshop on Persistent Object Systems, Lillehammer, Norway, 2000.
[14]
{14} A. Kaplan, J. V. Ridgway and J. Wileden, Why IDLs are not ideal, in: Proceedings of the 9th IEEE International Workshop on Software Specification and Design, Ise-Shima, Japan, April 1998.
[15]
{15} A. Kaplan and J. C. Wileden, Toward painless polylingual persistence, in: 7th International Workshop on Persistence Object Systems, Cape May, NJ, May 1996.
[16]
{16} C. Lamb, G. Landis, J. Orenstein and D. Weinreb, The ObjectStore database system, Communications of the ACM 34(10) (1991) 50-63.
[17]
{17} Microsoft ODBC 3.0 Programmer's Reference and SDK Guide (1997).
[18]
{18} Object Management Group, The Common Object Request Broker: Architecture and Specification, August 1997, Revision 2.1.
[19]
{19} R. Sessions, COM and DCOM: Microsoft's Vision for Distributed Object (Wiley Computer Publishing, 1997).
[20]
{20} Sun Microsystems, Inc., Cupertino, CA, Java Native Interface Specification, May 1997. http://java. sun.com/products/jdk/1.1/docs/guide/jni/spec/jniTOC.doc.html.
[21]
{21} Sun Microsystems, Inc., Cupertino, CA, JDK 1.1.x Documentation (1998). http://java.sun.com/ products/jdk/1.1/docs/index.html.
[22]
{22} D. L. Wells, J. A. Blakely and C. W. Thompson, Architecture of an open object-oriented management system, IEEE Computer 25(10) (1992) 74-82.
[23]
{23} S. B. Zdonik and D. Maier, Fundamentals of object-oriented databases, in: Readings in Object-Oriented Database Systems, eds. S. B. Zdonik and D. Maier (Morgan Kaufmann, 1990) pp. 1-32.

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image Information Technology and Management
Information Technology and Management  Volume 3, Issue 4
October 2002
106 pages

Publisher

Kluwer Academic Publishers

United States

Publication History

Published: 01 October 2002

Author Tags

  1. object query languages
  2. object-oriented databases
  3. query interoperability

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 0
    Total Downloads
  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 21 Dec 2024

Other Metrics

Citations

View Options

View options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media