Spring

Showing 1-7 of 7 results

Share

Spring Security With JWT for REST API

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
Ioram Gordadze

Ioram Gordadze

Launching a Spring Boot Application Programmatically

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
Igor Delac

Igor Delac

Build with Confidence: A Guide to JUnit Tests

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
Nikhil Bansal

Nikhil Bansal

Using Spring Boot for WebSocket Implementation with STOMP

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
Tomasz Dąbrowski

Tomasz Dąbrowski

Using Spring Boot for OAuth2 and JWT REST Protection

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
Sergio Moretti

Sergio Moretti

Spring Batch Tutorial: Batch Processing Made Easy with Spring

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
Alexey Saenko

Alexey Saenko

Caching in Spring with EhCache Annotations

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
Cong Liu

Cong Liu

World-class articles, delivered weekly.

By entering your email, you are agreeing to our privacy policy.

Join the Toptal® community.