-
Enterprise Java
Spring – Adding Spring MVC – part 2
In the previous part we’ve implemented controllers for managers and employees. Now that we know our way around, we’ll do…
Read More » -
Enterprise Java
Spring – Adding Spring MVC – part 1
Welcome to the fourth part of this tutorial. In this part, we will write controllers and views using Spring MVC…
Read More » -
Enterprise Java
Spring – DAO and Service layer
Welcome to the third part of Spring tutorial. In this part, we will continue in writing our Timesheet application and…
Read More » -
Enterprise Java
Spring – Persistence layer – writing entities and configuring Hibernate
Welcome to the second part of this tutorial. Don’t freak out when you see how long this article is –…
Read More » -
Enterprise Java
Spring – Designing the domain model and the service layer
We are going to build application for timesheet management. So let’s think about some uses cases and entities first. Let…
Read More » -
Core Java
Using PowerMock to Mock Constructors
In my opinion, one of the main benefits of dependency injection is that you can inject mock and/or stub objects…
Read More » -
Enterprise Java
Camel: Build a message based application
This is a long article that contains three separate topics: Getting started with Apache Camel with Java Improving startup of…
Read More » -
Enterprise Java
Configure timeout for CDI conversations
CDI conversation scope is a nice feature when developing JSF applications. Imagine you have large data tables which take a…
Read More » -
Enterprise Java
Hibernate: save vs persist and saveOrUpdate
What is difference between save and saveOrUpdate or Difference between save and persist are common interview question in any Hibernate…
Read More »