Home » Tag Archives: Spring

Tag Archives: Spring

Spring Integration Jdbc RowMapper Example

spring-interview-questions-answers

The JDBC inbound channel adapter’s basic function is to execute a SQL query, extract the data and pass the result set encapsulated in the form of a Message onto the local channels. You can read more about this in my example on JDBC Inbound Channel Adapter. The type of the payload is decided by the row-mapping strategy. The default one ...

Read More »

Spring lookup-method Example

spring-interview-questions-answers

When a bean has dependency on another bean, we inject the bean using the setter property or through the constructor. The getter method will return us the reference that is been set but suppose you want a new instance of the dependent bean each time you invoke the getter method, then you will probably have to follow a different approach. ...

Read More »

Configuration over JNDI in Spring Framework

spring-interview-questions-answers

From a certain point on, an application has to be configurable.  Spring Framework has a nice auxiliary tool for this issue since the first version 0.9 , the class PropertyPlaceholderConfigurer and since Spring Framework 3.1 the class PropertySourcesPlaceholderConfigurer. When you start a Google search for PropertyPlaceholderConfigurer, you will find many examples where the configuration items are saved in properties files. But ...

Read More »

Creating a Message Driven Bean with AWS SQS in Spring

spring-interview-questions-answers

In my previous post I showed a simple example how to use AWS SQS with Spring Framework to put messages on a queue and to read them from the queue. In this post I go one step further and use Spring to create a ‘Message Driven Bean’ so each message that is put on the queue is picked up and ...

Read More »

Logging JAX-WS SOAP messages in Spring

spring-interview-questions-answers

Whenever you’re using JAX-WS within Spring you’ll probably want to log the incoming and outgoing SOAP messages – if only for debugging during development. So the first thing to do is increase the log levels, right? Unfortunately this will have no effect. What you will have to do is to make use of the javax.xml.ws.handler.HandlerResolver interface. So how do we ...

Read More »

Spring-session demonstration using docker-compose

spring-interview-questions-answers

I have earlier written about an exciting new project called Spring-session which provides a clean way to externalize user sessions for java based web applications. I managed to get a good demonstration set-up for spring-session using docker-compose which shows off the strengths of this project and I wanted to write about this here. In short, this is the set-up that ...

Read More »

UA Web Challenge Conference: SpringIO for startups

spring-interview-questions-answers

On this week I was speaking on UA Web Challenge Conference in BackEnd section. I’ve chosen strange topic of my talk – “SpringIO for startups”. What is the result of it? I’m going to summarise below. Within three past years I’ve been developed different personal web projects. I never called them “startups” further more no one from them are in ...

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