Marching ahead with Java 7                      Towards Excellence…Naresha K.,Software CraftsmanTwitter: @naresha_k
DisclaimerThe features discussed in this presentation areyet to make their public (GA) release and youare advised not to u...
Our expectationhttp://www.flickr.com/photos/bbalaji/5201413253/
The realityhttp://www.flickr.com/photos/majax1/5273616661/
Why are we desperate?     JDK 1.0   1995     JDK 1.1   1997     JDK 1.2   1998     JDK 1.3   2000     JDK 1.4   2002     J...
Why are we desperate?     JDK 1.0   1995     JDK 1.1   1997     JDK 1.2   1998     JDK 1.3   2000     JDK 1.4   2002     J...
Java 1995 - 2008    Language     Platform
Java 2008 - 2020    Language    Platform
Java Beyond Java
Language Changeshttp://www.flickr.com/photos/pastalane/2703741606/
Project Coin
Strings in switch
Strings in switch
Strings in switch
Numeric literals
Numeric literals
Numeric literals
Numeric literals
Multi-catch & precise re throw
Multi-catch
Multi-catch
Precise throw
Precise throw
Precise throw
Precise throw
Precise throw
Generic type inference
Generic type inference
Generic type inference
try with resources
try with resources
try with resources
try with resources
try with resources
Simplified var args
Simplified var args – JDK 1.6
Simplified var args – JDK 1.7
Simplified var args – JDK 1.7
IDE Support
Themes                      Performance       Productivity                 UniversalityCompatibility          Themes      ...
Java 7 JSRs  JSR    • Java 7  336      changes        JSR   • Invoke        292     Dynamic        JSR   • Project        ...
G1 Garbage Collector
Invoke instructionsinvokestaticinvokespecialinvokeinterfaceInvokevirtualinvokedynamic
invokedynamic
API Improvementpublic void compareDemo() {  int a = 10;  int b = 20;  // Java 6  int result =  Integer.valueOf(a).compareT...
Happy Journeyhttp://www.flickr.com/photos/mspoggis/2205184489/
Happy Journey
Marching ahead with Java 7
Upcoming SlideShare
Loading in …5
×

Marching ahead with Java 7

970
-1

Published on

Overview of new features in Java 7

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
970
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
11
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Marching ahead with Java 7

  1. 1. Marching ahead with Java 7 Towards Excellence…Naresha K.,Software CraftsmanTwitter: @naresha_k
  2. 2. DisclaimerThe features discussed in this presentation areyet to make their public (GA) release and youare advised not to use them in productionenvironments.The opinions or views expressed in thispresentation are solely of the speaker and donot necessarily represent the views of myemployer.
  3. 3. Our expectationhttp://www.flickr.com/photos/bbalaji/5201413253/
  4. 4. The realityhttp://www.flickr.com/photos/majax1/5273616661/
  5. 5. Why are we desperate? JDK 1.0 1995 JDK 1.1 1997 JDK 1.2 1998 JDK 1.3 2000 JDK 1.4 2002 JDK 1.5 2004 JDK 1.6 2006 JDK 1.7 
  6. 6. Why are we desperate? JDK 1.0 1995 JDK 1.1 1997 JDK 1.2 1998 JDK 1.3 2000 JDK 1.4 2002 JDK 1.5 2004 JDK 1.6 2006 JDK 1.7 7/28
  7. 7. Java 1995 - 2008 Language Platform
  8. 8. Java 2008 - 2020 Language Platform
  9. 9. Java Beyond Java
  10. 10. Language Changeshttp://www.flickr.com/photos/pastalane/2703741606/
  11. 11. Project Coin
  12. 12. Strings in switch
  13. 13. Strings in switch
  14. 14. Strings in switch
  15. 15. Numeric literals
  16. 16. Numeric literals
  17. 17. Numeric literals
  18. 18. Numeric literals
  19. 19. Multi-catch & precise re throw
  20. 20. Multi-catch
  21. 21. Multi-catch
  22. 22. Precise throw
  23. 23. Precise throw
  24. 24. Precise throw
  25. 25. Precise throw
  26. 26. Precise throw
  27. 27. Generic type inference
  28. 28. Generic type inference
  29. 29. Generic type inference
  30. 30. try with resources
  31. 31. try with resources
  32. 32. try with resources
  33. 33. try with resources
  34. 34. try with resources
  35. 35. Simplified var args
  36. 36. Simplified var args – JDK 1.6
  37. 37. Simplified var args – JDK 1.7
  38. 38. Simplified var args – JDK 1.7
  39. 39. IDE Support
  40. 40. Themes Performance Productivity UniversalityCompatibility Themes Integration
  41. 41. Java 7 JSRs JSR • Java 7 336 changes JSR • Invoke 292 Dynamic JSR • Project 334 Coin JSR 203 • NIO 2
  42. 42. G1 Garbage Collector
  43. 43. Invoke instructionsinvokestaticinvokespecialinvokeinterfaceInvokevirtualinvokedynamic
  44. 44. invokedynamic
  45. 45. API Improvementpublic void compareDemo() { int a = 10; int b = 20; // Java 6 int result = Integer.valueOf(a).compareTo(Integer.valueOf(b)); // Java 7 result = Integer.compare(a, b);}
  46. 46. Happy Journeyhttp://www.flickr.com/photos/mspoggis/2205184489/
  47. 47. Happy Journey
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×