Home » Tag Archives: Spring (page 30)

Tag Archives: Spring

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 »

Spring Integration Publisher

spring-interview-questions-answers

Consider a hypothetical requirement – You have a service class in your application and you want to capture some information around the calls to this service:                   @Service public class SampleBean { private static final Logger logger = LoggerFactory.getLogger(SampleBean.class); public Response call(Request request) { logger.info("SampleBean.call invoked"); return new Response(true); } } AOP ...

Read More »

Spring LDAP 2.0.0 is released

spring-interview-questions-answers

The Spring team is pleased to announce that Spring LDAP 2.0.0 is released and is now available from Maven Central and Bintray. Spring LDAP 2.0.0.RELEASE Released lists all changes in the new release. JIRA’s change logs contain a list of the changes too. The most basic features of 2.0.0 release are presented below: Spring LDAP now includes Spring Data Repository ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Advanced Java Guide
  • Java Design Patterns
  • JMeter Tutorial
  • Java 8 Features Tutorial
  • JUnit Tutorial
  • JSF Programming Cookbook
  • Java Concurrency Essentials