Circular dependencies in Spring

In this post, we will discuss one of the most asked Spring interview questions. What happens if there are circular dependencies in Spring. Table of ContentsProblemSolutionRedesignSetter injection@Lazy with @Autowired annotation@PostConstruct with @Autowired annotation Problem What …

Java Regex for alphanumeric characters

In this post, we will see how to create regex alphanumeric which will create only alphanumeric characters. There are times when you need to validate user’s input. It should contain only characters from a-z, A-Z …

Java – Create new file

There are many ways to create a file in java. Creating a file is a very easy task. We will learn 5 different ways to Create a file. Table of ContentsUsing java.io.File class’s createNewFile methodUsing …

Java enum with String

In this quick tutorial, how to create String constants using enum, convert String to enum etc. You can go though complete enum tutorial here. Let’s create java enum String constants. Create java enum String  …

What is Yarn in Hadoop?

The Hadoop ecosystem is going through the continuous evolution. Its processing frameworks are also evolving at full speed with the time. Hadoop 1.0 has passed the limitation of the batch-oriented MapReduce processing framework for the …

What is MapReduce in Hadoop?

The heart of Apache Hadoop is Hadoop MapReduce. It’s a programming model used for processing large datasets in parallel across hundreds or thousands of Hadoop clusters on commodity hardware. The framework does all the works; …

Collections in java

In this tutorial, we will see  about Collections in java. Collection framework is core part of java programming language. It is used in almost all the applications. Collections framework provides a way to store and …

Java interview questions

I have written a lot of java interview questions and this is index posts for all java interview questions. I will keep adding more interview questions to this post. Table of ContentsCore JavaCore java interview …

Join Our News Letter - Stay Updated

Subscribe to Awesome Java Content.
You can like our facebook page Java2blog