Home » Tag Archives: Spring (page 17)

Tag Archives: Spring

Using jOOQ with Spring: Code Generation

jooq-2-logo

As we might remember from the first part of this tutorial, jOOQ states that jOOQ generates Java code from your database and lets you build typesafe SQL queries through its fluent API. The first part of this tutorial describes how we can configure the application context of a Spring powered application which uses jOOQ but it doesn’t describe how we ...

Read More »

Project Student: Simplifying Code With AOP

aspectj-logo

This is part of Project Student. Many people strongly believe that methods should fit within your editor window (say, 20 lines), and some people believe that methods should be even smaller than that. The idea is that a method should do one thing and only one thing. If it does more than that it should be broken apart into multiple ...

Read More »

What’s new in Spring

spring-interview-questions-answers

Let’s check on some new releases announced by the Spring community over the previous days: Spring Boot 1.0.0.RC1 Spring was pleased to announce the first release candidate of Spring Boot v1.0.0. It contains a number of bug fixes and enhancements over the previous milestone. Binaries have been published to the Spring Maven Repository. The project page is updated with download ...

Read More »

Proof-of-Concept Using Spring Roo

spring-roo-logo

In my time with Keyhole, I’ve been involved in a number of projects where the client was asking us to rewrite a legacy system while retaining their existing database. Sometimes it helps to give a quick demo on how using current technologies can make it easier to develop, test, and maintain their code. One way I’ve found to get a ...

Read More »

Using jOOQ with Spring: Configuration

spring-interview-questions-answers

I have had my share of performance problems caused by ORMs. Although I have to admit that most of these problems were really caused by yours truly, I have started to think that using ORMs in read-only operations is not worth it. I started to look for alternative ways to implement these operations. That is how I ran into jOOQ ...

Read More »

Understanding Spring Web Initialization

spring-interview-questions-answers

Few years ago majority of us were used to write XML config files everywhere, to setup even simple Java EE application. Today using Java or Groovy to configure projects is becoming preferred way – you just need to take a look at Gradle or functionalities introduced in further versions of the Spring Framework to gen up on this. Now I’ll ...

Read More »

Testing Spring components with Mockito

mockito-logo

Be able to unit test your spring components without the need of loading the full spring-context with its ad-hoc test configurations it is ,in my opinion, a great advantage because it’s clean, easy to maintain, faster to write, smooth to alter. A way to achieve this goal is to use Mockito and tell him to replace the @Autowired components in ...

Read More »

Consuming Spring-hateoas Rest service using Spring RestTemplate and Super type tokens

spring-interview-questions-answers

Spring-hateoas provides an excellent way for applications to create REST based services which follow the HATEOAS principle. My objective here is not to show how to create the service itself, but to demonstrate how to write a client to the service. The sample service that I am going to use is the ” the-spring-rest-stack” written by Josh Long( @starbuxman). The ...

Read More »

Spring Boot – foundation for modern Java application

spring-interview-questions-answers

Spring Boot is relatively new project from Spring.io. Its aim is to simplify creating new Spring Framework based projects and unify their configuration by applying some conventions. This approach convention over configuration is already successfully applied in most of so called modern web frameworks like Ruby on Rails, Django or Play! Framework. On the official website we can find primary ...

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