Wed Dec 20 09:56:31 GMT 2006 From /weblog/java/libraries/ant
config
Using properties
http://jroller.com[..]ntry=ant_filter_for_multiple_deployments
(google search) (amazon search)
download zip of files only Wed Dec 20 09:56:31 GMT 2006 From /weblog/java/libraries/ant configUsing properties http://jroller.com[..]ntry=ant_filter_for_multiple_deployments (google search) (amazon search) Wed Dec 20 06:48:55 GMT 2006 From /weblog/java/swing clipboardClear clipboard - http://jroller.com[..]Ruiz?entry=clearing_the_system_clipboard (google search) (amazon search) Mon Dec 18 17:57:42 GMT 2006 From /weblog/java/discussion port other code to javaThis look like a nice way to get legacy code to work with java, if it really work with more compehensive project http://binkley.blogspot.com[..]rilliant-c-to-mips-to-java-bytecode.html (google search) (amazon search) Sat Dec 09 10:18:34 GMT 2006 From /weblog/java/libraries TestingCookbook for junit 4 - http://today.java.net/lpt/a/341 (google search) (amazon search) Thu Nov 30 15:22:16 GMT 2006 From /weblog/java/hacks j2meoptimizing java class for j2me, look like just break all OO principle... http://blog.javia.org/?p=31 (google search) (amazon search) Wed Nov 22 11:38:38 GMT 2006 From /weblog/java/concurrency K-meanAn article introducing using K-mean algorithm in Java - http://www.javaworld.com/javaworld/jw-11-2006/jw-1121-thread.html (google search) (amazon search) Sat Nov 11 15:43:25 GMT 2006 From /weblog/java/discussion complaintSome interesting points, but I guess this guy will improve his productivity after familiar with java environment? - http://developers.slashdot.org[..]tsort=0&tid=156&mode=thread&cid=13845934 (google search) (amazon search) Sat Nov 11 10:03:05 GMT 2006 From /weblog/java/hacks bitwise operation on booleanbitwise operation on boolean The solution to the puzzle is given in the Java Language Specification, chapter 15.22.2: 15.22.2 Boolean Logical Operators &, ^, and | When both operands of a &, ^, or | operator are of type boolean, then the type of the bitwise operator expression is boolean. For &, the result value is true if both operand values are true; otherwise, the result is false. For ^, the result value is true if the operand values are different; otherwise, the result is false. For |, the result value is false if both operand values are false; otherwise, the result is true. http://beust.com/weblog/archives/000350.html Someone mentioned that there is no boolean, byte and short in byte code level, all just integer http://oddjava.com/?q=node/8 (google search) (amazon search) Tue Nov 07 05:11:24 GMT 2006 From /weblog/java/hacks securityPrevent System.exit() being call - http://jroller.com/page/ethdsy?entry=disabling_system_exit Usually security manager forbid it (google search) (amazon search) Tue Oct 31 09:16:31 GMT 2006 From /weblog/java/network low level tomcat ioIf you really stick to tomcat, then it might be useful for you http://www.webweavertech.com/costin/archives/000421.html (google search) (amazon search) Fri Oct 20 08:17:39 GMT 2006 From /weblog/java/annotation transformingAn idea to transform annotation at runtime - http://beust.com/weblog/archives/000418.html (google search) (amazon search) Fri Oct 20 08:00:52 GMT 2006 From /weblog/java/swing drag and dropHow to be done at SWT - http://alan.blog-city.com/swt_dragndrop.htm (google search) (amazon search) Thu Oct 12 10:20:38 GMT 2006 From /weblog/java/performance webImproving performance in distributed Web applications * Keep the session minimal - generally a bad idea to store shared objects in the session. * Don't bypass setAttribute - if you just call getAttribute() to retrieve the Vector and then add something to it without then calling setAttribute again, the container might not realize that Vector has been changed. * Use fine-grained session attributes - finer-grained objects in the session rather than one big monolithic object. * Invalidate when done - call HttpSession.invalidate() * Keep the session clean - remove reference to unuse thing to help GC http://www-106.ibm.com/developerworks/library/j-jtp07294.html (google search) (amazon search) Thu Oct 12 09:08:54 GMT 2006 From /weblog/java/network post at java codeOptimizing HTTP downloads in Java through conditional GET and compressed streams http://www.oreillynet.com/pub/wlg/5216 HTTP POST - URL url = new URL(BASE_URL); URLConnection con = url.openConnection(); // inform the connection that we will send output and accept input con.setDoInput(true); con.setDoOutput(true); // Don't use a cached version of URL connection. con.setUseCaches (false); con.setDefaultUseCaches (false); con.setRequestProperty("Content-Type", "application/x-www-form-urlencoded"); // define a new PrintWriter on the output stream PrintWriter outWriter = new PrintWriter(con.getOutputStream()); // send data to the servlet outWriter.print("htmlText="+inputHtml); outWriter.close(); InputStream input = con.getInputStream(); http://technology.amis.nl/blog/?p=1107 http://www.marcellosendos.ch/booking/documentation/chapter2.html (google search) (amazon search) Thu Oct 12 07:29:34 GMT 2006 From /weblog/java/concurrency FutureAn example of using Future API which availabe upon 1.5 JVM http://www.alittlemadness.com/?p=32 The other example, make a method timeout and interrupt for sure http://mrfeinberg.com/blog/archives/000016.html (google search) (amazon search) Tue Aug 08 16:59:46 GMT 2006 From /weblog/java/concurrency hardwareThere may be more issue rise at concurrency code, althrough I don't know why JVM can't/shouldn't take care all hardward change... http://www.theserverside.com[..]d_id=41602&asrc=EM_NNL_430426&uid=703565 (google search) (amazon search) Thu Aug 03 03:16:24 GMT 2006 From /weblog/java/j2me benchmarkA list of j2me benchmark tools http://blog.landspurg.net[..]small-guideto-j2me-benchmarktest-midlets (google search) (amazon search) Tue Jul 25 11:50:13 GMT 2006 From /weblog/java/network Setting user agentshttp://jawe.net/2006/07/23/setting-the-http-user-agent-in-java/ (google search) (amazon search) Wed Jul 12 08:09:26 GMT 2006 From /weblog/java/hacks Cracking class filesNo sure if that still valid, but look like encrypt class file don't help on protecting class. http://www.javaworld.com[..]ld/javaqa/2003-05/01-qa-0509-jcrypt.html (google search) (amazon search) Fri Jul 07 06:17:14 GMT 2006 From /weblog/java/libraries usbAn article introducing various APIs of using java to access USB device http://today.java.net/lpt/a/303 (google search) (amazon search) Thu Jul 06 08:23:59 GMT 2006 From /weblog/java/libraries/ant ProblemsAn nice articles about various issue of ant: http://jroller.com/page/rreyelts?entry=why_i_hate_ant involving ant with various scripting frontend of java may be a nice solution? http://www.google.com[..]&hs=f13&hl=en&lr=&client=opera&rls=zh-tw (google search) (amazon search) Mon Jun 26 06:32:59 GMT 2006 From /weblog/java/hacks trick for java 5New look of resultset, WebRowSet, http://www.onjava.com/lpt/a/6633 , but I personally don't think this is something useful Some information how using jmxagent: http://weblogs.java.net[..]nus/archive/2006/06/going_beyond_jd.html Just come across a nice article that discuss about various new features of 1.5 and provide tips on how to use them: http://java.sys-con.com/read/171487_p.htm Create collection quick List Or this: Map put("Java", "Wicked"); put("C++", "Ok"); put("Ruby", "Interesting"); }}; http://www.theserverside.com/blogs/thread.tss?thread_id=37839 (google search) (amazon search) Fri Jun 16 13:36:39 GMT 2006 From /weblog/java/features scripting supportA 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) Sat Jun 03 08:27:54 GMT 2006 From /weblog/java/features javaone slideshttp://agilejava.com/blog/?p=40 (google search) (amazon search) Thu Jun 01 15:03:02 GMT 2006 From /weblog/java/features javabeanIs 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) |