Home » Tag Archives: Spring (page 19)

Tag Archives: Spring

Project Student: Business Layer

spring-interview-questions-answers

This is part of Project Student. Other posts are Webservice Client With Jersey, Webservice Server with Jersey and Persistence with Spring Data. The third layer of the RESTful webapp onion is the business layer. This is the guts of the application – well-written persistence and webservice layers are constrained but anything goes in the business layer. We’re only implementing CRUD ...

Read More »

AmazonSQS and Spring for messaging queue

spring-interview-questions-answers

The next post will demonstrate how to use Spring JMS templates and DLMC’S together with AmazonSQS API in order to place message queue. Why would I use Amazon SQS? Easy to configure Cross-platfom support Earn from your self redundant, conjunction and scaling worries.         Why I wouldn’t use Amazon SQS? If the latency requirement demands less than  ~20 ...

Read More »

Project Student: Persistence With Spring Data

spring-interview-questions-answers

This is part of Project Student. Other posts are Webservice Client With Jersey, Webservice Server with Jersey and Business Layer. The final layer of the RESTful webapp onion is the persistence layer. There are two philosophies for persistence layers. One camp sees the database as a simple store and wants to keep this layer extremely thin. The other camp knows ...

Read More »

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 »
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