Java DB Based on Apache Derby
Total Page:16
File Type:pdf, Size:1020Kb
JAVA™ DB BASED ON APACHE DERBY What is Java™ DB? Java DB is Sun’s supported distribution of the open source Apache Derby database. Java DB is written in Java, providing “write once, run anywhere” portability. Its ease of use, standards compliance, full feature set, and small footprint make it the ideal database for Java developers. It can be embedded in Java applications, requiring zero administration by the developer or user. It can also be used in client server mode. Java DB is fully transactional and provides a standard SQL interface as well as a JDBC 4.0 compliant driver. The Apache Derby project has a strong and growing community that includes developers from large companies such as Sun Microsystems and IBM as well as individual contributors. How can I use Java DB? Java DB is ideal for: • Departmental Java client-server applications that need up to 24 x 7 support and the sophisti- cation of a transactional SQL database that protects against data corruption without requiring a database administrator. • Java application development and testing because it’s extremely easy to use, can run on a laptop, is available at no cost under the Apache license, and is also full-featured. • Embedded applications where there is no need for the developer or the end-user to buy, down- load, install, administer — or even be aware of — the database separately from the application. • Multi-platform use due to Java portability. And, because Java DB is fully standards-compliant, it is easy to migrate an application between Java DB and other open standard databases. • Browser-based Web (2.0) applications, for easy distribution, one-click install, secure local data storage, and data persistence for off-line use. • Applications running in a J2ME CDC environment (like PDAs) that need a small database (2MB) without sacrificing functionality: full SQL support, transaction management, stored procedures, triggers, concurrency, and backups. Why does Sun have its own distribution, Java DB? • Java DB uses the Apache Derby code base but may also include value-add modules or the newest patches or updates that have not yet been made available in official Derby releases. Java DB is not a code fork and Sun’s development work is contributed back to the Apache Derby project. • Sun offers support for Java DB, making it suitable for enterprise users or developers who would like the option of using their development database in production. Which Sun products use Java DB? Java DB is: • Part of the Java Development Kit (JDK™) from Java Platform Standard Edition 6.0 (Java SE 6). • The “stack” database in the Java Enterprise System, used as the Application Server’s developer database, and the Portal Server and Service Registry’s data stores. • Included with Java Studio Creator and supported by NetBeans™, and Java Studio Enterprise. • The out-of-the-box development database in the Sun Java Application Server PE 9.0+ and in the open community Glassfish™ implementation. • Part of the Ubuntu Java stack from v. 7.04 (Feisty Fawn ). Where can I get more information about Java DB/Derby? • http://developers.sun.com/javadb/ • http://db.apache.org/derby/ Sun Microsystems, Inc. 4150 Network Circle, Santa Clara, CA 95054 USA Phone 1-650-960-1300 or 1-800-555-9SUN Web sun.com © 2008 Sun Microsystems, Inc. All rights reserved. Sun, Sun Microsystems, the Sun logo, Java, GlassFish, and NetBeans are trademarks, registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. SunWIN #502706 Lit. #SWDS12634-1 04/08.