JDK 7 출시 기념 (2011.7)JDK 7 소개 #6 기타 기능 소개<br />김용환<br />knight76.tistory.com<br />Knight76 at gmail.com<br />1<br />
XML stack 버전 변경<br />JAXP 1.4<br />http://jaxp.java.net/1.4/ReleaseNotes.html<br />JAXB 2.2a<br />http://jaxb.java.net/non...
JDBC 4.1 업그레이드<br />Derby가 DataSource에 추가<br />Autoloading of JDBC drivers<br />SQLExceptions구체화<br />많은 Wrappers<br />Sta...
RowSet 1.1<br />RowSetFactory, RowSetProvider<br />Connection과 Statement 없이 rowset을 쉽게 가져올 수 있음<br />개발자는 Connection, Stat...
Class-loader<br />ClassLoader API 수정 / non-hierarchical class-loader 상태에서 데드락을 피할 수 있게 함<br />http://download.oracle.com/j...
JVM Performance 향상<br />JDK6 후반 버전부터 이미 적용<br />http://download.oracle.com/javase/7/docs/technotes/guides/vm/performance-e...
GC<br />G1<br />CMS을 대체하기 위한 알고리즘<br />JDK6 후반부터 나옴<br />http://download.oracle.com/javase/7/docs/technotes/guides/vm/G1.h...
IONET<br />TLS 1.2<br />SCTP (Stream Control Transmission Protocol)<br />http://openjdk.java.net/projects/sctp/javadoc/b10...
Client (Graphics)<br />Create new platform APIs for 6u10 graphics features <br />Nimbus look-and-feel for Swing <br />Swin...
Collections 추가<br />IntefaceTransferQueue<E><br />extends BlockingQueue<E><br />message passing applications에 적합<br /> (co...
Collections 추가<br />Class LinkedTransferQueue<E><br />extends TransferQueue<E><br />
java.util.Objects추가<br />Static 메소드<br />12<br />
Strict class-file checking<br />Jdk7 이후부터는 class 파일들은 모두 typechecking verifier로 verified 해야 함<br />JSR 202 §4.11.1 (http:/...
JDK8 이후<br />Language and VM support for modular programming<br />Annotations on Java types<br />Language support for coll...
Java Platform Standard Edition 7 Documentation<br />http://download.oracle.com/javase/7/docs/<br />
End of Document<br />
Upcoming SlideShare
Loading in...5
×

Jdk(java) 7 - 6 기타기능

1,511

Published on

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,511
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Jdk(java) 7 - 6 기타기능"

  1. 1. JDK 7 출시 기념 (2011.7)JDK 7 소개 #6 기타 기능 소개<br />김용환<br />knight76.tistory.com<br />Knight76 at gmail.com<br />1<br />
  2. 2. XML stack 버전 변경<br />JAXP 1.4<br />http://jaxp.java.net/1.4/ReleaseNotes.html<br />JAXB 2.2a<br />http://jaxb.java.net/nonav/2.2/docs/<br />JAX-WS 2.2<br />http://jax-ws.java.net/nonav/2.2/docs/ReleaseNotes.html<br />http://jcp.org/en/jsr/detail?id=224<br />
  3. 3. JDBC 4.1 업그레이드<br />Derby가 DataSource에 추가<br />Autoloading of JDBC drivers<br />SQLExceptions구체화<br />많은 Wrappers<br />Statement events<br />PooledConnection에 addStatementEventListener / removeStatementEventListener추가<br />Streaming APIs<br /> InputStream 과 java.io.Reader에 set/update 추가<br />New methods<br />try with resource<br />try (Statement sampleStmt = sampleCon.createStatement())<br />
  4. 4. RowSet 1.1<br />RowSetFactory, RowSetProvider<br />Connection과 Statement 없이 rowset을 쉽게 가져올 수 있음<br />개발자는 Connection, Statement에 대한 close 할 필요가 없음<br />public void rowsetTest(String userName, String password) throws SQLException {<br />RowSetFactoryexampleRowSetFactory = null;<br />JdbcRowSetrowSet= null;<br />exampleRowSetFactory= RowSetProvider.newFactory();//com.sun.rowset.RowSetFactoryImpl<br />rowSet= exampleRowSetFactory.createJdbcRowSet();<br />rowSet.setUrl("jdbc:sampleDriver:sampleAttribute");<br />rowSet.setUsername(userName);<br />rowSet.setPassword(password);<br />rowSet.setCommand("select id, name, addrfrom student");<br />rowSet.execute();<br />}<br />
  5. 5. Class-loader<br />ClassLoader API 수정 / non-hierarchical class-loader 상태에서 데드락을 피할 수 있게 함<br />http://download.oracle.com/javase/7/docs/technotes/guides/net/ClassLoader.html<br />http://download.oracle.com/javase/7/docs/technotes/guides/lang/cl-mt.html<br />ClassLoader<br />Object getClassLoadingLock(String className)<br />void registerAsParallelCapable()<br />URLClassLoader<br />InputStreamgetResourceAsStream(String name)<br />void close()<br />
  6. 6. JVM Performance 향상<br />JDK6 후반 버전부터 이미 적용<br />http://download.oracle.com/javase/7/docs/technotes/guides/vm/performance-enhancements-7.html<br />옵션<br />-server -XX:+TieredCompilation.<br />-XX:+UseCompressedOops<br />-XX:+UseNUMA<br />-XX:+DoEscapeAnalysis<br />
  7. 7. GC<br />G1<br />CMS을 대체하기 위한 알고리즘<br />JDK6 후반부터 나옴<br />http://download.oracle.com/javase/7/docs/technotes/guides/vm/G1.html<br />
  8. 8. IONET<br />TLS 1.2<br />SCTP (Stream Control Transmission Protocol)<br />http://openjdk.java.net/projects/sctp/javadoc/b10/index.html<br />SDP (Sockets Direct Protocol)<br />access to high performance network connections<br />http://download.oracle.com/javase/tutorial/sdp/sockets/overview.html<br />
  9. 9. Client (Graphics)<br />Create new platform APIs for 6u10 graphics features <br />Nimbus look-and-feel for Swing <br />Swing JLayer component <br />
  10. 10. Collections 추가<br />IntefaceTransferQueue<E><br />extends BlockingQueue<E><br />message passing applications에 적합<br /> (consumer/producer)<br />
  11. 11. Collections 추가<br />Class LinkedTransferQueue<E><br />extends TransferQueue<E><br />
  12. 12. java.util.Objects추가<br />Static 메소드<br />12<br />
  13. 13. Strict class-file checking<br />Jdk7 이후부터는 class 파일들은 모두 typechecking verifier로 verified 해야 함<br />JSR 202 §4.11.1 (http://jcp.org/en/jsr/detail?id=202)<br />4.11 Verification of class Files<br />JVM 스펙에서는4.10<br />http://jcp.org/aboutJava/communityprocess/maintenance/jsr924/JVMSpec-JavaSE7-ChangeLog.html<br />Compliance with JSR 202 (Java Class File Specification Update<br />
  14. 14. JDK8 이후<br />Language and VM support for modular programming<br />Annotations on Java types<br />Language support for collections<br />Project Lambda<br />Modularization (Project Jigsaw)<br />Swing application framework<br />Swing JDatePicker component<br />
  15. 15. Java Platform Standard Edition 7 Documentation<br />http://download.oracle.com/javase/7/docs/<br />
  16. 16. End of Document<br />

×