SlideShare a Scribd company logo
JDK 1.6 change summary
 Collections Framework Enhancements
 XML and Web services support
 More Annotation types & More flexible
annotation processing
 Support for scripting languages
 JDBC 4.0 support
 Application client GUI enhancements for both
AWT and Swing
 Java compiler APIs accessible from programs
•What is new in the Collections ?
 Deque - a double ended queue, supporting element
insertion and removal at both ends. Extends the Queue
interface.
 BlockingDeque - a Deque with operations that wait for
the deque to become non-empty when retrieving an
element, and wait for space to become available in the
deque when storing an element. Extends both the
Deque and BlockingQueue interfaces. (This interface is
part of java.util.concurrent.)
•What is new in the Collections?(cont)
 NavigableMap - a SortedMap extended with navigation methods
returning the closest matches for given search targets. A
NavigableMap may be accessed and traversed in either
ascending or descending key order. This interface is intended to
supersede the SortedMap interface. ConcurrentNavigableMap - a
ConcurrentMap that is also a NavigableMap. (This interface is part
of java.util.concurrent.)
 The Arrays utility class now has methods copyOf and
copyOfRange that can efficiently resize, truncate, or copy
subarrays for arrays of all types.
Before:
int[] newArray = new int[newLength];
System.arraycopy(oldArray, 0, newArray, 0, oldArray.length);
After: int[] newArray = Arrays.copyOf(a, newLength);
•XML and Web services support
 Java SE 6 address the growth of Web services and
XML processing in the Java community including
support for
 Web Services client stack
 Streaming API for XML (StAX)
 Java Architecture for XML Binding (JAXB) 2.0
 Java API for XML-based Web services (JAX-WS) 2.0
Web services metadata
 XML digital signature API
More Annotation types & More flexible
annotation processing?
Annotations were in Java 5.0 allowing developers to embed
metadata in Java source code Java SE 6 includes additional
built-in annotation types and annotation-processing APIs
including:
 Web services metadata for the Java Platform (JSR 181)
 Common Annotations for the Java Platform (JSR 250)
 Pluggable Annotation Processing API (JSR 269)
Support for scripting languages?
Framework to connect Java programs to scripting
language interpreters (JSR 223)
Java SE 6 includes JSR 223: Scripting for the Java™
Platform API.This is a framework by which Java
Applications can "host" script engines.
Sun's implementation of Java SE 6 includes an
example script engine based on Mozilla
Rhino:JavaScript for Java
Support script: Ruby, groovy, javascript
•What is JDBC 4.0 support ?
Java SE 6 includes JDBC 4.0; designed to
improve ease of JDBC development
Simplified access to relational data sources
with utility classes
Use of generics and annotations
Addition of JDBC 4.0 wrapper pattern
Safe access to vendor-specific APIs
Automatic driver discovery
Enhanced connection management
New data types (including XML and SQL ROWID)
Application GUI Client APIs
 Java SE 6 enhances application GUI capabilities with changes to
both AWT and Swing AWT
Faster splash screens (using native code)
System tray support (icons & messages)
Access to browsers and other desktop application “helpers”
 Swing
Improved drag-and-drop support
Enhanced layout customization
Simplified multi-thread programming
Writing of GIF images
Java compiler APIs accessible from programs
 Java command-line compilers receive input from the file
system and report errors using a stream
 Java SE 6 allows the compiler to receive input and/or
send output to an abstraction of the file system
 Java programs may now specify compiler directives and
process compiler output (this feature was add mostly due
to software vendor requests)
?

More Related Content

What's hot (20)

PPTX
Java 8 Feature Preview
Jim Bethancourt
 
PPTX
55 New Features in Java SE 8
Simon Ritter
 
PDF
Alternatives of JPA/Hibernate
Sunghyouk Bae
 
PPTX
Java 8 Features
Trung Nguyen
 
PDF
JUnit5 and TestContainers
Sunghyouk Bae
 
PDF
Scala @ TechMeetup Edinburgh
Stuart Roebuck
 
PDF
Web注入+http漏洞等描述
fangjiafu
 
PPTX
Getting started with Java 9 modules
Rafael Winterhalter
 
PDF
Core Java - Quiz Questions - Bug Hunt
CodeOps Technologies LLP
 
PDF
Productive Programming in Java 8 - with Lambdas and Streams
Ganesh Samarthyam
 
DOCX
Advance Java Programs skeleton
Iram Ramrajkar
 
PDF
Modern Programming in Java 8 - Lambdas, Streams and Date Time API
Ganesh Samarthyam
 
PDF
2 P Seminar
Linkiby Belarus
 
PPTX
모던자바의 역습
DoHyun Jung
 
PPTX
Java concurrency questions and answers
CodeOps Technologies LLP
 
ODP
Synapseindia reviews.odp.
Tarunsingh198
 
PDF
Scala coated JVM
Stuart Roebuck
 
PDF
Java >= 9
Benjamin Pack
 
Java 8 Feature Preview
Jim Bethancourt
 
55 New Features in Java SE 8
Simon Ritter
 
Alternatives of JPA/Hibernate
Sunghyouk Bae
 
Java 8 Features
Trung Nguyen
 
JUnit5 and TestContainers
Sunghyouk Bae
 
Scala @ TechMeetup Edinburgh
Stuart Roebuck
 
Web注入+http漏洞等描述
fangjiafu
 
Getting started with Java 9 modules
Rafael Winterhalter
 
Core Java - Quiz Questions - Bug Hunt
CodeOps Technologies LLP
 
Productive Programming in Java 8 - with Lambdas and Streams
Ganesh Samarthyam
 
Advance Java Programs skeleton
Iram Ramrajkar
 
Modern Programming in Java 8 - Lambdas, Streams and Date Time API
Ganesh Samarthyam
 
2 P Seminar
Linkiby Belarus
 
모던자바의 역습
DoHyun Jung
 
Java concurrency questions and answers
CodeOps Technologies LLP
 
Synapseindia reviews.odp.
Tarunsingh198
 
Scala coated JVM
Stuart Roebuck
 
Java >= 9
Benjamin Pack
 

Viewers also liked (6)

PDF
Adobe Flex 3 - Compiler API
eugeneyh
 
PPT
JDK1.7 features
india_mani
 
PPT
Jdk1.5 Features
india_mani
 
PDF
New Features Of JDK 7
Deniz Oguz
 
PPTX
Presentation on Android operating system
Salma Begum
 
PPT
Android ppt
blogger at indiandswad
 
Adobe Flex 3 - Compiler API
eugeneyh
 
JDK1.7 features
india_mani
 
Jdk1.5 Features
india_mani
 
New Features Of JDK 7
Deniz Oguz
 
Presentation on Android operating system
Salma Begum
 
Ad

Similar to JDK1.6 (20)

PPT
Netbeans 6.1 Talk
Angad Singh
 
PPT
Rollin onj Rubyv3
Oracle
 
PPTX
Introduction Java Web Framework and Web Server.
suranisaunak
 
PDF
Java 8 in Anger (QCon London)
Trisha Gee
 
PDF
Java 8 in Anger, Devoxx France
Trisha Gee
 
PPT
Java New Evolution
Allan Huang
 
PPT
Java for Recruiters
ph7 -
 
PPT
Websphere Application Server v7
Chris Sparshott
 
PPTX
IBM Websphere introduction and installation for beginners
Shubham Gupta
 
PPTX
Devjyotippt
Gaurav pathak
 
PPTX
Platform for Enterprise Solution - Java EE5
abhishekoza1981
 
PDF
Busy developer-html5-javaee7
Geertjan Wielenga
 
PDF
10 Best Node.js framework choices for app development in 2024 and Beyond
Agile Infoways LLC
 
PPT
Lecture 19 dynamic web - java - part 1
Д. Ганаа
 
PDF
8i r3 nfs
Anil Pandey
 
PDF
Java Version History.pdf
SudhanshiBakre1
 
PPT
Lecture 19 - Dynamic Web - JAVA - Part 1.ppt
KalsoomTahir2
 
PPTX
WebLogic Developer Experience and Java EE 6
Jeffrey West
 
PPTX
2301109044-JINAMAANASA.pptx introduction to jdbc
kavipriyahari1980
 
DOCX
Jboss
Sridhar Rapala
 
Netbeans 6.1 Talk
Angad Singh
 
Rollin onj Rubyv3
Oracle
 
Introduction Java Web Framework and Web Server.
suranisaunak
 
Java 8 in Anger (QCon London)
Trisha Gee
 
Java 8 in Anger, Devoxx France
Trisha Gee
 
Java New Evolution
Allan Huang
 
Java for Recruiters
ph7 -
 
Websphere Application Server v7
Chris Sparshott
 
IBM Websphere introduction and installation for beginners
Shubham Gupta
 
Devjyotippt
Gaurav pathak
 
Platform for Enterprise Solution - Java EE5
abhishekoza1981
 
Busy developer-html5-javaee7
Geertjan Wielenga
 
10 Best Node.js framework choices for app development in 2024 and Beyond
Agile Infoways LLC
 
Lecture 19 dynamic web - java - part 1
Д. Ганаа
 
8i r3 nfs
Anil Pandey
 
Java Version History.pdf
SudhanshiBakre1
 
Lecture 19 - Dynamic Web - JAVA - Part 1.ppt
KalsoomTahir2
 
WebLogic Developer Experience and Java EE 6
Jeffrey West
 
2301109044-JINAMAANASA.pptx introduction to jdbc
kavipriyahari1980
 
Ad

Recently uploaded (20)

PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PDF
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PPTX
The Future of AI & Machine Learning.pptx
pritsen4700
 
PDF
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
PPTX
Farrell_Programming Logic and Design slides_10e_ch02_PowerPoint.pptx
bashnahara11
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PPTX
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PPTX
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
PPTX
Agile Chennai 18-19 July 2025 | Workshop - Enhancing Agile Collaboration with...
AgileNetwork
 
PDF
TrustArc Webinar - Navigating Data Privacy in LATAM: Laws, Trends, and Compli...
TrustArc
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PDF
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
The Future of AI & Machine Learning.pptx
pritsen4700
 
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
Farrell_Programming Logic and Design slides_10e_ch02_PowerPoint.pptx
bashnahara11
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
AVL ( audio, visuals or led ), technology.
Rajeshwri Panchal
 
Agile Chennai 18-19 July 2025 | Workshop - Enhancing Agile Collaboration with...
AgileNetwork
 
TrustArc Webinar - Navigating Data Privacy in LATAM: Laws, Trends, and Compli...
TrustArc
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 

JDK1.6

  • 1. JDK 1.6 change summary
  • 2.  Collections Framework Enhancements  XML and Web services support  More Annotation types & More flexible annotation processing  Support for scripting languages  JDBC 4.0 support  Application client GUI enhancements for both AWT and Swing  Java compiler APIs accessible from programs
  • 3. •What is new in the Collections ?  Deque - a double ended queue, supporting element insertion and removal at both ends. Extends the Queue interface.  BlockingDeque - a Deque with operations that wait for the deque to become non-empty when retrieving an element, and wait for space to become available in the deque when storing an element. Extends both the Deque and BlockingQueue interfaces. (This interface is part of java.util.concurrent.)
  • 4. •What is new in the Collections?(cont)  NavigableMap - a SortedMap extended with navigation methods returning the closest matches for given search targets. A NavigableMap may be accessed and traversed in either ascending or descending key order. This interface is intended to supersede the SortedMap interface. ConcurrentNavigableMap - a ConcurrentMap that is also a NavigableMap. (This interface is part of java.util.concurrent.)  The Arrays utility class now has methods copyOf and copyOfRange that can efficiently resize, truncate, or copy subarrays for arrays of all types. Before: int[] newArray = new int[newLength]; System.arraycopy(oldArray, 0, newArray, 0, oldArray.length); After: int[] newArray = Arrays.copyOf(a, newLength);
  • 5. •XML and Web services support  Java SE 6 address the growth of Web services and XML processing in the Java community including support for  Web Services client stack  Streaming API for XML (StAX)  Java Architecture for XML Binding (JAXB) 2.0  Java API for XML-based Web services (JAX-WS) 2.0 Web services metadata  XML digital signature API
  • 6. More Annotation types & More flexible annotation processing? Annotations were in Java 5.0 allowing developers to embed metadata in Java source code Java SE 6 includes additional built-in annotation types and annotation-processing APIs including:  Web services metadata for the Java Platform (JSR 181)  Common Annotations for the Java Platform (JSR 250)  Pluggable Annotation Processing API (JSR 269)
  • 7. Support for scripting languages? Framework to connect Java programs to scripting language interpreters (JSR 223) Java SE 6 includes JSR 223: Scripting for the Java™ Platform API.This is a framework by which Java Applications can "host" script engines. Sun's implementation of Java SE 6 includes an example script engine based on Mozilla Rhino:JavaScript for Java Support script: Ruby, groovy, javascript
  • 8. •What is JDBC 4.0 support ? Java SE 6 includes JDBC 4.0; designed to improve ease of JDBC development Simplified access to relational data sources with utility classes Use of generics and annotations Addition of JDBC 4.0 wrapper pattern Safe access to vendor-specific APIs Automatic driver discovery Enhanced connection management New data types (including XML and SQL ROWID)
  • 9. Application GUI Client APIs  Java SE 6 enhances application GUI capabilities with changes to both AWT and Swing AWT Faster splash screens (using native code) System tray support (icons & messages) Access to browsers and other desktop application “helpers”  Swing Improved drag-and-drop support Enhanced layout customization Simplified multi-thread programming Writing of GIF images
  • 10. Java compiler APIs accessible from programs  Java command-line compilers receive input from the file system and report errors using a stream  Java SE 6 allows the compiler to receive input and/or send output to an abstraction of the file system  Java programs may now specify compiler directives and process compiler output (this feature was add mostly due to software vendor requests)
  • 11. ?