Learn how to convert a Stack Trace to a String using core Java method or Apache Commons-Lang library.
Search Results for: stack
Testing an OAuth Secured API with Spring MVC (using the Spring Security OAuth legacy stack)
A quick, practical guide to testing an API secured by OAuth with the Spring MVC test support.
Introduction to Java 9 StackWalking API
In this article, we will look at Java 9’s new StackWalking API that provides an access to a Stream of StackFrames.
OAuth2.0 and Dynamic Client Registration (using the Spring Security OAuth legacy stack)
Learn how to define clients dynamically with Spring Security and OAuth2.
Spring Security OAuth2 – Simple Token Revocation (using the Spring Security OAuth legacy stack)
Quick practical intro to revoking tokens with Spring Security OAuth2.
Learn Spring Security OAuth Course
The definitive guide to secure your application with the new OAuth2 stack in Spring Security 6 and Boot 3.
Learn Spring Security Core Course
The reference, in-depth dive into the core of Spring Security 6 and Boot 3, through the project-based lessons.
Learn Spring Security Course
The reference, in-depth dive into Spring Security 6 and Boot 3, with the full 88 project-based lessons.
REST with Spring Course
Learn to implement a production-grade, fully secure REST API with Spring 6 and Spring Boot 3.
OpenAPI Custom Generator
Learn the steps required to create a custom generator for the OpenAPI generator tool.
How to Use Pair With Java PriorityQueue
Learn how to use Comparators with PriorityQueues and how to change the sorting order in such queues.
Java Weekly, Issue 540
Avoiding n+1 queries, Spring AI, JMS, Graal dev kit, and GitHub actions on Raspberry PI!
Role-Based Access Control in Quarkus
Explore the RBAC system and learn how to leverage the Quarkus framework to implement it.
“Not a Managed Type” Exception in Spring Data JPA
Explore the reasons behind the “Not a Managed Type” Exception in Spring Data JPA.
PrintWriter write() vs print() Method in Java
Discover the differences between PrintWriter’s write() and print() methods.
New Features in Java 21
Learn about the new features of Java 21, like record patterns and switch enhancements for cleaner code.
Find the Largest Number Possible After Removing k Digits of a Number
A quick and practical guide to finding the largest number possible after removing k digits of a number.
Finding the Parent of a Node in a Binary Search Tree with Java
BSTs efficiently solve problems, including finding a node’s parent. Learn approaches to locate a node’s parent, considering edge cases.
Custom Event Handlers and Listeners in Netty
Learn to make a basic chat room using Netty. Key features include custom event handlers, server bootstrapping, and event listeners.
Java Weekly, Issue 531
Records meet JPA, cloud cost, and Java at Netflix, more secure APIs, and face-to-face meetings. A packed week.