Friday, February 23, 2018

Solution : Eclipse Maven projects default JRE System Library [J2SE-1.5] change to different version

2:45 PM
Solution : Eclipse Maven projects default JRE System Library [J2SE-1.5] change to different version
When Icreate a new maven project and then click maven update my java version always change to java version 1.5. to resolve this problem must add below configuration in pom.xml file.

Building JAVA/J2EE projects with Apache Maven

2:36 PM
Building JAVA/J2EE projects with Apache Maven
Apache Maven is a software project management and comprehension tool. Maven is a build automation tool used primarily for Java projects. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information.

Sunday, November 26, 2017

Java String comparison best practice

8:19 PM
Java String comparison best practice
"==" tests for reference equality (whether they are the same object).
".equals()" tests for value equality (whether they are logically "equal").
Objects.equals() checks for nulls before calling .equals() so you don't have to check null

Monday, September 11, 2017

What is Struts 2 and how it works

1:30 AM
Image credits: struts.apache.org

 Apache Struts framework is a free, open-source, MVC framework for creating elegant, modern Java web applications. It favors convention over configuration, is extensible using a plugin architecture, and ships with plugins to support REST, AJAX and JSON.