Do you want to know how to develop your skillset to become a Java Rockstar?
Subscribe to our newsletter to start Rocking right now!
To get you started we give you our best selling eBooks for FREE!
1. JPA Mini Book
2. JVM Troubleshooting Guide
3. JUnit Tutorial for Unit Testing
4. Java Annotations Tutorial
5. Java Interview Questions
and many more ....
I agree to the Terms and Privacy Policy

Launch Single-File Source-Code Programs in JDK 11

JEP 330 – Launch Single-File Source-Code Programs is one of the exciting features in the upcoming JDK 11(18.9) release. This feature allows executing your java source code directly using the java interpreter. The source code is compiled in memory and then executed by the interpreter. The limitation is that all the classes have to be defined in the same file. ...

Read More »

6 Log Management Tools You NEED to Know (And How to Use Them)

java-interview-questions-answers

Without the right tools to aggregate and parse your log data, finding and understanding the information you’re looking for is nearly impossible There are endless uses for logs because the logs themselves are endless. Application logs, security logs, BI logs, Lincoln logs (Ok, maybe not)… Setting aside security, BI and childhood fun for a moment, even looking specifically at uses ...

Read More »

Java 8 map(), flatMap() examples

Using map () method When programming, it is very common, processing data in order to collect some information from a collections of objects. Let’s say, we wanted find out the cities from all the employees in a particular company. Our employee class will be as follows. public class Employee { private String name; private Integer age; private String city; private ...

Read More »

Apache Camel 2.22 Released with Spring Boot 2 support

Today we released the latest Apache Camel 2.22.0 release which is the first release to officially fully support Spring Boot 2. This is a major effort as the Spring Boot v1 to v2 upgrade for a big framework like Apache Camel took some effort – so many thanks to the Camel team and the contributions. The support for Spring Boot ...

Read More »

Spring Security with Spring Boot 2.0: Securing your endpoints

spring-interview-questions-answers

Up until now in our previous posts we had our endpoints and controllers secured using the default spring security configuration. When Spring Security is on the classpath, the auto-configuration secures all endpoints by default. When it comes to complex applications we need different security policies per endpoints. We need to configure which endpoints should be secured, what type of users ...

Read More »

Developing with CUBA – a big shift from Spring?

spring-interview-questions-answers

Reading requirements for yet another web project for internal corporate use you (at least myself) usually see a pretty common set: well-defined data storage structure (or sometimes it’s an existing legacy DB), lots of forms for data entry, quite complex business logic, reporting and integrations with lots of existing corporate systems from accounting to supply management, thousands of concurrent users. ...

Read More »

3 Pitfalls Everyone Should Avoid with Hybrid Multicloud (Part 3)

The daily cloud hype is all around you, yet there are three pitfalls everyone should avoid. From cloud, hybrid cloud, to hybrid multicloud, you’re told this is the way to ensure a digital future for your business. These choices you’ve got to make don’t preclude the daily work of enhancing your customer’s experience and agile delivery of those applications. Let’s ...

Read More »

What’s Wrong With Global Variables?

Only lazy people haven’t written already about how global variables are evil. It started in 1973 when W. Wulf et al. claimed that “the non-local variable is a major contributing factor in programs which are difficult to understand.” Since then, many other reasons where suggested to convince programmers to stop using global variables. I think I read them all, but didn’t ...

Read More »

How to use filter() method in Java 8

Java 8 Stream interface introduces filter() method which can be used to filter out some elements from object collection based on a particular condition. This condition should be specified as a predicate which the filter() method accepts as an argument. The java.util.function.Predicate interface defines an abstract method named test() that accepts an object of generic type T and returns a ...

Read More »