Skip to main content

Posts

Showing posts with the label Java6

Monitor and diagnose performance in Java SE 6

Java™ Platform, Standard Edition 6 (Java SE) focuses on performance, with expanded tools for managing and monitoring applications as well as diagnosing common problems. This article outlines the basis of monitoring and management in the Java SE platform and provides detailed information about the relevant enhancements in Java SE 6. Java SE 6 provides an in-depth focus on performance, offering expanded tools for managing and monitoring applications and for diagnosing common problems. The improvements include: Monitoring and management API enhancements Official support for an improved graphical monitoring tool called JConsole Enhanced instrumentation of the Java virtual machine (JVM) This article outlines the basis of monitoring and management in the Java SE platform and provides detailed information about the performance monitoring and management enhancements in the latest release. It also describes the diagnostic and troubleshooting tools available in the Java SE 6 platform. Link: Moni...

Java 6 Feature : Working with Derby Database

The Java 5 and Java 6 releases have introduced some significant changes. While Java 5 introduces new features (e.g. Generics, Variable arguments, Enhanced for loop , Boxing/unboxing , Type-safe enumerations, Static import , Metadata), Java 6 installation includes a lightweight database known as Derby . Derby is actually an Apache Database project. Derby is a transactional, relational database and provides a small footprint on disk. When you install Java 6, core libraries, example programs, and a sample database gets automatically installed. Derby has a command-line tool called ij . This tool provides a way to connect to and manipulate Derby databases. To connect to Derby is quite easy. You need to have following jar files in the classpath to enable you to access Derby: D:\tools\jdk1.6.0_01\db\lib\derby.jar D:\tools\jdk1.6.0_01\db\lib\derbytools.jar The derby.jar has JDBC drivers, while derbytools.jar contains the ij tool. Once you have configured the classpath for Derby, open the com...