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 » -
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 » -
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 » -
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 » -
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 » -
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 » -
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 » -
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 » -
Twitter REST API from Scala and Java using signpost
If you’ve read some other articles on this blog you might know that I like creating visualizations of various datasets.…
Read More »