Lambda Expressions and the Stream API in Java 8

Lambda Expressions and the Stream API in Java 8

Tuesday, June 17, 2014

Lambda expressions have finally come to Java, allowing behavior to be assigned to variables and passed into methods as well as data. We’ll have a look at the syntax for lambda expressions, see how they can replace anonymous inner classes, and experiment with the various functional interfaces provided in the standard library.
Using lambda expressions, the new Stream API for Collections allows developers to break out of the traditional, imperative, ‘for/while’ style of collection manipulation in favor of a syntax that is far more expressive and intentional. We’ll take a quick look at how we can replace basic looping constructs with streams before moving on to producing more complex data manipulations using dynamic strategies. Finally, we’ll see how we can reduce execution times by taking advantage of the native concurrency features of the stream API.

About the Author

Noah Kriegel works at ThoughtWorks, and serves as the Market Technical Principal for the SouthEast. He has been an IT consultant in various industries for the last 16 years and a software developer for the last 20.
Posted in Meetings
AJUG Meetup

Building and Deploying 12 Factor Apps in Scala and Java

June 20, 2017

The twelve-factor app is a modern methodology for building software-as-a-service apps:

• Use declarative formats for setup automation, to minimise time and cost for new developers joining the project.

• Have a clean contract with the underlying operating system, offering maximum portability between execution environments.

• Are suitable for deployment on modern cloud platforms, obviating the need for servers and systems administration.

• Minimise divergence between development and production, enabling continuous deployment for maximum agility.

• And can scale up without significant changes to tooling, architecture, or development practices.

We will build a RESTful web service in Java and deploy the app to CloudFoundry. We will go over how to build a cloud manifest, how to keep our database credentials and application configuration outside of our code by using user-provided services and go over what it takes to build a 12 Factor application in the cloud. This presentation will be heavy on code and light on slides!

Location:


Roam Dunwoody

1155 Mount Vernon Highway NE
Atlanta, GA 30338 (map)

AJUG Tweets

Follow @atlantajug on twitter.

Recent Jobs