RSS feed [root] /weblog /java




login:

password:

title search:




 


Thu Apr 06 06:33:22 GMT 2023

java



(google search) (amazon search)
second
download zip of files only

Thu May 03 07:30:15 GMT 2007 From /weblog/java/hacks

jar


This should not really matter for deployment case, but for development which keep on restarting may be useful

http://ant.apache.org/manual/CoreTasks/jar.html#indexjars

Edit JAR in code - http://www.java-tips.org[..]og/java-se/how-to-modify-a-jar-file.html

(google search) (amazon search)


Fri Apr 27 10:44:05 GMT 2007 From /weblog/java/swing

Transparent


Use swing to make transparent window - http://rabbit-hole.blogspot.com[..]java-transparent-windows-x11-update.html http://rabbit-hole.blogspot.com[..]com/2007/04/alpha-mask-transparency.html

(google search) (amazon search)


Fri Apr 27 08:12:43 GMT 2007 From /weblog/java/hacks

Throws NULL


We can just

throw null;


in java, but probably not a good idea for most case

http://beanman.wordpress.com[..]hrowing-null-with-different-jvm-options/

(google search) (amazon search)


Tue Apr 24 11:57:20 GMT 2007 From /weblog/java/swing

HTMLEditor sample


A nice reading - http://www.orablogs.com/duffblog/archives/001445.html

How to load image Synchronously when printing - http://jroller.com/page/ethdsy?entry=printing_html_and_the_image


(google search) (amazon search)


Sat Apr 14 16:09:24 GMT 2007 From /weblog/java/swing

autocomplete


An auto-completing TextArea in Swing - http://javainsel.blogg.de/eintrag.php?id=73

(google search) (amazon search)


Sat Apr 14 15:48:36 GMT 2007 From /weblog/java/annotation

validate


Using 1.5 metadata and annotations to validate web application

http://www.onjava.com/lpt/a/5572
http://java.sun.com[..]ticles/J2SE/constraints/annotations.html

(google search) (amazon search)


Sat Apr 14 15:45:35 GMT 2007 From /weblog/java/swing

debug


Add debug event - http://www.jroller.com[..]e/gfx?entry=dynamic_debugging_with_swing

WE can program user input event in java - http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Robot.html

(google search) (amazon search)


Sun Apr 01 10:38:36 GMT 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)


Fri Mar 30 11:04:10 GMT 2007 From /weblog/java/performance

multi-core cpu


A simple test to see how your code work at multi-core CPU - http://www.cretesoft.com/archive/newsletter.do?issue=135

JRocky tested their JVM can use 4.5 TB memory - http://dev2dev.bea.com[..]ahl/archive/2007/03/the_biggest_jvm.html

(google search) (amazon search)


Mon Mar 19 06:26:33 GMT 2007 From /weblog/java/servlet

framework


Framework that port RCP application directly on web

http://www.infoq.com/news/2007/03/eclipse-atf-rap

(google search) (amazon search)


Tue Feb 27 11:48:20 GMT 2007 From /weblog/java/servlet

jsp


Issue of pre-compile jsps, and how to overcome - http://blog.objectmentor.com[..]es/2007/02/03/ant-jspc-and-other-horrors

(google search) (amazon search)


Thu Feb 15 09:34:38 GMT 2007 From /weblog/java/hacks

Interesting and useless trick


change intern String: http://cretesoft.com/archive/newsletter.do?issue=014

limitation of string size, parameter list length, ... etc: http://javaspecialists.co.za[..]ive/newsletter.do?issue=059&locale=en_US and http://www.javaspecialists.co.za/archive/newsletter.do?issue=121
Related is Size limitation of Java String - http://www.oreillynet.com/lpt/wlg/6303

generating nullpointerexception from throw NULL: http://fishbowl.pastiche.org/2003/04/30/throwing_null

When no nullpointerexception when object is null: http://fishbowl.pastiche.org/2006/01/17/random_java_trivia

(google search) (amazon search)


Thu Feb 15 09:19:25 GMT 2007 From /weblog/java/features

aspect


Tutorial of using AOP for security - http://www.informit.com[..]ticles/printerfriendly.asp?p=340869&rl=1

(google search) (amazon search)


Wed Feb 14 07:28:56 GMT 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 05:04:23 GMT 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)


Thu Feb 08 07:14:44 GMT 2007 From /weblog/java/swing

comparison


A blog compare GUI thread coding of swing, c# and coca - http://www.ditchnet.org[..]nvoking-a-method-on-the-main-gui-thread/

(google search) (amazon search)


Tue Feb 06 09:28:38 GMT 2007 From /weblog/java/fundamental

Integer


Interesting aspect of Integer.valueOf()

http://tech.puredanger.com/2007/02/01/valueof/

(google search) (amazon search)


Thu Feb 01 06:32:46 GMT 2007 From /weblog/java/servlet

jsf


discuss of jsf performance issue - http://www.mail-archive.com[..]m/users@myfaces.apache.org/msg24571.html

(google search) (amazon search)


Fri Jan 26 07:12:59 GMT 2007 From /weblog/java/annotation

XML and Annotation


Comparsion of XML and Annotation - http://evolutionarygoo.com/blog/?p=54

(google search) (amazon search)


Thu Jan 18 17:11:24 GMT 2007 From /weblog/java/libraries

java web start


How to debug JWS/JNLP

The easiest way found, that works since 1.5:

set JAVAWS_TRACE_NATIVE=1
set JAVAWS_VM_ARGS=-Xdebug
-Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,
address=8989,server=y,suspend=n
javaws http://server:port/descriptor.jnlp

http://icoloma.blogspot.com/2005/06/how-to-debug-jwsjnlp.html

And somebody report problem of using it, not sure if sun respond to any of those - http://www.dynamicobjects.com/d2r/archives/002859.html

(google search) (amazon search)


Thu Jan 18 08:05:38 GMT 2007 From /weblog/java/performance

clustering


In this article, the authors draw from their practical experience to list and discuss some critical considerations when building J2EE applications so that they can be deployed in a clustered environment without requiring any code changes.

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

Someone tested that using Terrcotta is much better than RMI broadcast - http://pojomojo.blogspot.com[..]educing-bottlenecks-in-jee-stack_14.html

(google search) (amazon search)


Wed Jan 17 07:01:54 GMT 2007 From /weblog/java/servlet

client side web server


Web application can do something funny at client side, here is an example of sync google calender with client side embedded database.

http://today.java.net[..]6/synchronizing-web-client-database.html

(google search) (amazon search)


Wed Jan 10 07:26:39 GMT 2007 From /weblog/java/servlet

sessionid


http://randomcoder.com/articles/jsessionid-considered-harmful

(google search) (amazon search)


Wed Jan 10 06:54:38 GMT 2007 From /weblog/java/fundamental

bean


A blog that cover some basic concept of javabean - http://weblogs.java.net[..]air/archive/2007/01/properties_in_j.html

(google search) (amazon search)


Fri Dec 29 10:20:06 GMT 2006 From /weblog/java/features

DoubleBraceInitialization


http://www.c2.com/cgi/wiki?DoubleBraceInitialization

(google search) (amazon search)