Enterprise Java
-
EJB Interceptors Example
1. Introduction This is an example of how to use the javax.interceptor.* in an EJB. Interceptors are used, as the…
Read More » -
TestNG beforeTest example
In this article, I will show you an example of the TestNG @beforeTest annotation. In TestNG, you can configure your…
Read More » -
Hibernate First Level Cache Example
In this post we will talk about the Hibernate First Level Cache Strategy. When an application repeatedly hits the database…
Read More » -
Struts 2 and Log4J Example
In this example we will learn how to integrate Struts2 application with Log4j logging framework. Apache Struts is a free,…
Read More » -
JSF Managed Beans Example
In this example we will talk about the basics of the JSF Standard and the Managed Bean concept. With these…
Read More » -
JPA Native SQL Queries Example
In this example, we shall see how to use native SQL queries in JPA. The Java Persistence Query Language is…
Read More » -
Generating Database Objects from Hibernate Entities
In the usual scenario, developers will tend to create database objects first before the entities. This is called bottom to…
Read More » -
javax.sql.rowset.JdbcRowSet Example
This article introduces the JdbcRowSet interface and its basic usage. This class is defined in the javax.sql.rowset package. JdbcRowSet interface…
Read More » -
Struts 2 @ResultPath Annotation Example
Struts 2, the famous Model-View-Controller (MVC) framework, has several features that allows you to shape your webapp the way you…
Read More »