Download presentation
Presentation is loading. Please wait.
Published byMegan Holt Modified over 9 years ago
1
A Little More Mihail Stoynov mihail.stoynov.com mihail.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 client’s 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
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 and Filtering 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
Desktop API System tray functionality
10
New Security Features and Enhancements Access Microsoft CryptoAPI and Its Cryptographic Services Access PKCS#11 Cryptographic Services (smart cards) Access Native GSS-API (Kerberos) Import and Export PKCS#12 Keystores Access LDAP through JAAS http://java.sun.com/javase/6/docs/technotes/guides/s ecurity/enhancements.html http://java.sun.com/javase/6/docs/technotes/guides/s ecurity/enhancements.html http://java.sun.com/developer/technicalArticles/J2SE/ security/#4 http://java.sun.com/developer/technicalArticles/J2SE/ 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?forum=276&thr ead=179769 http://www.artima.com/forums/flat.jsp?forum=276&thr ead=179769 Compiler API Control the compiler at runtime
12
A Little More Mihail Stoynov mihail.stoynov.com mihail.stoynov.com
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.