It’s been a long time coming, but we’re glad it’s here. Oracle just announced the arrival of Java 8 – a long-anticipated update which includes the addition of lambda expressions and support for functional programming. Here’s a look at some of the new features and why they are important to engineering at MuleSoft.
Java on Tiny Devices
Java SE is an impressive platform, but with all that functionality comes a large footprint. A new feature called subsetting or striping allows you to deploy only those components required for a particular application instead of the entire Java SE runtime environment. Ideal for tony devices that require small footprints. With Android already topping 80 percent of the smartphone market and 50 billion connected devices expect to be on the planet by 2020, that seems like a really smart thing for even greater adoption. Our Anypoint Plaform for APIs will provide the connectivity and back-bone for much of this device connectivity so it’s an important improvement for us.
Developers should find some of the new Streams APIs with it’s functional-style operations such as parallel map/reduce great for bulk data operations and faster data processing. It fits well with our recent new features for supporting batch processing and improved data processing which you can read about here.
As always Java 8 brings lots of security fixes, unicode updates, concurrency improvements and a lot more.
The Missing Stuff
Some new proposed features like Jigsaw were dropped from the release. It’s a pity since modularity and interoperability are still a big problem in Java. We leverage a lot of 3rd party open source libraries and have felt the pain when dealing with multiple class loaders and managing runtime dependencies.
MuleSoft has Java and Open Source at our roots and we continue to invest heavily in Java. We’re looking forward to working with Java 8.