Java 8 Date Time API – LocalDate Example


Along with lambda expression, virtual methods, streams and many other nice features, Java 8 has also updated a new Date and Time API which is maintained under the JSR-310. One of the greatest on this new API is that all the date and time related APIs are unified under the same package java.time. This example […]

Spring MVC – component-scan Vs annotation-config Vs annotation-driven


If you are a spring developer then you might have a small confusion about the annotation processing inside spring’s IOC container. Spring MVC framework provides different configuration elements that are helping or instructing the Spring container to effectively manage the beans and inject the beans when required. Some of the XML configurations that are most […]

Spring MVC – Application Context vs Web Application Context


There is lot confusion on Spring context loading techniques. The confusion due to the different context configuration files, the question comes to developers mind is that why would we need two different context configurations files and when these files are loaded by the spring container?. This post summarizes some of the important facts about both […]

OCAJP 8 – Java 8 Date Time API


One of the new and noteworthy introduction in the Java 8 version is update of the Date Time API. Since the initial version of the Java packages, there is no standard API for calculating the date and time data. In the previous versions, there are two packages java.util and java.sql defines the date and time […]

OCAJP 8 – Lambda Expression / Predicate


This tutorial is a preparation material for OCAJP certification exam. This covers the objective 9.5 in the OCAJP 8 exam topics (Write a simple Lambda expression that consumes a Lambda Predicate expression). The mock exams that would appear on the real exams could be simpler than the sample mock exams in this tutorial. Java is […]

OCAJP (Oracle Certified Associate Java Programmer)


What is OCAJP Exam? Oracle′s Java SE Programmer I (OCAJP) Exam to achieve Oracle Certified Associate, Java SE Programmer Certification. This is the entry level of Java Certification. For every new version of Java, this exam will be updated with the new changes in the Java technology. The latest version of this certification is Java SE […]

Spring Batch Example


Introduction Spring batch is a batch processing framework developed and maintained by the Spring framework team. It is one of the leading and popular batch processing framework in the market. Spring batch uses the chunk oriented processing for performing the batch processing which is more efficient for handling the large volume of data. Spring batch […]

Java 8 – Functional Interfaces


What are Functional Interfaces? Functional interfaces are those interfaces that has single abstract method. According to Java 8 Specification, interface can be known as functional interface if there is a single method that is compliant with the below rules: If an interface has single abstract method, then it is known as the functional interface. A functional interface can have any […]

JQuery Enabled Selector Example


It selects all the enabled elements in the form. In general, it makes activate for doing operations on elements such as input type text elements, button element etc in the document. It is recommended that it must start with tag name, otherwise by defult it selects all the elements in the form by using defualt […]

JqueryUI Accordion Example


The jQueryUI provides collapsible widget called accordion is a view of hierarchy so that only the roots of each branch are visible. It is widely used to manage large content and navigation lists on the website. We can easily create collapsing division within a webpage which is used to build accordion navigation, content boxes etc. […]