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.