Do you want to know how to develop your skillset to become a Java Rockstar?

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!

1. JPA Mini Book

2. JVM Troubleshooting Guide

3. JUnit Tutorial for Unit Testing

4. Java Annotations Tutorial

5. Java Interview Questions

and many more ....

How error handling works in Spring Integration

spring-interview-questions-answers

1.Introduction The target of this post is to show you how errors are handled when using the messaging system with Spring Integration. You will see that error handling is different between synchronous and asynchronous messaging. As usual, I’ll skip the chat and proceed with some examples. You can get the source code at github. 2.The sample application I will use ...

Read More »

Use Mockito to mock autowired fields

mockito-logo

Dependency injection is very powerful feature of Inversion of Control containers like Spring and EJB. It is always good idea to encapsulate injected values into private fields. But encapsulation of autowired fields decreases testability. I like the way how Mockito solved this problem  to mock autowired fields. Will explain it on example. (This blog post expects that you are little ...

Read More »

Spring Integration – Using RMI Channel Adapters

spring-interview-questions-answers

1.Introduction This article explains how to send and receive messages over RMI using Spring Integration RMI channel adapters. It is composed of the following sections: Implementing the service: The first section focuses on creating and exposing a service. Implementing the client: Shows how to invoke the service using the MessagingTemplate class. Abstracting SI logic: Finally, I’ve added another section explaining ...

Read More »

Version Numbering Scheme – Yet another approach

software-development-2-logo

Version numbering schemes are probably one of the few things we software engineers have more than sort algorithms. However, there’s always room for one more. While the classic approach of MAJOR.MINOR.PATCH (e.g. 1.8.2) works quite well for libraries or products which are distributed in a broad manner, it is still not as easy as it seems.What is a major change? ...

Read More »

Partitioning SPA Resources and API Implementations in Separate WAR Components

java-interview-questions-answers

Single Page Applications are quickly gaining traction as a way to implement rich, robust, and mobile friendly web-based applications. Essentially, this requires a shift in application architecture where the entire application user interface is implemented using JavaScript and the server side code supplies a RESTful, JSON-based API for  server side application logic and data access. This model is shown below: ...

Read More »

Building and Running Java 8 Support

eclipse-logo

The Eclipse support for Java 8 is not yet available for download. If you want to play with it, you’ve got to build it. Eclipsepedia’s JDT Core/Java8 page includes instructions for setting up your development environment with the source for the evolving Java 8 support in the Eclipse Java development tools (JDT). There’s a few pieces missing from the instructions; ...

Read More »

Grails Goodness: Cleaning Up

grails-logo

When we use for example the compile or war command Grails will create files and stores them by default in the project’s working directory. The location of the project working directory can be customized in our grails-app/conf/BuildConfig.groovy configuration file. We remove the generated files with the Grails clean command. This command will remove all compiled class files, the WAR file, ...

Read More »

Data Analysis Tips for Product Managers and Product Owners

agile-logo

Summary Data analysis might sound a bit nerdy, but it should be part of every product manager’s and product owner’s tool box. The idea is simple: Investigate the data gathered, learn form it, and use the new knowledge to create a successful product. In theory, that’s easy. But in practice, it can be challenging. The following tips help you get ...

Read More »
Do you want to know how to develop your skillset and become a ...

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!
Get ready to Rock!
To download the books, please verify your email address by following the instructions found on the email we just sent you.

THANK YOU!

Close