본문 바로가기

반응형

emotional developer/detect-Java

Build RESTful web services using Spring 3 http://www.ibm.com/developerworks/web/library/wa-spring3webserv/index.html 더보기
Using of Collections.emptyList() the right way in Java 1.5+ http://gochev.org/2010/07/using-of-collectionsemptylist-right-way.html 상당히 재미 있는 코드 스타일, 작은 것에서 차이가 날 수 있겠다. Answer 5: The right but strange looking answer. Book myCrazyBook=new Book(); myCrazyBook.setTitles(Collections.emptyList()); Yes this is not a joke there is a dot (.) then the generic type before the method name. This compiles, runs, no warnings thats the real way. It is a little strange .. 더보기
How to Conduct Effective Code Reviews http://java.dzone.com/articles/how-conduct-effective-code?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed:+javalobby/frontpage+(Javalobby+/+Java+Zone) 코드 리뷰 관련 포스트. 공감 할 내용이 많다. 핵심 문장만 기억하자. 1.A good code review always goes beyond the obvious 2.Try to avoid becoming the bottleneck in the review process (I am not a big process weenie!!) 3.A process is just an enabler not the end in itself.. 더보기
Enum Types http://download.oracle.com/docs/cd/E17409_01/javase/tutorial/java/javaOO/enum.html An enum type is a type whose fields consist of a fixed set of constants. Common examples include compass directions (values of NORTH, SOUTH, EAST, and WEST) and the days of the week.Because they are constants, the names of an enum type's fields are in uppercase letters. In the Java programming language, you define.. 더보기
JSP are more than templates http://css.dzone.com/articles/jsp-are-more-templatesThe concept of Java Server Pages is simple: submerge Java code and some special directives into an HTML page to add dynamic capabilities to it. Obviously, this process can go out of hand when complex logic scatters into an untestable JSP, with operations like database querying deeply coupled to HTML generation.In this article, I'll present some.. 더보기
StringBuilder vs StringBuffer http://javaj2eeplanet.blogspot.com/2008/11/stringbuilder-vs-stringbuffer.html StringBuffer is used to store character strings that will be changed (String objects cannot be changed). It automatically expands (buffer size) as needed. Related classes: String, CharSequence. StringBuilder was added in Java 5.0. It is identical in all respects to StringBuffer except that it is not synchronized, which.. 더보기
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 더보기