Blog Archives
1 2 3

20+ Maven plugins listed for an enterprise Java (i.e. a JEE) project

In Maven, there are build and the reporting plugins. Build plugins will be executed during the build, and they should be configured in the “build” element.

What is a “Plugin Architecture”?

In this architecture, a core application defines an interface,

Read more ›



8+ JMeter performance testing interview Q&As

Performance testing is an important process of any software development. You can bring this up yourself to many open-ended questions like — Tell me about yourself? What are some of your recent accomplishments that you are proud of? Setting up a performance/load test script is always the first step in...



Checkstyle & Maven Tutorial

Step 1: The pom.xml with the checkstyle plugin and properties.

Step 2: The checkstyle files that define the rules.

src/main/resources/checkstyle/myapp-checks.xml

src/main/resources/checkstyle/myapp-suppressions.xml

Step 3: Running via mvn command.

Read more ›



Creating a Maven profile to compile using a different JDK version tutorial

Profiles are very handy in maven to use different JDK versions, include different files for different environments, etc.

Step 1: Say you have a pom.xml file using Java 7 to compile.

Step 2: Say now you want to compile using Java 1.5.

Read more ›



Findbugs and Maven tutorial

Findbugs is an open source project for a static analysis of the Java bytecode to identify potential software bugs.

Findbugs-structureFindbugs-structure

Step 1: The pom.xml with the findbug & site reporting plugins and properties.

Step 2: Exclude certain classes with an exclude filter

src/main/resources/findbugs/excludeFilter.xml

Step 3: Running mvn command to spot bugs

Step 4: Running mvn command to report bugs

this creates the file “findbugs.html”

Read more ›



JMeter beginner tutorial

This tutorial performance test the RESTFul web service we created ealier as part of the “RESTful Web Service Tutorial with Apache CXF, Maven, and Eclipse” with JMeter. JMeter is an opensource performance testing tool.

Step 1: Download latest release version of Apache JMeter from “http://jmeter.apache.org/download_jmeter.cgi“,

Read more ›



JMeter for performance testing REST services with BeanShell

This post extends 8 JMeter Performance testing Interview Q&As to cover JSON HTTP post. Now a days, a single page interactive web sites are very popular, and they post JSON based data back to the server to create a new record or to update an existing record. Step 1: Firstly,...



1 2 3

Java Interview FAQs

800+ Java Interview Q&As

Top