How to find distinct elements in a list in Java

Java 8 introduced distinct() method in Stream interface to find the distinct element in a list. distinct() method returns a stream consisting of the distinct elements […]

Continue reading...

Spring Web MVC (Model View Controller) Introduction and Features

Spring Web MVC (Model View Controller) commonly known as Spring MVC is a module of Spring Framework. It helps to create the web-based application. Spring […] Continue reading »

Types of URL pattern supported by Tomcat

This tutorial will walk through about how many types of URL pattern supported by Tomcat server or container. Tomcat is most popular and widely used […] Continue reading »

How to search Java, JSP file in Eclipse IDE?

In Eclipse IDE, you can easily search the Java, JSP and another resource file. To find any file in just type CTRL + SHIFT + […] Continue reading »

Spring AOP + AspectJ @Pointcut Annotation Example

In this tutorial, we show you how to use @Pointcut annotation with Spring AOP and AspectJ. A pointcut is a condition which matches to the […] Continue reading »

Spring AOP + AspectJ @Before, @After, @AfterReturning, @AfterThrowing, and @Around Annotation Example

On this page, we will learn how to integrate AspectJ @Before, @After, @AfterReturning, @AfterThrowing, and @Around annotation with Spring AOP framework. Spring 2.0 introduced a […] Continue reading »

Difference between Enumeration, Iterator, and ListIterator in Java

In the previous tutorial, we have learned about when and how to use, Enumeration, Iterator, and ListIterator cursor in Java but on this page, we […] Continue reading »

Java Enumeration, Iterator and ListIterator Example

On this page, you will learn about Java cursors. Java provides three cursors i.e. Enumeration, Iterator, and ListIterator to retrieve or fetch the objects or […] Continue reading »

Spring AOP pointcut example using XML configuration

In this tutorial, you will learn about the Spring AOP pointcut and how to apply it. Spring provided two classes StaticMethodMatcherPointcut and NameMatchMethodPointcut to implement […] Continue reading »

Spring AOP around advice (MethodInterceptor) example using XML configuration

On this page, you will learn about Spring AOP around advice (MethodInterceptor) example using XML configuration. Around advice surrounds a join point such as a […] Continue reading »

Spring AOP AfterThrowing Advice example using XML configuration

Spring AOP after throwing advice executed when a method exits by throwing an exception. Spring framework provides a marker interface ThrowsAdvice. There are not any […] Continue reading »

Spring AOP After Returning Advice example using XML configuration

This page will walk through the Spring AOP after returning advice example. After returning advice is invoked only on normal method return, not if an […] Continue reading »

1 4 5 6 7 8 21