Enterprise Java
-
Customizing Spring Data JPA Repository
Spring Data is a very convenient library. However, as the project as quite new, it is not well featured. By…
Read More » -
How to install Gradle
Gradle is a simple and yet strong build tool. It is similar to the Ant build tool. It manages the…
Read More » -
JBoss Core Java Web Services
This blog post deals with Web Services. Well, to be more exact, it deals with ‘plain’ java web services on…
Read More » -
Maven Web Project Kickstarter Codebase with Spring, Hibernate, Akka, Twitter Bootstrap, Apache Tiles and jQuery
I am happy to upload my second project to GitHub to help people get started with Java Web App Development…
Read More » -
Getting started with JAX-WS
JAX-WS stands for Java API for XML Web Services. It is a Java programming language API for creating web services…
Read More » -
Hibernate native SQL features into your Spring Data Repository
JPA provides @NamedNativeQuery for you to use native SQL. However, the usage is not so convenient, especially when you need…
Read More » -
Hibernate lazy/eager loading example
This post will focus on why and how we use the concepts known as LAZY and EAGER loading in an…
Read More » -
Measure execution time in Java – Spring StopWatch Example
There are two ways to measure elapsed execution time in Java either by using System.currentTimeinMillis() or by using System.nanoTime() .…
Read More » -
Cross Site Scripting (XSS) and prevention
Variants of Cross site scripting (XSS) attacks are almost limitless as mentioned on the OWASP site (https://www.owasp.org/index.php/Cross-site_Scripting_(XSS)). Here I propose…
Read More »