Spring security Hello world project

Tools and Technologies used 1) Eclipse IDE Mars Release (4.5.0) 2) Java 8 3) Spring framework 3.2 4) Spring security 3.2 5) Tomcat 8 Step 1 Create a new maven project from eclipse Step 2 Add Tomcat server in your eclipse Step 3 Add all the spring security and spring mvc dependencies into the pom […]

Share this article on

Interfaces in Java

Interfaces It is one of the ways to achieve abstraction in Java. It will have only method declaration(abstract methods) and constant attributes in it. It cannot be instantiated like how we can’t instantiate abstract class. They are used to achieve multiple inheritance and polymorphism. Java interface Example public interface Hello{ String str = ”hello”; void […]

Share this article on