Posts tagged Java (2)
Nugget Friday - Simplifying Multiline Strings with Java Text Blocks
Published on 20 Sep 2024
by Luqman Saeed
Topics:
Java
|
0 Comments
Working with multiline strings in Java has historically been a challenge, often resulting in messy code that is hard to read and maintain. Whether you're dealing with SQL queries, JSON or HTML templates, managing escape characters and manual line breaks is a cumbersome process. In today's Nugget Friday, we'll look at how Text Blocks can redefine how developers handle multiline strings, making code cleaner, more readable and easier to maintain.
Improving Responsiveness in Jakarta REST (JAX-RS) Services through Asynchronous Processing
Published on 19 Sep 2024
by Luqman Saeed
Topics:
REST,
Java,
Jakarta EE
|
0 Comments
Speed and responsiveness are very important in the development and use of modern RESTful APIs in Java applications, as they help ensure efficiency and scalability, especially as businesses move towards cloud-native applications. The primary means of achieving high speed, responsiveness, efficiency and scalability is through asynchronous processing. It allows applications to handle requests efficiently and perform tasks without getting stuck, making things run smoother and faster for the user while supporting scalability.
In this post, we'll look at how asynchronous processing works in Jakarta RESTful Web Services (JAX-RS or Jakarta REST) and how to implement async patterns in JAX-RS to enhance your Java web services, so you can build powerful and scalable RESTful APIs in Java.
Join Live Webinar - Jakarta EE 11: What’s Next for Enterprise Java
Published on 18 Sep 2024
by Dominika Tasarz
Topics:
JakartaEE,
news and events,
Payara Events,
Java,
Jakarta EE,
Jakarta EE 11
|
0 Comments
Jakarta EE 11: What’s Next for Enterprise Java
Monday, 30th of September, 2pm BST
Register: https://www.crowdcast.io/c/jakarta-ee-11-whats-next
Nugget Friday: Simplify Module Imports in Java 23
Published on 23 Aug 2024
by Luqman Saeed
Topics:
Java,
Jakarta EE,
java 23
|
0 Comments
Welcome to this week’s Friday Nugget! In today’s post, we’re focusing on a new feature coming in Java 23 that’s set to make your coding life a little easier, especially if you’ve ever found yourself frustrated by the clutter of import statements: module import declarations. By leveraging such tool, you can streamline your Java code, reduce verbosity and enhance readability, making your development process more efficient.
Payara Platform Roadmap Update - August 2024
Published on 15 Aug 2024
by Ilias Efstathiou
Topics:
Java EE,
DevOps,
Developer,
Payara Platform,
Java,
Jakarta EE
|
0 Comments
Now that we're eight months into 2024 (already!?), and in the middle of summer, it seems like a good time to catch up and update you on the Payara Roadmap for 2024 - let's see what we've done and what we are still planning to do for the rest of the year and beyond.
You can also watch the Payara Roadmap Update presented at the Virtual Payara Conference last month.
Nugget Friday - Stream Gatherers: A New Way to Enhance Your Java Streams
Published on 02 Aug 2024
by Luqman Saeed
Topics:
Developer,
Java,
java 22,
java stream gatherer
|
1 Comment
Nugget Friday - Statements Before super()
Published on 26 Jul 2024
by Luqman Saeed
Topics:
Developer,
Java
|
0 Comments
As Java developers, we’ve long grappled with the constraints of constructor logic and initialization. In the past, if you needed to perform any operations before invoking the superclass constructor (via super()) in any class, you were often forced to rely on helper methods or extra constructors. This mostly ended up with cluttered, hard to read code as you needed to duplicate constructors or find workarounds. Let's look at how to address this in today's Nugget Friday!
Fine Tuning Payara Server 6 in Production
Published on 24 Jul 2024
by Ramya Billapati
Topics:
Payara Server,
Java 11,
Java,
getting started with Jakarta EE,
Jakarta EE
|
1 Comment
Nugget Friday - Structured Concurrency in Java
Published on 19 Jul 2024
by Luqman Saeed
Topics:
Developer,
Java
|
0 Comments
Nugget Friday - InputStream To String Post Java 9
Published on 12 Jul 2024
by Luqman Saeed
Topics:
Developer,
Java
|
0 Comments
It's Nugget Friday again, and we're excited to bring you another valuable titbit to our beloved coders! In this instalment of our Friday Nugget series, we're diving into a common yet essential task for developers, especially when handling data read from a file, network or database: converting an InputStream to a String in Java. Knowing how to do this is crucial for efficiently managing IO and data processing tasks.