Spring

Showing 1-9 of 11 results
EngineeringIcon ChevronBack-end

Build with Confidence: A Guide to JUnit Tests

by Nikhil Bansal

In an age of continuous delivery, Java developers have to be confident that their changes don't break existing code, hence automated testing. There's more than one valid approach to it, but how can you keep them straight?

10 minute readContinue Reading
EngineeringIcon ChevronBack-end

Using Spring Boot for OAuth2 and JWT REST Protection

by Sergio Moretti

REST APIs are used in every language and on every platform. Building a secure REST API is a must-have tool in every developer's arsenal. In this article, Toptal Freelance Java Developer Sergio Moretti shows how to secure a REST API using Spring Boot.

9 minute readContinue Reading
EngineeringIcon ChevronTechnology

Microservice Communication: A Spring Integration Tutorial with Redis

by Adnan Kukuljac

Spring Integration enables lightweight messaging within Spring-based applications. In this article, Toptal Java Developer Adnan Kukuljac shows how Spring Integration with Redis makes it easy to build a microservice architecture.

9 minute readContinue Reading
EngineeringIcon ChevronBack-end

Guide to Spring Boot REST API Error Handling

by Bruno Leite

Spring Boot gives very useful error messages to engineers building REST APIs. Yet, those same messages are noisy and useless for the API consumer, not to mention they reveal implementation details. Luckily, there are simple ways of handling this.

8 minute readContinue Reading
EngineeringIcon ChevronData Science and Databases

Get Started With Microservices: A Dropwizard Tutorial

by Dusan Simonovic

Dropwizard allows developers to quickly bootstrap their projects and package applications as easily deployable standalone services. It also happens to be relatively simple to use and implement. In this tutorial, Toptal Freelance Software Engineer Dusan Simonovic will introduce you to Dropwizard and demonstrate how you can use this powerful framework to create RESTful web services with ease.

16 minute readContinue Reading
EngineeringIcon ChevronBack-end

Spring Batch Tutorial: Batch Processing Made Easy with Spring

by Alexey Saenko

Spring Batch is a lightweight, comprehensive framework designed to facilitate the development of robust batch applications. It’s easy to set up, and even easier to use. In this article, Toptal Freelance Software Engineer Alexey Saenko explains the programming model and the domain language of batch applications, using detailed code examples that should help any developer looking to get a head start in Spring Batch.

10 minute readContinue Reading
EngineeringIcon ChevronBack-end

Top 10 Most Common Spring Framework Mistakes

by Toni Kukurin

Java's open source Spring framework is a popular tool for creating high performing applications using plain old Java objects, but as with any tool, inappropriate use can lead to trouble. In this article, we cover the most common pitfalls of using the Spring framework so new and experienced developers alike have a roadmap of what to avoid.

13 minute readContinue Reading
EngineeringIcon ChevronBack-end

Java in the Cloud: Continuous Integration Setup Tutorial

by Matko Šuflaj

More than two decades ago, Java shook the world with its "Write once, run anywhere“ slogan. Today, Java developers have at their disposal a whole set of tools, such as Spring Boot, Docker, Cloud, Amazon Web Services, and Continuous Delivery, to take development and delivery to a whole new universe. In this article, Toptal Freelance Software Engineer Matko Šuflaj presents all these technologies and guides us through a step-by-step tutorial on how to build a small microservice and prepare it for continuous integration in the cloud.

18 minute readContinue Reading
EngineeringIcon ChevronBack-end

Caching in Spring with EhCache Annotations

by Cong Liu

EhCache is a widely-used, pure Java cache that can be easily integrated with most popular Java frameworks, such as Spring and Hibernate. It is often considered to be the most convenient choice for Java applications since it can be integrated into projects easily. EhCache Spring Annotations allows seamless integration into any Spring application by simply adding annotations to cacheable methods, without modifying the method implementations. This article focuses on boosting your Spring applications with EhCache Spring Annotations.

8 minute readContinue Reading

Join the Toptal® community.