Your SlideShare is downloading. ×
Marching ahead with Java 7
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Marching ahead with Java 7

855
views

Published on

Overview of new features in Java 7

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
855
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Marching ahead with Java 7 Towards Excellence…Naresha K.,Software CraftsmanTwitter: @naresha_k
  • 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. Our expectationhttp://www.flickr.com/photos/bbalaji/5201413253/
  • 4. The realityhttp://www.flickr.com/photos/majax1/5273616661/
  • 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. 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. Java 1995 - 2008 Language Platform
  • 8. Java 2008 - 2020 Language Platform
  • 9. Java Beyond Java
  • 10. Language Changeshttp://www.flickr.com/photos/pastalane/2703741606/
  • 11. Project Coin
  • 12. Strings in switch
  • 13. Strings in switch
  • 14. Strings in switch
  • 15. Numeric literals
  • 16. Numeric literals
  • 17. Numeric literals
  • 18. Numeric literals
  • 19. Multi-catch & precise re throw
  • 20. Multi-catch
  • 21. Multi-catch
  • 22. Precise throw
  • 23. Precise throw
  • 24. Precise throw
  • 25. Precise throw
  • 26. Precise throw
  • 27. Generic type inference
  • 28. Generic type inference
  • 29. Generic type inference
  • 30. try with resources
  • 31. try with resources
  • 32. try with resources
  • 33. try with resources
  • 34. try with resources
  • 35. Simplified var args
  • 36. Simplified var args – JDK 1.6
  • 37. Simplified var args – JDK 1.7
  • 38. Simplified var args – JDK 1.7
  • 39. IDE Support
  • 40. Themes Performance Productivity UniversalityCompatibility Themes Integration
  • 41. Java 7 JSRs JSR • Java 7 336 changes JSR • Invoke 292 Dynamic JSR • Project 334 Coin JSR 203 • NIO 2
  • 42. G1 Garbage Collector
  • 43. Invoke instructionsinvokestaticinvokespecialinvokeinterfaceInvokevirtualinvokedynamic
  • 44. invokedynamic
  • 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. Happy Journeyhttp://www.flickr.com/photos/mspoggis/2205184489/
  • 47. Happy Journey