본문 바로가기

반응형

Java

Java 7 : The new try-with-resources statement http://www.baptiste-wicht.com/2010/08/java-7-try-with-resources-statement/ 정말 매력적인 기능!! java7 쓸만 하겠다, private static void customBufferStreamCopy(File source, File target) { try (InputStream fis = new FileInputStream(source); OutputStream fos = new FileOutputStream(target)){ byte[] buf = new byte[8192]; int i; while ((i = fis.read(buf)) != -1) { fos.write(buf, 0, i); } } catch (Exception e) { e.p.. 더보기
5 things you didn't know about ... Command-line flags for the JVM http://www.ibm.com/developerworks/java/library/j-5things11/index.html 1. DisableExplicitGC I can't tell you how many times I've been asked to consult on an application performance problem, done a quick grep across the code, and found what's shown in Listing 1 — the original Java performance antipattern: Listing 1. System.gc(); // We just released a bunch of objects, so tell the stupid // garbage.. 더보기
Spring 3.0 doc, http://static.springsource.org/spring/docs/3.0.0.RELEASE/reference/html/ II. What's New in Spring 3.02. New Features and Enhancements in Spring 3.02.1. Java 52.2. Improved documentation2.3. New getting started tutorial2.4. New module organization and build system2.5. Overview of new features2.5.1. Core APIs updated for Java 52.5.2. Spring Expression Language2.5.3. The Inversion of Control (IoC) .. 더보기
mutable. java. http://www.javaranch.com/journal/2003/04/immutable.htm http://blog.naver.com/wildrunner?Redirect=Log&logNo=40072615173 더보기
Effective Java Reloaded Effective Java Reloaded Joshua Bloch Chief Java Architect Google Inc. 더보기
Java Code Conventions 번역 by 박용우.doc 더보기
자바 예외처리 프로그래밍 (2001.03) 더보기
Java GC. http://en.wikipedia.org/wiki/Garbage_collection_%28computer_science%29 Garbage collection (computer science)From Wikipedia, the free encyclopediaJump to: navigation, searchIn computer science, garbage collection (also known as GC) is a form of automatic memory management. The garbage collector or collector attempts to reclaim garbage, or memory used by objects that will never again be accessed o.. 더보기