[root] /weblog /java /features




login:

password:

title search:




 

Wed May 14 11:24:20 HKT 2008

features



(google search) (amazon search) second
download here

Wed May 28 19:50:40 HKT 2008 From /weblog/java/features

debugging


VisualVM , a collection of tools for debugging and monitoring - http://www.infoq.com/news/2008/05/visualvm

Presentation of BTrace, which allow user to have event base tracing - https://btrace.dev.java.net[..]ts/8510/98299/BTrace_BOF-5552_J12008.pdf

(google search) (amazon search)



Thu Jan 10 20:08:16 HKT 2008 From /weblog/java/features

jmx


sample code show how to get vm info at jmx - http://blogs.sun.com/jmxetc/entry/how_to_retrieve_remote_jvm

An excellent short tutorial of JMX - http://java.sun.com/developer/technicalArticles/J2SE/jmx.html

Monitoring all tomcat 5 JMX information, with free tools and java startup config - http://jroller.com[..]illiams/20050202#monitoring_tomcat_5_5_x

Task manager like jconsole plugin - http://blog.luminis.nl[..]is/entry/top_threads_plugin_for_jconsole

Performance cost of JMX - http://weblogs.java.net[..]nus/archive/2006/07/how_much_does_i.html

(google search) (amazon search)


Sat Dec 15 00:47:43 HKT 2007 From /weblog/java/features

java console support


In short:

static final int MIN_PASSWORD_LENGTH = 8;

char[] password;
do {
password = System.console().readPassword(
"Enter password (minimum of %d characters): ", MIN_PASSWORD_LENGTH);
} while (password.length < MIN_PASSWORD_LENGTH);


http://blogs.sun.com[..]e/alanb?entry=java_io_console_is_finally
http://www.javaspecialists.eu/archive/Issue153.html

(google search) (amazon search)



Tue Sep 11 00:19:46 HKT 2007 From /weblog/java/features

using Class.isAssignableFrom


If class A is subclass of B, then

B.isAssignableFrom(new A()) == true, and, new A().getClass() == B.class

However, when you object is generated using proxy tool like CGLIB

B.isAssignableFrom(new A()) == true, and, new A().getClass() != B.class

http://www.systemmobile.com/wp/?p=189

(google search) (amazon search)




Sat Apr 28 16:53:35 HKT 2007 From /weblog/java/features

image


Strategies of loading image, select difference API to load image in difference case - http://java.sun.com[..]rticles/Media/imagestrategies/index.html

The Perils of Image.getScaledInstance() , with more detail explanation of image handling - http://today.java.net[..]3/perils-of-image-getscaledinstance.html

(google search) (amazon search)


Sun Apr 01 18:38:36 HKT 2007 From /weblog/java/features

About Mustang


Some information worth to know about new java 6

Resource control , control fallback action if resource not found, and other feature - http://java.sun.com[..]pi/java/util/ResourceBundle.Control.html

A shell like console that allow you to manage JVM intern : http://blogs.sun.com[..]jan?entry=using_script_shell_plugin_with

Top 10 features: http://blogs.sun.com[..]an?entry=observability_top_10_in_mustang

New tools come with JDK 6 that help your development: http://www.weiqigao.com/blog/2006/02/18/new_toys_in_jdk_6.html

Examples about various tools - http://jroller.com/page/eyallupu?entry=jse_6_new_java_features

dynamic compilation - http://www.juixe.com[..]x.php/2006/12/13/java-se-6-compiler-api/

More detail of Out of memory error (OOME): http://blogs.sun.com[..]ntry=outofmemoryerror_looks_a_bit_better , this one show how is that better OOME stacktrace as well as wildcast classpath - http://jroller.com[..]pu?entry=java_se_6_outofmemeoryerror_and

Fix java bug by you!! http://download.java.net/jdk/JDK-Starter.html

Scripting support: http://today.java.net[..]6/04/11/scripting-for-java-platform.html http://www.onjava.com/lpt/a/6560

Use scripting support as bridge of java and jruby - http://jroller.com/page/mom?entry=tutorial_running_ruby_using_the

List of enchancement: http://java.sun.com/javase/6/jcp/beta/ http://blogs.sun.com[..]dannycoward?entry=the_10_things_you_need

dtrace support: http://blogs.sun.com[..]rarajan?entry=dtrace_java_turning_on_off http://blogs.sun.com[..]sundararajan?entry=using_dtrace_java_api

Compilation interface - http://weblogs.java.net[..]tball/archive/2006/09/hacking_javac.html

(google search) (amazon search)




Wed Feb 14 15:28:56 HKT 2007 From /weblog/java/features

ServiceLoader


Tutorial of service loader, which is more easy and clear to define and use the service of a jar - http://www.javaspecialists.co.za/archive/newsletter.do?issue=139

(google search) (amazon search)


Tue Feb 13 13:04:23 HKT 2007 From /weblog/java/features

system kill


Some observation of using system kill with difference input - http://weblogs.java.net[..]m/archive/2007/02/kill_and_kill_9_1.html

(google search) (amazon search)



Fri Oct 20 15:28:01 HKT 2006 From /weblog/java/features

JNI


Invoking Assembly Language Programs using java native interface - http://today.java.net/lpt/a/330

(google search) (amazon search)


Mon Sep 25 23:25:32 HKT 2006 From /weblog/java/features

javac encoding issues


Take a look if you don't externalized non-acsii character to resource bundle

http://jroller.com[..]chneller?entry=java_source_file_encoding

(google search) (amazon search)


Fri Jun 16 21:36:39 HKT 2006 From /weblog/java/features

scripting support



A pretty clever way to work with database and xml with groovy and springs

http://jroller.com/page/Solomon?entry=spring_2_0_and_groovydaos

(google search) (amazon search)



Thu Jun 01 23:03:02 HKT 2006 From /weblog/java/features

javabean


Is it have to support so much? Not sure for me...

http://weblogs.java.net[..]air/archive/2006/05/the_unknown_jav.html

(google search) (amazon search)




Thu Jan 12 17:41:29 HKT 2006 From /weblog/java/features

java commandline processing


A blog entry discuss various java commandline processing library: http://mult.ifario.us[..]11/command-line-argument-parsing-in-java

(google search) (amazon search)


Mon Nov 28 18:04:16 HKT 2005 From /weblog/java/features

using functional pointer style in java


In my own development, I find that delegates implementing interfaces are more useful than those using invoke. The buildRunnable method is especially useful. In Swing programming, where large numbers of Runnables are needed to pass control to the swing thread, the ability to turn methods into Runnables is particularly useful. Delegates allow me to largely eliminate the need for anonymous inner classes, improving the readability of my code.

http://www.onjava.com/lpt/a/3772

(google search) (amazon search)


Mon Nov 28 17:58:20 HKT 2005 From /weblog/java/features

javaworld articles collection


javaworld articles archive in java-channels: Selected from communities, most with comment

http://www.java-channel.org/query.jsp?host=www.javaworld.com

(google search) (amazon search)