5 Best Spring Framework Books in 2017

In this article we are listing out 5 best spring books for beginners. Spring is very light weight framework for developing enterprise applications. In the learning process of spring, first step is to know what spring framework is? We should have clear understanding about that and how it is useful for our applications and project then only we will be able to use spring efficiently. If we know why we are learning spring and its capabilities before learning then obviously

Read more

Spring Bean Scopes

In this tutorial we are going to learn about various kinds of bean scopes which are available in Spring framework. Spring Bean Definition Beans are objects which creates the backend of your any java enterprise application. Beans are maintained by Spring IoC container. Any bean is a simple object of bean class which is instantiated, configured and also maintained by Spring IoC container. These beans have some unique configuration metadata which developers supply to Spring IOC container. Developers provide Bean

Read more

Java Program for Shortest Job First (SJF) Scheduling [Preemptive & Non-Preemptive]

Here you will get java program for shortest job first (sjf) scheduling algorithm, both preemptive and non-preemptive. Shortest job first scheduling algorithm can also be known as shortest job next scheduling. It is very easy to implement and efficient in reducing average response time. Now we will see how it will work with the example and its implementation. In shortest job first, we should know the execution time of each process before running. This we can estimate in many ways.

Read more

Java Program for First Come First Serve (FCFS) Scheduling Algorithm

In this article we are going to learn about first come first serve (fcfs) scheduling in Java with program example. FCFS strategy will be helpful in many situations especially in tie breaking situations. Here we will see FCFS strategy with scheduling problem. First Come First Serve (FCFS) Scheduling First come First serve means whatever the job came first we should process that job first regardless other properties. This situation we can map with our real time scenario. When we are

Read more

Why Java is Platform Independent Language?

In this article we will learn about why java is platform independent. Before getting into details of this first we should know what platform independence is. Platform Independence: It means if we have written a program it should run on any platform without any modifications. Platform means hardware + operating system. Why Java is Platform Independent Language? Java package is coming with JDK (Java Runtime Environment) and JRE (Java Runtime Environment). JDK will be useful for developing and compiling java code.

Read more

Quick Sort in Java (Program & Algorithm)

Here you will learn about quick sort in Java with program example. As name suggested it is one of the fastest algorithms with average time complexity O(nlogn). It is also using divide and conquer strategy to sort as like merge sort. It has taken all advantages of merge sort and it has overcome the disadvantage of using auxiliary space also. It is popular because it is faster and also space efficient. But in worst case it is O(n^2) then also

Read more

Merge Sort in Java

In this tutorial you will learn about merge sort in Java with program and example. Merge sort has gained its popularity because of its runtime and simplicity. It will exhibit best runtime for sorting. Now we will see algorithm, program with example for merge sort. It uses divide-and-conquer policy to sort input elements. Divide phase: It will divide problem into smaller sub problems of same kind. Conquer phase: In this phase we will solve each sub problem. Combine phase: In

Read more

Insertion Sort in Java

In this tutorial you will learn about insertion sort in Java with example and program. Insertion Sort Principle The strategy behind this sorting is much similar to playing cards. In cards playing we used to see that player will hold the cards in sorted manner. Whenever he wants to insert a new card he will put that in such way that again the cards in hand should be in sorted manner only. The below image can illustrate the phenomenon. When

Read more
1 2 3 15