Create a Web Application with Maven in Eclipse

  • 11 April 2016
  • ADM

How to create a Web Application with Maven in Eclipse using maven-archetype-webapp archetype and tested on Apache Tomcat.


How to install Maven on windows

  • 12 May 2016
  • ADM

It's very simple to install Apache Maven on Windows. All you need is to download the .zip archive, configure Windows path variable and you are ready to go.


Install JBOSS Tools in Eclipse

  • 23 March 2016
  • ADM

JBoss Tools is an umbrella project for a set of Eclipse Luna plugins that includes support for JBoss and related technologies, such as Hibernate, JBoss AS, CDI, Aerogear Hybrid Mobile, Apache Cordova, Docker, FeedHenry, JSF, (X)HTML, Seam, Maven, and more.


If statement vs try catch block

  • 07 March 2016
  • ADM

Real live comparison:

If statement is like walking on the cliff, on each step you need to check your stability otherwise you may fall into abyss.

Try/catch block is like walking on the street, you don't have to care about the road on each step, only when there is an obstacle (something exceptional is happening).


How to get CPU cores in Java

  • 16 September 2020
  • ADM

A system may contain multiple physical CPUs (central processing unit), and can contain one or more cores (processors). Also, each core can have multiple threads, usually 2. (Hyper-threading Technology from Intel CPUs).