• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Advice for legacy developers using Java 8 and 9

 
Ranch Hand
Posts: 122
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Everyone lauds the benefits of new language constructs and APIs, Meanwhile, excited developers line up, eager
to use the new features. It’s a rosy picture—except for the fact that most developers are charged with maintaining
and enhancing existing applications, not creating new ones from scratch.

So is there anything in the new releases that are aimed at developers working on legacy Java applications?
Is there anything that makes your life easier, while at the same time allowing you to use the exciting new features
that have come out.

Thanks
Sathya
 
Bartender
Posts: 1868
81
Android IntelliJ IDE MySQL Database Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
One item which you may not be aware of is default methods inside of interfaces, which you can read about here:
https://docs.oracle.com/javase/tutorial/java/IandI/defaultmethods.html

Official Oracle Trail wrote:Default methods enable you to add new functionality to the interfaces of your libraries and ensure binary compatibility with code written for older versions of those interfaces.


I wonder if this would allow you to use some of the newer language features like Lambdas and Streams with legacy code?

It's very possible (and likely) that there are other items which help out with regards to legacy code as well.
 
reply
    Bookmark Topic Watch Topic
  • New Topic