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

Lazy assignment in Java

Programmers are inherently lazy and similis simili gaudet also like when the programs are lazy. Have you ever heard lazy loading? Or lazy singleton? (I personally prefer the single malt version though.) If you are programming in Scala or Kotlin, which is also a JVM language you can even evaluate expressions in a lazy way. If you are programming in ...

Read More »

How To Setup Integration Tooling for CodeReady Studio 12

The release of the latest Red Hat developer suite version 12 brings with it a name change from Red Hat JBoss Developer Studio to Red Hat CodeReady Studio. The focus here is not on the Red Hat CodeReady Workspaces, a cloud and container development experience, but on the locally installed developers studio. The new release brings with it the questions ...

Read More »

@Component vs @Repository vs @Service in Spring

spring-interview-questions-answers

Introduction: With Spring’s auto-scanning feature, it automatically detects various beans defined in our application. We usually annotate our beans using one of the available Spring annotations – @Component, @Repository, @Service, @Controller. On detecting the bean, Spring simply registers it into the ApplicationContext. In this quick tutorial, we’ll look at the difference between @Component, @Repository, and, @Service Spring annotations. @Component: We ...

Read More »

Spring Core Annotations

spring-interview-questions-answers

Introduction: Spring annotations present in the org.springframework.beans.factory.annotation and org.springframework.context.annotation packages are commonly known as Spring Core annotations. We can divide them into two broad categories: DI-Related Annotations & Context Configuration Annotations: In this tutorial, we’ll explore all of these Spring Core annotations. DI-Related Annotations: 1. @Autowired: We use @Autowired to mark the dependency which will be injected by the Spring container. ...

Read More »

IoT: A New Revolution in the Business World

The major technology research companies’ forecasts that the verge of IoT is radically developing the traditional way of living and the typical manner of our communities. Actually, IoT has the capability to make our process of living more efficient in many ways. Virtually, all industry will get the beneficial outcome of the proliferation of the Internet of Thing in our ...

Read More »

LinkedHashMap In Java

Introduction: LinkedHashMap is a Map implementation which maintains the insertion order of its elements. It extends the HashMap class: public class LinkedHashMap<K,V> extends HashMap<K,V> implements Map<K,V> Just like a HashMap, it allows storing one null key and many null values. Instantiating LinkedHashMap: We can use one of the following constructors to create a LinkedHashMap: LinkedHashMap() //default capacity 16 with load factor ...

Read More »

Java Text Blocks

In the 13 May 2019 post “RFR: Multi-line String Literal (Preview) JEP [EG Draft]” on the OpenJDK amber-spec-experts mailing list, Jim Laskey announced a draft feature JEP named “Text Blocks (Preview)” (JDK-8222530). Laskey’s post opens with (I’ve added the links), “After some significant tweaks, reopening the JEP for review” and he is referring to the draft JEP that was started ...

Read More »

JavaScript Generators Example

Greetings readers! In this tutorial, we will explore the JavaScript Generators. 1. JavaScript Generators – Introduction JavaScript is an object-oriented programming language that allows the client-side scripting to interact with a user and deliver the dynamic pages. Most web browsers including Google Chrome, Mozilla Firefox, Safari, Internet Explorer, Microsoft Edge, Opera, etc. support it. The JavaScript scripting language includes: Declaring ...

Read More »