Transcript

A Little More

Mihail Stoynovmihail.stoynov.com

JavaDBA database implemented fully in javaBased on Apache DerbySQL-, JDBC- compliant

secureTransaction management, stored procedures,

triggers, concurrency, and backups2MBCould be used in J2ME applications, applets

Apache DerbyEmbedded Derby

Runs inside the client’s VMUses a special driver to load the engine

Derby Network ServerRuns inside its own VMOpens a port, waits for connections, like a

normal DB

Using Derby

JDBC 4.0XML Support

Support for the SQL 2003 XML data typeSQL exception handling enhancements

Transient and Non-Transient subclassesAuto-loading of JDBC driver class

No more Class.forName with DriverManagerMETA-INF/services/java.sql.Driver file

JDBC 4.0Connection management enhancementsSupport for ROWID SQL type

RowID interface addedDataSet implementation of SQL using

AnnotationsImproved support for Large Objects

BLOBs, CLOBs

What about the desktopGray Rect FixSingle Threaded Rendering (STR)Native Look & Feel

UxTheme API usedLCD TextTable Sorting and

FilteringModal dialogs

What about the desktopSplash screen

Can go even before the VMDesktop API

Can launch default browser, native mail client…

No more scary security dialog boxNote: show derbytax

New System Tray Functionality

Desktop APISystem tray functionality

New Security Features and EnhancementsAccess Microsoft CryptoAPI and Its

Cryptographic ServicesAccess PKCS#11 Cryptographic Services

(smart cards)Access Native GSS-API (Kerberos)Import and Export PKCS#12 KeystoresAccess LDAP through JAAShttp://java.sun.com/javase/6/docs/technotes/

guides/security/enhancements.htmlhttp://java.sun.com/developer/

technicalArticles/J2SE/security/#4

Further readingPluggable annotation processing

Plug-ins to the compilerConfigured which annotations to processCan check naming conventions, for examplehttp://www.artima.com/forums/flat.jsp?

forum=276&thread=179769Compiler API

Control the compiler at runtime

A Little More

Mihail Stoynovmihail.stoynov.com


Top Related