본문 바로가기

반응형

Java

JavaTM SE 6 Release Notes - Features and Enhancements http://java.sun.com/javase/6/webnotes/features.html JavaTM SE 6 Release Notes Features and Enhancements JDK Documentation Java Platform, Standard Edition 6 is a major feature release. The following list highlights many of the significant features and enhancements in Java SE 6 since the prior major release, J2SE 5.0. It is followed by a detailed table with links to related bugs, enhancements, and.. 더보기
Collection ArrayList TreeSet : Keeps the elements sorted and prevents duplicates HashMap : Let's you store and access elements as name/value pairs LinkedList : Designed to give better performance when you insert or delete elements from the middle of the collection HashSet : Prevents duplicates in the collection, and given an element, can find that element in the collection quickly. LinkedHashMap : Like a r.. 더보기
객체 직렬화(Object Serialization) Object Serialization - 객체를 직렬화하는 경우, 참조변수와 관련있는 객체들도 함께 직렬화된다. - Serializable 인터페이스를 구현한 객체는 직렬화 가능 - Super클래스가 Serializable이면, Sub클래스는 명시적으로 구현하지 않아도 Serializable - 직렬화처리를 전체 성공하지 못하는 경우에는 fail처리됨(부분적으로 성공하는 경우는 있을 수 없음) - 직렬화에서 제외시키고자 할 때 : transient 키워드 사용하면 직렬화 처리시 제외됨 - 직렬화할 경우, 클래스 내부에 static final long serialVersionUID = *******L;을 명시하면, deserialize시 발생하는 사소한 클래스변경에 따른 문제를 해결할수 있다. - 명령창에.. 더보기
Wrapping a primitive Wrapping a primitiveBoolean Character Byte Short Integer Long Float Doublewrapping a valueint i = 288 Integer iWrap = new Integer(i);unwrapping a valueint unWrapped = iWrap.intValue();Head First Java, 2nd Edition, p.287Autoboxing In Java 5.0, the conversion from primitive to wrapper object automatically.public void doNumsNewWay() { ArrayList listOfNumbers = new ArrayList(); listOfNumbers.add(3);.. 더보기
Java 개발환경 설정 - UltraEdit 버전 PC바뀔 때 마다 밥 먹듯이 반복해야 하는 일들... Eclipse와 같은 IDE도 좋지만 기초를 익히려면 UltraEdit에서 개발하는 쪽이 더 좋다. 1. Java SDK Download 설치 : http://java.sun.com Downloads코너에서 다음 파일을 받아서 설치한다. 현재 최신버전은 다음과 같다. Windows Platform - J2SE(TM) Development Kit 5.0 Update 8 Windows Offline Installation, Multi-language jdk-1_5_0_08-windows-i586-p.exe 49.52 MB 2. 로컬PC 설치경로 C:\Work\Java\~~~~~하위에 설치한다. 설치 후 환경변수의 PATH를 지정한다. 3. Ultra에서 .. 더보기
Java SE 7와 Java EE 6을 구성할 신기술들 ● Java SE 7 - JSR 277 Java Module System - JSR 292 Supporting Dynamically Typed Languages on the Java Platform - JSR 294 Improved Modularity Support in the Java Programming Language - JSR 295 Beans Binding - JSR 296 Swing Application Framework● Java EE 6 - JSR 208 Java Business Integration (JBI) - JSR 225 XQuery API for Java (XQJ) - JSR 235 Service Data Objects (SDO) - JSR 283 Content Repository.. 더보기
Dog Legging Java (자바 개발환경 설정하기) Dog Legging Java 1. 개발환경설정 JDK 내려받기 : Sun Developer Network -> http://developers.sun.com/ Eclipse 내려받기 : Eclipse.org -> http://www.eclipse.org/downloads/ Eclipse Plugin 내려받기 : SourceForge.net -> http://sourceforge.net UltraEdit 내려받기 : IDM UltraEdit -> http://www.ultraedit.com/ 2. 코딩가이드 Code Conventions for the JavaTM Programming Language -> http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc... 더보기
Java API Specifications Standard EditionJ2SE 1.5.0 Non-Core APIs included in JDK: APT Doclet JAAS JDI JDWP JGSS JNLP Management Extension, Management MIB Plugin DOM TagletJ2SE 1.4.2 J2SE 1.3.1 Enterprise EditionJ2EE 1.4 J2EE 1.3 J2EE 1.2.1 Micro EditionJ2ME JavacardJavacard Java Web ServicesJava Web Services XMLXML Other TechnologiesJava 3D Java Advanced Imaging (JAI) JavaBeans Activation Framework Java Communications .. 더보기

반응형