??????? ? Java SE 6 - PowerPoint PPT Presentation

About This Presentation
Title:

??????? ? Java SE 6

Description:

A database implemented fully in java. Based on Apache Derby. SQL-, JDBC- compliant. secure ... used in J2ME applications, applets. Apache Derby. Embedded Derby ... – PowerPoint PPT presentation

Number of Views:321
Avg rating:3.0/5.0
Slides: 13
Provided by: c00l
Learn more at: https://www.devbg.org
Category:
Tags: apachebased | java

less

Transcript and Presenter's Notes

Title: ??????? ? Java SE 6


1
??????? ? Java SE 6
  • A Little More

Mihail Stoynovmihail.stoynov.com
2
JavaDB
  • A database implemented fully in java
  • Based on Apache Derby
  • SQL-, JDBC- compliant
  • secure
  • Transaction management, stored procedures,
    triggers, concurrency, and backups
  • 2MB
  • Could be used in J2ME applications, applets

3
Apache Derby
  • Embedded Derby
  • Runs inside the clients VM
  • Uses a special driver to load the engine
  • Derby Network Server
  • Runs inside its own VM
  • Opens a port, waits for connections, like a
    normal DB

4
Demo
  • Using Derby

5
JDBC 4.0
  • XML Support
  • Support for the SQL 2003 XML data type
  • SQL exception handling enhancements
  • Transient and Non-Transient subclasses
  • Auto-loading of JDBC driver class
  • No more Class.forName with DriverManager
  • META-INF/services/java.sql.Driver file

6
JDBC 4.0
  • Connection management enhancements
  • Support for ROWID SQL type
  • RowID interface added
  • DataSet implementation of SQL using Annotations
  • Improved support for Large Objects
  • BLOBs, CLOBs

7
What about the desktop
  • Gray Rect Fix
  • Single Threaded Rendering (STR)
  • Native Look Feel
  • UxTheme API used
  • LCD Text
  • Table Sorting andFiltering
  • Modal dialogs

8
What about the desktop
  • Splash screen
  • Can go even before the VM
  • Desktop API
  • Can launch default browser, native mail client
  • No more scary security dialog box
  • Note show derbytax
  • New System Tray Functionality

9
Demo
  • Desktop API
  • System tray functionality

10
New Security Features and Enhancements
  • Access Microsoft CryptoAPI and Its Cryptographic
    Services
  • Access PKCS11 Cryptographic Services (smart
    cards)
  • Access Native GSS-API (Kerberos)
  • Import and Export PKCS12 Keystores
  • Access LDAP through JAAS
  • http//java.sun.com/javase/6/docs/technotes/guides
    /security/enhancements.html
  • http//java.sun.com/developer/technicalArticles/J2
    SE/security/4

11
Further reading
  • Pluggable annotation processing
  • Plug-ins to the compiler
  • Configured which annotations to process
  • Can check naming conventions, for example
  • http//www.artima.com/forums/flat.jsp?forum276th
    read179769
  • Compiler API
  • Control the compiler at runtime

12
Q A
  • A Little More

Mihail Stoynovmihail.stoynov.com
Write a Comment
User Comments (0)
About PowerShow.com