Spring

Showing 1-7 of 7 results
EngineeringIcon ChevronBack-end

Spring Security with JWT for REST API

by Ioram Gordadze

The Spring Security framework is the de facto industry standard when it comes to securing Spring-based apps, but it can be tricky to configure. In this article, Toptal Software Engineer Ioram Gordadze demonstrates how you can implement it without wasting too much time.

15 minute readContinue Reading
EngineeringIcon ChevronTechnology

Launching a Spring Boot Application Programmatically

by Igor Delac

Starting a Spring Boot application in the command line is as simple as it gets. But what if we want to run our application from another Java program? In this article, Toptal Java Developer Igor Delac demonstrates how you can start a Spring Boot app programmatically using just a few lines of code.

5 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?

10 minute readContinue Reading
EngineeringIcon ChevronBack-end

Using Spring Boot for WebSocket Implementation with STOMP

by Tomasz Dąbrowski

The WebSocket protocol is one of the ways to make your application handle real-time messages. The most common alternatives are long polling and server-sent events. In this article, Toptal Freelance Java Developer Tomasz Dąbrowski shows us how to implement WebSockets with the Spring Boot framework, and use STOMP for effective client-server communication.

8 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 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

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.