-
junit
JUnit HttpUnit Example
Hello, in this example we shall show you how you can make a use of the JUnit HTTUnit to test…
Read More » -
servlet
Java Servlet Url Parameters Example
Servlets are modules of the Java code that run in a server application to answer the client requests. They are…
Read More » -
XPath
Java XPathFactory Example
In this example, we will see what is java XPathFactory and its usage with example. Before we start with this article,…
Read More » -
hibernate
How to map a Composite Primary Key with JPA and Hibernate Example
Hello readers, in this tutorial, we will show how to map the Composite Primary Key with JPA and Hibernate using…
Read More » -
jpa
JPA mappedBy Example
Hello readers, in this tutorial, we will show how to implement the mappedBy annotation in JPA using EclipseLink and MySQL…
Read More » -
servlet
Java Servlet Generate Zip File Example
In this article we illustrate how to generate a zip (compressed) file via a GET request to a custom servlet. The…
Read More » -
jpa
JPA persistence.xml Example
Hello readers! In this tutorial we will show how to implement the Java Persistence API and define the JPA Persistence…
Read More » -
jpa
JPA CriteriaBuilder Example
The Criteria API is a predefined API used to define queries for entities. It is the alternative way of defining…
Read More » -
Tomcat
Apache Tomcat Kali Linux Installation Tutorial
Hello readers! In this tutorial, we will install Tomcat and we will do some basic Tomcat configurations on the Kali…
Read More » -
Log4j
Log4j ConsoleAppender Configuration Example
Any logging application intended to print the logging information to a console should use the org.apache.log4j.ConsoleAppender. Console Appender is a…
Read More »