Enterprise Java
-
Simple Java SSH Client
An execution of a shell command via SSH can be done in Java, in just a few lines, using jcabi-ssh:…
Read More » -
Stateless Session for multi-tenant application using Spring Security
Once upon a time, I published one article explaining the principle to build Stateless Session. Coincidentally, we are working on…
Read More » -
Java Method Logging with AOP and Annotations
Sometimes, I want to log (through slf4j and log4j) every execution of a method, seeing what arguments it receives, what…
Read More » -
Spring Batch Tutorial with Spring Boot and Java Configuration
I’ve been working on migrating some batch jobs for Podcastpedia.org to Spring Batch. Before, these jobs were developed in my own…
Read More » -
Hibernate bytecode enhancement
Introduction Now that you know the basics of Hibernate dirty checking, we can dig into enhanced dirty checking mechanisms. While…
Read More » -
Simple Aspect Oriented Programming (AOP) using CDI in JavaEE
We write service APIs which cater to certain business logic. There are few cross-cutting concerns that cover all service APIs…
Read More » -
JPA Hibernate Alternatives. What can I use if JPA or Hibernate is not good enough for my project?
Hello, how are you? Today we will talk about situations that the use of the JPA/Hibernate is not recommended. Which…
Read More » -
How to customize Hibernate dirty checking mechanism
Introduction In my previous article I described the Hibernate automatic dirty checking mechanism. While you should always prefer it, there…
Read More » -
EJB 3.x : Lifecycle and Concurrency models (part 2)
This is the second post of the two part series. The first part covered the life cycle and the concurrency behavior…
Read More »