Category: Java

Default Starters — Spring Boot Technical Concepts Series, Part 1

We’re excited to launch the first post in our Spring Boot Technical Concepts series! We thought it was only appropriate to begin with Spring Boot Default Starters in Spring Boot. Java Enterprise Edition in the late ’90s – especially Enterprise Java Beans (EJB), required an almost mystical knowledge of arcane XML descriptors and boilerplate code. …

7 Habits of Super Productive Java Developers

Last week we surveyed our internal team of incredibly productive Java developers looking for the best advice, tips, and tricks they could offer. For a small team, they have a combined 153 years of professional experience in Java, so they know what they’re talking about! Here’s what they had to say: 1. Know your tools …

Is Java Dead? No! Here’s Why…

We see this “Is Java dead?” question pop up year after year, and yet, by all external markers, Java is alive, well, and growing. While newer languages grab the headlines, TIOBE ranked Java as its top language of 2015 currently shows it enjoying 5% growth in use since 2014, more than any other programming language. …

A Beginner’s Guide to JWTs in Java

New to token authentication, OAuth, or JSON Web Tokens? This is a great place to start! First, what is a JSON Web Token, or JWT (pronounced “jot”)? In a nutshell, a JWT is a secure and trustworthy standard for token authentication. JWTs allow you to digitally sign information (referred to as claims) with a signature …

5 Practical Tips for Building Your Spring Boot API

Every API developer is looking for ways to manage their application more securely, without sacrificing speed or ease of implementing new features. To that end, we recently updated the core Stormpath product – our REST API – to Spring Boot. Along the way, we utilized a number of critical efficiencies that would be of value …

How We Migrated Our Backend to Spring Boot in 3 Weeks

Last week, we updated the core Stormpath product – our REST API – to Spring Boot. This is a major architectural upgrade for our codebase and it simplified application development and deployment for our whole team, for both software engineering and operations. And it was shockingly easy. This blog post will cover the entire migration, …

OZorkAuth – Learn OAuth2 + Spring Boot The Fun Way!

On a recent vacation, I did a personal hackathon with the goal of demystifying OAuth2 in a fun way. (My boss called this a vacation fail, but in between visiting dormant volcanoes and whale watching, this was the perfect downtime activity for me!) The result is OZorkAuth. Zork was an early interactive fiction game that …

OAuth 2.0 Token Management with Stormpath and Spring Boot

OAuth 2.0 token management is often misunderstood and difficult to implement correctly. Fortunately, with Stormpath’s SDKs and integrations, we make Token Management easy – fun, even. This 20-minute tutorial will show you how to implement Token Management with Stormpath’s Spring Boot and Spring Security integrations. While Spring Security does have built in OAuth 2.0 support, …

How to: Secure Connected Microservices in Spring Boot with OAuth and JWTs

If you’re a developer who, like myself, loves Microservices for their flexibility and scalability then you’ve probably run into this challenge: How can you easily scale your application while maintaining the security and efficiency of service-to-service communications? Microservices consist of many independent processes communicating with each other over an API. The keyword there is many. …

Write Once Multi-Tenancy with Subdomains and Spring Boot

Update 5/12/2016: Building multi-tenancy with Spring Boot? Learn how to integrate OAuth with our OZorkAuth game!   Java introduced the idea of “Write Once, Run Anywhere”. In this post, you will learn how to “Write Once, Run Any Tenant”. With a single application and some configuration in Stormpath’s Admin Console, your application will be able to …