03 Feb 2025
DZone Java Zone
Java Stream API: 3 Things Every Developer Should Know About
Time flies! I remember the time when Java 8 was such a reference, and everybody was talking about it like something new and revolutionary. Frankly speaking, it was new and revolutionary. But now, projects using Java 8 might be labeled "legacy." If Java 8 itself became a legacy, the features introduced in that version would still be actual. And let's talk today about one of them - Stream API.
In case you don't know, Java Stream API is a powerful tool that allows programmers to write Java code in a functional programming style. Introduced long ago, it makes working with collections easier by enabling filtering, transformation, and aggregation.
03 Feb 2025 8:00pm GMT
MuleSoft OAuth 2.0 Provider: Password Grant Type
OAuth 2.0 is a widely used authorization framework that allows third-party applications to access user resources on a resource server without sharing the user's credentials.
The Password Grant type, also known as Resource Owner Password Credentials Grant, is a specific authorization grant defined in the OAuth 2.0 specification. It's particularly useful in scenarios where the client application is highly trusted and has a direct relationship with the user (e.g., a native mobile app or a first-party web application). This grant type allows the client to request an access token by directly providing the user's username and password to the authorization server. While convenient, it's crucial to implement this grant type securely, as it involves handling sensitive user credentials.
03 Feb 2025 5:00pm GMT
29 Jan 2025
DZone Java Zone
How to Split PDF Files into Separate Documents Using Java
Asking our Java file-processing applications to manipulate PDF documents can only increase their value in the long run. PDF is by far the most popular, widely used file type in the world today, and that's unlikely to change any time soon.
Introduction
In this article, we'll specifically learn how to divide PDF files into a series of separate PDF documents in Java - resulting in exactly one new PDF per page of the original file - and we'll discuss open-source and third-party web API options to facilitate implementing that programmatic workflow into our code. We'll start with a high-level overview of how PDF files are structured to make this type of workflow possible.
29 Jan 2025 9:00pm GMT
25 Jun 2024
Lua: news
Lua 5.4.7 released
Lua 5.4.7 has been released. It fixes all known bugs in Lua 5.4.6.
25 Jun 2024 1:01pm GMT
12 Dec 2023
Lua: news
Mailing list moved
The mailing list has moved to Google Groups.
12 Dec 2023 5:21pm GMT
14 May 2023
Lua: news
Lua 5.4.6 released
Lua 5.4.6 has been released. It fixes all known bugs in Lua 5.4.5.
14 May 2023 12:41am GMT