A quick and practical comparison between lambda expressions and anonymous inner classes.
Search Results for: anonymous function definition
Convert Anonymous Class into Lambda in Java
A reminder of what an anonymous class is and how to convert it to a lambda expression.
Functional Programming in Java
A comprehensive overview of Functional Programming in Java.
OAuth2 Backend for Frontend With Spring Cloud Gateway
In this tutorial, we implement the OAuth2 Backend for Frontend (BFF) pattern with Spring Cloud Gateway and spring-addons.
Spring @EnableMethodSecurity Annotation
Learn the main features of @EnableMethodSecurity and how it replaces @EnableGlobalMethodSecurity.
How to Mock HttpServletRequest
Learn multiple ways to mock a HttpServletRequest object when unit testing Servlet code in Java.
Sorting Objects in a List by Date
Learn how to sort a Java Collection by Date object in both ascending and descending modes.
Access Control Models
Explore different access control models and how applications use them to enforce access rules.
Closures in Groovy
Explore the concept of closures in Groovy, a key feature of this dynamic and powerful JVM language.
Building a Web Application with Spring Boot and Angular
Have a look into building a web application with a Spring REST back-end and Angular front-end.
Introduction to EJB JNDI Lookup on WildFly Application Server
Learn how to implement a basic EJB module on WildFly and call an EJB from a remote client via JNDI.
Guide to Spring Retry
A quick and practical guide to implementing retry logic with Spring Retry
Exceptions in Java 8 Lambda Expressions
A quick and practical guide to dealing with Lambda Expressions and exceptions
Java Concurrency Interview Questions (+ Answers)
A set of popular concurrency-related Java interview questions and of course answers.
Java Type System Interview Questions
A set of Java type system related interview questions
Guide to the Java 8 forEach
A quick and practical guide to Java 8 forEach
JPA Criteria Queries
Quick and practical guide to using Criteria Queries mechanism in Hibernate
Baeldung Weekly Review 17
A week full of must-reads – from pragmatic career advice for developers that are new in the field, to solid, grounded advice on password use.
Spring Events
The Basics of Events in Spring – create a simple, custom Event, publish it and handle it in a listener.
Java 8 – Powerful Comparison with Lambdas
Elegant Sort in Java 8 – Lambda Expressions go right past syntactic sugar and bring powerful functional semantics into Java.