Spring

Showing 1-9 of 12 results
EngineeringIcon ChevronBack-end

Spring Security With JWT for REST API

By Ioram Gordadze

Spring Security is the de facto framework for securing Spring apps, but it can be tricky to configure. This Spring Security tutorial highlights an efficient JWT solution.

15 minute readContinue Reading
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?

11 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 provides beneficial error messages to engineers building REST APIs. Yet, those messages are useless for the general API consumer. We provide a simple approach to improving this functionality.

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

Join the Toptal® community.