Home » Tag Archives: Spring (page 20)

Tag Archives: Spring

Adding Social Sign In to a Spring MVC Web Application: Unit Testing

spring-interview-questions-answers

Spring Social 1.0 has a spring-social-test module which provides support for testing Connect implementations and API bindings. This module was removed from Spring Social 1.1.0, and it was replaced with the Spring MVC Test framework. The problem is that there is practically no information about writing unit tests for an application which uses Spring Social 1.1.0. This blog post fixes ...

Read More »

Spring’s @Primary annotation in action

spring-interview-questions-answers

Spring is a framework that never stops to amaze me. It’s because of the fact that it offers plenty of different solutions that allow us, developers, to complete our tasks without writing millions of lines of code. Instead we are able to do the same in a much more readable, standardized manner. In this post I will try to describe ...

Read More »

What is Spring Data?

spring-interview-questions-answers

(This is related to Project Student and I will revisit this topic later.) Spring Data came up in passing in several recent interviews. What is Spring Data? To answer that let’s consider the standard approach to persistence – all access is made via Data Access Objects (DAOs). This completely isolates the rest of the system from the specific details of ...

Read More »

Using more than one property file in Spring MVC

spring-interview-questions-answers

Everybody heard about portals which combine single web applications to a big one. A portal software works like mashups – content from several sources is picked up in a single service, mostly displayed in a single web page. A portal software also allows to change user settings, such as language or theme, across all single web applications (independent modules) embedded ...

Read More »

Spring REST: Exception handling vol. 1

spring-interview-questions-answers

Table of contents Spring REST: Exception handling vol. 1 Spring REST: Exception handling vol. 2 Spring REST: Exception handling vol. 3 Hi everyone, it’s time to continue publish new articles in my blog. So I’m happy to announce that I’m planning to write a couple of technical series of posts. In the current post I’m going to start talking about ...

Read More »

Why I like Spring bean aliasing

spring-interview-questions-answers

Spring framework is widely used as a dependency injection container, and that’s for good reasons. First of all, it facilitates integration testing and it gives us the power of customizing bean creation and initialization (e.g. @Autowired for List types). But there is also a very useful feature, that might get overlooked and therefore let’s discuss about bean aliasing. Bean aliasing ...

Read More »

Why I stopped using Spring

spring-interview-questions-answers

My post on DZone about Humble Architects sparked somewhat of a controversy, especially around my disparaing comments regarding Spring and Dependency Injection Frameworks. In this post, I expand on my I stopped using Spring. I was one of the earliest adopter of Spring in Norway. We developed a large system where we eventually had to start thinking about things like ...

Read More »

Scaling Spring Batch – Step Partitioning

spring-interview-questions-answers

We have talked about how to get up and running with Spring Batch in a few of previous articles. Now, we’re going to start discussing some of the strategies available for scaling Spring Batch. This article will focus on partitioning a step so that the step has several threads that are each processing a chunk of data in parallel. This ...

Read More »

HOW-TO: Get started quickly with Spring 4.0 to build a simple REST-Like API (walkthrough)

spring-interview-questions-answers

HOW-TO: Get started quickly with Spring 4.0 to build a simple REST-Like API (walkthrough) Yet another tutorial about creating Web API with Spring MVC. Not really sophisticated. Just a walkthrough. The resulting app will serve simple API, will use Mongo as its persistence and it will be secured with Spring Security. Getting started – POM Of course, I am still ...

Read More »

Spring REST: Exception handling vol. 3

spring-interview-questions-answers

It’s a last article from the series about Spring REST exception handling. Finally this time I will talk about handling of REST exceptions which can occur during a form processing. So in this tutorial you will see everything related to REST, forms and exception handling. What about client side? JQuery will be used to reflect all responses of the REST ...

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