Home » Tag Archives: Spring (page 42)

Tag Archives: Spring

Handling Forms with Spring 3 MVC

spring-interview-questions-answers

This article is a part of a series of articles written about Spring 3. The previous article of this series is available here. In this article we take another baby step towards Spring MVC. [Aside: A pdf by the originator of the term MVC.] Building from the previous article, let’s add code necessary to add “Contacts” to the application. First ...

Read More »

Hello World with Spring 3 MVC

spring-interview-questions-answers

I owe my introduction to Spring to this article by Martin Fowler, way back in 2005. Since then I have tinkered with many a IoC frameworks including Guice, PicoContainer, NanoContainer etc. While I have enjoyed working with IoC in general, I must say Spring has been and continues to be my choice of IoC container for all enterprise grade application ...

Read More »

Spring Security – Two Security Realms in one Application

spring-security-logo

This blog post is mainly about Spring Security configuration. More specifically it is intending to show how to configure two different security realms in one web application. First security realm is intended for the browser clients. It enables us to log in with in the login page and access protected resources. Second security realm is intended for the REST web ...

Read More »

Spring Integration – Session 2 – More Hello Worlds

spring-interview-questions-answers

This is a follow up to Spring Integration Session 1 The first session was a simple Hello World application using Spring Integration. I want to take it a little further by considering a few more scenarios around it. So the first change to the Hello World application is to add in a Gateway component. To quickly revisit the earlier test ...

Read More »

Email filtering using Aspect and Spring Profile

spring-interview-questions-answers

During web application development, often the need for sending emails arise. However, sometimes the database is populated by data from production and there is a risk of sending emails to real customers during email test execution. This post will explain how to avoid it without explicitly write code in the send email function. We would use 2 techniques: Spring Profiles ...

Read More »

Integrating Spring, Velocity and Tiles

apache-logo

I like Tiles and I heard a lot about Velocity. They seem to serve different purpose and reportedly are easily married together, so I decided to give it a shot and use them both in Spring web app. The integration actually took many hours and was a real rollercoaster during which I learned a lot about all three technologies. Hopefully ...

Read More »

Java EE 6 VS Spring 3 : Java EE has killed Spring? No way!

spring-interview-questions-answers

Introduction Few days ago, I was listening to the epsiode 85 of the Java Spotlight Podcast. In this epsiode, Bert Ertman and Paul Bakker were talking about migrating from Spring to Java EE. Basically, in their introduction they were saying that, nowaday, there is no point choosing Spring over Java EE. We can read in their article : It took ...

Read More »

JUnit, Logback, Maven with Spring 3

logback-logo

In this series we have already learnt to set up a basic Spring MVC application and learnt how to handle forms in Spring MVC. Now it is time to take on some more involved topics. However, before we venture into deeper waters, let’s get some basics set up. Unit testing I am no TDD evangelist. There I said it. I ...

Read More »

Spring 3 Internationalization and Localization

spring-interview-questions-answers

I wanted to add internationalization and localization feature provided by spring 3 to one of my current project recently. I went through the spring documentation and then searched on internet to find some resources. But I could not find a resource which was able to satisfy my client requirement. Most of the tutorials are like hello world application which gives ...

Read More »

Getting Started with Spring Social – Part 2

spring-interview-questions-answers

A few weeks ago I wrote a post demonstrating what I thought was the simplest application you could write using Spring Social. This application read and displayed a Twitter user’s public data and was written as an introduction to Spring Social and the social coding arena. However, getting your application to display your user’s public data is only half the ...

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