Home » Tag Archives: Spring (page 33)

Tag Archives: Spring

Add RememberMe Authentication With Spring Security

spring-interview-questions-answers

I mentioned in my post Add Social Login to Jiwhiz Blog that the RememberMe function was not working with Spring Social Security. Well, it is because the application is not authenticating the user by username and password now, and is totally depending on social websites (like Google, Facebook and Twitter) to do the job. The default Spring Security configuration cannot ...

Read More »

Spring Integration – Application from scratch, Part 2

spring-interview-questions-answers

This is the second part of the tutorial where we are creating an invoices processing application using Spring Integration. In case you missed it, be sure to look at the first part. Previously we’ve defined functional requirements for the system, created gateway, splitter, filter and router component. Let’s continue with creating a transformer. 5. Transforming invoices to the payments We’ve ...

Read More »

Spring Integration – Application from scratch, Part 1

spring-interview-questions-answers

Before we start In this tutorial you will learn what is Spring Integration, how to use it and what kind of problems does it help to solve. We will build a sample application from the scratch and demonstrate some of the core components of Spring Integration. If you’re new to Spring check out another tutorial on Spring written by me ...

Read More »

Implement Bootstrap Pagination With Spring Data And Thymeleaf

spring-interview-questions-answers

Twitter Bootstrap has a very nice pagination UI, and here I will show you how to implement it with Spring Data Web pagination function and Thymeleaf conditional evaluation features. Standard Pagination in Bootstrap Simple pagination inspired by Rdio, great for apps and search results. The large block is hard to miss, easily scalable, and provides large click areas. The original ...

Read More »

Spring Data, MongoDB and JSF Integration tutorial

spring-data-logo

Introduction to sample application (MongoShop Product Catalog) After this tutorial, a sample application (MongoShop Product Catalog) with the following functional requirement will be built:               1. Searching product with different criteria (e.g. sku, product type, title, stc) 2. Create a new product with different category. 3. Edit selected product details 4. Delete selected product ...

Read More »

Tweeting StackExchange with Spring Social – part 1

spring-social-logo

This article will cover a quick side-project – a bot to automatically tweet Top Questions from the various Q&A StackExchange sites, such as StackOverflow, ServerFault, SuperUser, etc. We will build a simple client for the StackExchange API and then we’ll setup the interaction with the Twitter API using Spring Social – this first part will focus on the StackExchange Client ...

Read More »

Spring meets Apache Hadoop

spring-interview-questions-answers

SpringSource has just announced the first GA release of Spring for Apache Hadoop. The goal of this project is to simplify the development of Hadoop based applications. You may download the project here and check out the Maven artifacts here. Spring for Apache Hadoop was born to resolve the issue of having poorly constructed Hadoop applications, which usually consist of ...

Read More »

Exception Handling for REST with Spring 3.2

spring-interview-questions-answers

1. Overview This article will focus on how to implement Exception Handling with Spring for a REST API. We’ll look at the older solutions available before Spring 3.2 and then at the new Spring 3.2 support. The main goal of this article is to show how to best map Exceptions in the application to HTTP Status Codes. Which status codes ...

Read More »

Spring Bean names

spring-interview-questions-answers

Spring bean names are straightforward, except for cases where names are not explicitly specified. To start with, Spring bean names for an xml based bean definition is specified this way:                 <bean name='sampleService1' class='mvcsample.beanname.SampleService'> <constructor-arg> <bean class='mvcsample.beanname.SampleDao'></bean> </constructor-arg> </bean> For a Java @Configuration based bean definition, the method name of the @Bean annotated ...

Read More »

Spring Framework: Three Spring Bean Lifecycle Techniques

spring-interview-questions-answers

When using the term ‘lifecycle’ the Guys at Spring are referring to the construction and destruction of your beans and usually this is in relation to the construction and destruction the Spring Context. There are those occassions when the management of your bean’s lifecycle is not a trivial task as there’s the need for it to perform its own internal ...

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