-
Struts 2
Struts 2 “HelloWorld” Example
Struts 2 is a famous Model-View-Controller (MVC) framework, mainly found in the enterprise market since its release in 2000. Its…
Read More » -
Log4j
Log4j XML Configuration Example
In this example we will see how to configure Log4j using XML. You can use the property file as well but now…
Read More » -
jms
Java JMS “HelloWorld” on JBoss Example
In this article, I am going to show a simple “Hello World” example using JBoss Messaging. Before we get started…
Read More » -
jpa
JPA EntityManager Example
In this example, we shall try to demonstrate how to use JPA EntityManager. As the name suggests, an EntityManager is…
Read More » -
sql
JDBC Transaction Rollback Example
In this example will talk about how to perform rollback in JDBC transactions. When we are making changes in the…
Read More » -
Android
Android Google Plus Login Example
In this example, we are going to see how can we use one of the most famous, public, social APIs,…
Read More » -
ArrayConverter
org.apache.commons.beanutils.converters.ArrayConverter Example
This article introduces the ArrayConverter class of the org.apache.commons.beanutils.converters package and its basic usage. This is defined in the Apache…
Read More » -
Pattern
java.util.regex.Pattern Example
Pattern class represents a compiled representation of a regular expression. This is defined in the java.util.regex package as a final…
Read More » -
Tomcat
Tomcat DataSource JNDI Example
In this example, we shall demonstrate how to create the Data-source using Java Naming and Directory Interface or JNDI, for…
Read More » -
ByteBuffer
Java Direct ByteBuffer Example
This example shows the usage of direct ByteBuffer. ByteBuffer is an abstract class, extends Buffer and implements Comparable<ByteBuffer>. This class…
Read More »