Do you want to know how to develop your skillset to become a Java Rockstar?
Subscribe to our YouTube channel to start Rocking right now!
Gain access to the industrys' best FREE video guides including:
1. Core Java guides
2. Enterprise Java guides
3. JVM insights, configuration and troubleshooting guides
4. Java performance guides
5. Java Interview Questions
and many more ....

Spring Security

spring-interview-questions-answers

There are many authentication mechanisms (basic, digest, form, X.509, etc), and there are many storage options for credentials and authority information (in-memory, database, LDAP, etc). Authorization depends on authentication and determines if you have the required Authority. The decision process is often based on roles (e.g. ADMIN, MEMBER, GUEST, etc). There are three steps to set up and configure Spring ...

Read More »

Apache Camel 3.7 (LTS) Released – The fastest Camel ever

The Apache Camel 3.7 was released some days ago. This is a LTS release which means we will provide patch releases for one year. The next planned LTS release is 3.10 scheduled towards summer 2021. So what’s in this release This release introduces a set of new features and noticeable improvements that we will cover in this blog post. Pre ...

Read More »

Jakarta MVC 2.0 Released

java-interview-questions-answers

Jakarta MVC 2.0 passed the release review ballot and is now ratified as a final specification according to the Jakarta EE Specification Process (JESP). The last steps for the project team after the ballot are to release the staged artifacts to Maven Central and verify that all published information is correct. That has now been done, and I have listed ...

Read More »

JDK 16: Stream to List In One Easy Call

As Java functional streams have become increasingly popular, an increasing number of requests is being made for new stream operations to be supported. Amidst these requests for numerous disparate new operations, one operation that seems to be requested more than the others is an operation that directly provides a List from a Stream. JDK 16 Early Access Build 27 introduces ...

Read More »

Java’s String.repeat Method in Action: Building PreparedStatement with Dynamic Number of Parameters

Java’s String.repeat(int) method is an example of a “small” addition to Java (introduced with JDK 11) that I find myself frequently using and appreciating. This post describes use of JDK 11-introduced String.repeat(int) for easier custom generation of SQL WHERE clauses with the appropriate number of “?” parameter placeholders for use with PreparedStatements. Many Java developers do not need to manually ...

Read More »

HATEOAS without links

java-interview-questions-answers

Yes, I know this title sounds stupid, but could not find something that fits better. So let me explain why I think that links in HATEOAS APIs are not always that useful. If you don’t know what HATEOAS is, I recommend reading my Introduction to Hypermedia REST APIs first. REST APIs with HATEOAS support provide two main features for decoupling ...

Read More »