Home » Author Archives: Xavier Padro (page 2)

Author Archives: Xavier Padro

Xavier is a software developer working in a consulting firm based in Barcelona. He is specialized in web application development with experience in both frontend and backend. He is interested in everything related to Java and the Spring framework.

Spring Integration and Web Services

spring-interview-questions-answers

This article is part of our Academy Course titled Spring Integration for EAI. In this course, you are introduced to Enterprise Application Integration patterns and how Spring Integration addresses them. Next, you delve into the fundamentals of Spring Integration, like channels, transformers and adapters. Check it out here! Table Of Contents 1. Introduction 2. Explaining web service channel adapters 2.1. ...

Read More »

Spring Integration Fundamentals

spring-interview-questions-answers

This article is part of our Academy Course titled Spring Integration for EAI. In this course, you are introduced to Enterprise Application Integration patterns and how Spring Integration addresses them. Next, you delve into the fundamentals of Spring Integration, like channels, transformers and adapters. Check it out here! Table Of Contents 1. Introduction 2. What is Spring Integration? 3. Core ...

Read More »

Introduction to Enterprise Application Integration

spring-interview-questions-answers

This article is part of our Academy Course titled Spring Integration for EAI. In this course, you are introduced to Enterprise Application Integration patterns and how Spring Integration addresses them. Next, you delve into the fundamentals of Spring Integration, like channels, transformers and adapters. Check it out here! Table Of Contents 1. Introduction 2. Enterprise integration patterns 3. Integration strategies ...

Read More »

Spring Integration Tutorial for EAI

spring-interview-questions-answers

Course Overview Spring Integration is an open source framework for enterprise application integration. It is a lightweight framework that builds upon the core Spring framework. It is designed to enable the development of integration solutions typical of event-driven architectures and messaging-centric architectures. Spring Integration extends the Spring programming model to support the well-known Enterprise Integration Patterns. Enables lightweight messaging within ...

Read More »

Understanding Callable and Spring DeferredResult

spring-interview-questions-answers

1. Introduction Asynchronous support introduced in Servlet 3.0 offers the possibility to process an HTTP request in another thread. This is specially interesting when you have a long running task, since while another thread processes this request, the container thread is freed and can continue serving other requests. This topic has been explained many times, but there seems to be ...

Read More »

Improving performance: non-blocking processing of streams

spring-interview-questions-answers

1. Introduction Imagine we have an application that needs to access an external web service in order to gather information about clients and then process it. More specifically, we can’t get all this information in a single invocation. If we want to look up different clients, we will need several invocations. As shown in the graphic below, the example application ...

Read More »

Java Concurrency Tutorial – Locking: Explicit locks

java-logo

1. Introduction In many cases, using implicit locking is enough. Other times, we will need more complex functionalities. In such cases, java.util.concurrent.locks package provides us with lock objects. When it comes to memory synchronization, the internal mechanism of these locks is the same as with implicit locks. The difference is that explicit locks offer additional features. The main advantages or ...

Read More »

Exposing HTTP Restful API with Inbound Adapters. Part 1 (XML)

spring-interview-questions-answers

1. Introduction The purpose of this post is to implement an HTTP Restful API using Spring Integration HTTP inbound adapters. This tutorial is divided into two parts:               XML configuration example (this same post). Java DSL example. This will be explained in the next part of this tutorial, showing how to configure the application ...

Read More »

Java Concurrency Tutorial – Locking: Intrinsic locks

java-logo

In previous posts we reviewed some of the main risks of sharing data between different threads (like atomicity and visibility) and how to design classes in order to be shared safely (thread-safe designs). In many situations though, we will need to share mutable data, where some threads will write and others will act as readers. It may be the case ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Spring Interview QnA
  • Multithreading & Concurrency QnA
  • JPA Minibook
  • JVM Troubleshooting Guide
  • Advanced Java
  • Java Interview QnA
  • Java Design Patterns