Tracing and Logging
Tracing and Logging includes the following topics: Tracing Tracing is a facility to redirect any output in the Java Console to a trace file. Java Plug-in Tracing can be turned on by enabling the property javaplugin.trace. 0 — off1 — basic2 — network, cache, and basic3 — security, network and basic4 — extension, security, network and basic5 — LiveConnect, extension, security, network, temp, and basic This enables tracing on the fly. Another way to set fine-grained tracing is through the Java Control Panel. -Djavaplugin.trace=true -Djavaplugin.trace.option=basic|net|cache|security|ext|liveconnect|temp Tracing set through the Control Panel will take effect when the Plug-in is launched, but changes made through the Control Panel while a Plug-in is running will have no effect until restart. Java Web Start To set the initial trace level for a Java Web Start application set the deployment property deployment.trace.level. basiccachenetsecurityextliveconnect Logging Other Options File Names
Deploying Java Web Start Applications (The Java™ Tutorials > Deployment > Java Web Start)
To deploy your Java Web Start application, first compile the source code, package it as a JAR file, and sign the JAR file. Java Web Start applications are launched by using the Java Network Launch Protocol (JNLP). Hence, you must create a JNLP file to deploy your application. The Deployment Toolkit script contains useful JavaScript functions that can be used to deploy Java Web Start applications on a web page. If you are unfamiliar with these deployment technologies, review the Deployment In-Depth lesson before proceeding. Here are some step-by-step instructions to package and deploy your application. Click the following Launch button to launch the Dynamic Tree Demo application. A browser with JavaScript enabled is required for this page to operate properly. Note: If you don't see the example running, you might need to enable the JavaScript interpreter in your browser so that the Deployment Toolkit script can function properly.
Animal Sniffer - Animal Sniffer CLI
What is this? This simple command line tool looks at Java class files and determine the format version number. The common use case of this tool is to figure out what is the offending jar file when you see UnsupportedClassVersionError. Usage This tool can accept any number of: Class filesJar filesDirectories When directories are given, they are recursively scanned for class files and jar files. The tool produces output like the following, so use the grep command to filter out the list:
Certified Programmer for the Java Platform, Standard Edition 6 (CX-310-065)
Oracle acquired Sun Microsystems in 2010, and since that time Oracle's hardware and software engineers have worked side-by-side to build fully integrated systems and optimized solutions designed to achieve performance levels that are unmatched in the industry. Early examples include the Oracle Exadata Database Machine X2-8, and the first Oracle Exalogic Elastic Cloud, both introduced in late 2010. During 2011, Oracle introduced the SPARC SuperCluster T4-4, a general-purpose, engineered system with Oracle Solaris that delivered record-breaking performance on a series of enterprise benchmarks. Oracle's SPARC-based systems are some of the most scalable, reliable, and secure products available today. Sun's prized software portfolio has continued to develop as well, with new releases of Oracle Solaris, MySQL, and the recent introduction of Java 7.
The new Java Caching Standard (javax.cache)
This post explores the new Java caching standard: javax.cache. How it Fits into the Java Ecosystem This standard is being developed by JSR107, of which the author is co-spec lead. JSR107 has draft status. Adoption Vendors who are either active members of the expert group or have expressed interest in implementing the specification are: Terracotta – EhcacheOracle – CoherenceJBoss – InfinispanIBM – ExtemeScaleSpringSource – GemfireGridGainTMaxGoogle App Engine Java Terracotta will be releasing a module for Ehcache to coincide with the final draft and then updating that if required for the final version. Features From a design point of view, the basic concepts are a CacheManager that holds and controls a collection of Caches. Optional Features Rather than split the specification into a number of editions targeted at different user constituencies such as Java SE and Spring/EE, we have taken a different approach. Firstly, for Java SE style caching there are no dependencies. Getting the Code
Best Java IDE to do more high-quality code in less time
Java 8 & Java EE 7 Support Straightforward User Interface Editor New Features New Tools for Android Developers Refined Gradle Integration New Tools for Database Access IntelliJ IDEA 13.1, the Java IDE with the fastest-growing mindshare, includes support for Java 8 and Java EE 7, new tools for Android development, the editor enhancements, and refined Gradle integration. IntelliJ IDEA 13 adopts Java 8 and Java EE 7, the latest versions of Oracle's Java language and enterprise platform, along with support for new versions of enterprise application servers. The new editor comes with Sublime Text style multiple selections and also introduces Postfix code completion, a new kind of completion for Java which extends your productivity even more. IntelliJ IDEA 13.1, the Java IDE with the fastest-growing mindshare, includes enhanced support for Java EE 7, better Spring support, new tools for Android development and refined Gradle integration.
Home — Project Kenai