Home » Tag Archives: Spring (page 46)

Tag Archives: Spring

Spring & JSF integration: Pagination

jsf-logo

When working with large datasets you often need to present data in a paged format. Pagination is an interesting problem because it tends to cut across all layers of your application, from the view tier though application services down to the raw calls to your database. When it comes to fetching paged data there are some pretty good solutions available. ...

Read More »

Spring Testing Support with TestNG

spring-interview-questions-answers

TestNG is a test framework which is designed to cover all categories of tests: unit, functional, end-to-end, integration, (etc). It includes a lot of features such as flexible test configuration, support for data-driven testing (with @DataProvider), powerful execution model (no more TestSuite) (etc). Spring testing support covers very useful and important features for unit and integration testing of spring based ...

Read More »

Tutorial: Hibernate, JPA & Spring MVC – Part 2

spring-interview-questions-answers

This tutorial will show you how to take a basic Hibernate/JPA app, convert it into a Spring MVC web project to be able to view the database in a web browser, and finally use Spring’s @Transactional annotation to reduce boiler plate code. This tutorial assumes you’re familiar with Java and Maven, and that you’ve completed the first part of this ...

Read More »

Backing Spring Integration routes with ActiveMQ

spring-interview-questions-answers

As discussed in my previous post, Spring Integration (SI) is a routing framework built on top of the Spring Framework that allows you to use proven enterprise integration patterns to solve system integration problems via messaging. Once you’ve gotten SI configured and working to perform your routing and mediation logic, you may find that you’d like to take the next ...

Read More »

Spring Integration with reCAPTCHA

spring-interview-questions-answers

Sometimes we just need CAPTCHA, that’s a sad fact. Today we will learn how to integrate with reCAPTCHA. Because the topic itself isn’t particularly interesting and advanced, we will overengineer a bit (?) by using Spring Integration to handle low-level details. The decision to use reCAPTCHA by Google was dictated by two factors: (1) it is a moderately good CAPTCHA ...

Read More »

Maven Integration Testing And Spring Restful Services

apache-maven-logo

Introduction My original blog showed how to seperate maven unit and integration tests using a very simple example. http://johndobie.blogspot.com/2011/06/seperating-maven-unit-integration-tests.html Since then a lot of people asked me for a more realistic example than the one used originally. This post shows how you split your unit and integration tests using the original method in a realistic environment where the application is ...

Read More »

Gradle archetype for Spring applications

spring-interview-questions-answers

I am releasing a Gradle archetype useful for creating Java/Groovy applications based on Springframework. Of course, it is not a real archetype because such a creation is not possible.However, with very few steps you can create, edit and deploy an application server. It would be a most accomodating starting point for deployable software projects. This release is an attempt to ...

Read More »

Spring & JSF integration: Dynamic Navigation

jsf-logo

Often your JSF application will need to move beyond basic static navigation and start to make dynamic navigation decisions. For example, you may want to redirect users based on their age. Most JSF tutorials recommend that dynamic navigation is implemented by binding the action attribute of a command to a backing bean: <h:commandButton action="#{bean.actionBasedOnAge}"/> public String actionBasedOnAge() { if(age &lt; ...

Read More »

Spring 3 and Java EE 6 – An unfair and incomplete comparison

java-logo

The first draft of this small article had the title ‘Spring & Java EE – Comparing Apples and Oranges’. During writing this, I learnt that it is possible to compare Spring Framework and Java EE, but it is always an unfair and incomplete work. The evolution of Java for Enterprise and Spring Framework are strongly connected to each other. Both ...

Read More »

Spring MVC 3 Controller for MyBatis CRUD operation

mybatis-logo

Till now we have created CRUD database service for the domain class “User” and alsointegratedMyBatis configuration with Spring Configuration file. Next, we will create an web page using Spring MVC to use MyBatis CRUD service to perform operations to database. Creating DAO class using MyBatis 3 that will help to perform CRUD operations on database. Setting Environment for integrating MyBatis ...

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