IDEAS home Printed from https://ideas.repec.org/a/scm/ausvfe/v9y2009i2(10)p281-291.html
   My bibliography  Save this article

Database Access Through Java Technologies

Author

Listed:
  • Ion LUNGU

    (Academy of Economic Studies, Faculty of Cybernetics, Statistics and Economic Informatics, Bucharest, Romania)

  • Nicolae MERCIOIU

    (Academy of Economic Studies, Doctoral School, Bucharest, Romania)

  • Victor VLADUCU

    (Academy of Economic Studies, Doctoral School, Bucharest, Romania)

Abstract

As a high level development environment, the Java technologies offer support to the development of distributed applications, independent of the platform, providing a robust set of methods to access the databases, used to create software components on the server side, as well as on the client side. Analyzing the evolution of Java tools to access data, we notice that these tools evolved from simple methods that permitted the queries, the insertion, the update and the deletion of the data to advanced implementations such as distributed transactions, cursors and batch files. The client-server architectures allows through JDBC (the Java Database Connectivity) the execution of SQL (Structured Query Language) instructions and the manipulation of the results in an independent and consistent manner. The JDBC API (Application Programming Interface) creates the level of abstractization needed to allow the call of SQL queries to any DBMS (Database Management System). In JDBC the native driver and the ODBC (Open Database Connectivity)-JDBC bridge and the classes and interfaces of the JDBC API will be described. The four steps needed to build a JDBC driven application are presented briefly, emphasizing on the way each step has to be accomplished and the expected results. In each step there are evaluations on the characteristics of the database systems and the way the JDBC programming interface adapts to each one. The data types provided by SQL2 and SQL3 standards are analyzed by comparison with the Java data types, emphasizing on the discrepancies between those and the SQL types, but also the methods that allow the conversion between different types of data through the methods of the ResultSet object. Starting from the metadata role and studying the Java programming interfaces that allow the query of result sets, we will describe the advanced features of the data mining with JDBC. As alternative to result sets, the Rowsets add new functionalities that enhance the flexibility of the applications. These are analyzed and the approach is described. Next, we will describe Java Data Objects (JDO) Application Programming Interface, which is a way to store persistent data in databases, using plain old Java objects (POJO) to represent persistent data. The approach makes possible separation between data manipulation and database manipulation.

Suggested Citation

  • Ion LUNGU & Nicolae MERCIOIU & Victor VLADUCU, 2009. "Database Access Through Java Technologies," The Annals of the "Stefan cel Mare" University of Suceava. Fascicle of The Faculty of Economics and Public Administration, "Stefan cel Mare" University of Suceava, Romania, Faculty of Economics and Public Administration, vol. 9(2(10)), pages 281-291, December.
  • Handle: RePEc:scm:ausvfe:v:9:y:2009:i:2(10):p:281-291
    as

    Download full text from publisher

    File URL: http://www.seap.usv.ro/annals/arhiva/ANNALS%20VOL.9,NR.2(10),2009%20fulltext.pdf
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    Java; JDBC; database access; SQL; JDO;
    All these keywords.

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:scm:ausvfe:v:9:y:2009:i:2(10):p:281-291. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Liviu Scutariu (email available below). General contact details of provider: https://edirc.repec.org/data/feusvro.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.