Java Development
-
XPath get attribute value example
Continuing on our previous example on how to search for a text using XPath, we shall demonstrate how to get…
Read More » -
Tomcat tomcat-users.xml configuration example
This article describes the configuration of the tomcat-users.xml file for Apache Tomcat 7 web server. tomcat-users.xml is the default user…
Read More » -
Reloadable properties file with Spring using Apache Commons Configuration
In this example we shall show you how to create an auto-reloadable application properties file with Spring using Apache Commons…
Read More » -
TestNG beforeSuite Example
In this article, we will show you how to use the TestNG @BeforeSuite annotation. If you have used JUnit annotations,…
Read More » -
XPath contains text example
In this example, we shall study how to search for a particular text using XPath in Java. What is XPath?…
Read More » -
JSF Navigation Example
In this example of JSF Navigation, we will show you how to use various navigation techniques available in Java Server Faces.…
Read More » -
TestNG beforeMethod Example
In this article, I will show you an example of TestNG @BeforeMethod. This is one of the annotations provided by…
Read More » -
TestNG DataProvider Example
In this article, I am going to show you some examples of DataProvider. It is one of the methods used…
Read More » -
Maven Jetty Plugin Example
In this example, we shall show you how to integrate Apache Maven with Jetty. Apache Maven is a software project…
Read More » -
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 »