#javabubble's Avatar

#javabubble

@javabubble.bsky.social

Use the #javabubble or #java hashtags The biggest community of Java Developers in Bsky! I follow everyone who mentions #Java or #JavaBubble in their posts and repost them all! Built by @raphaeldelio.dev Not an official Java account

874 Followers  |  2,176 Following  |  2 Posts  |  Joined: 19.11.2024  |  1.6991

Latest posts by javabubble.bsky.social on Bluesky

Post image

Your mission, should you choose to accept it: Master #JVM memory like a pro.

Join @hansolo_ Oct. 6-9 at #JCONUSA25 @ #IBM #TechXchange in Orlando. Dive into garbage collection secrets and take your #Java skills to the next level.

🎟️ Secure your spot now: usa.jcon.one/register
#JCON2025

07.08.2025 09:30 — 👍 2    🔁 1    💬 0    📌 0
Preview
Fisher2760 - Twitch FisherTech:Skyblock Wasteland Develpment. Pack Dev

FisherTech:Skyblock Wasteland Develpment. Pack Dev twitch.tv/fisher2760

#minecraft #java #javsscript #coding #develpment #uk #disabled

07.08.2025 09:15 — 👍 1    🔁 1    💬 0    📌 0
Preview
How to Manage Your JDKs With SDKMAN In this blog, you will learn how to manage several Java Development Kits (JDKs) on your Linux system using SDKMAN. Besides JDKs, several other SDKs can be managed by means of SDKMAN. Enjoy!

In this blog, you will learn how to manage several Java Development Kits (JDKs) on your Linux system using SDKMAN. Besides JDKs, several other SDKs can be managed by means of SDKMAN. Enjoy!
#java

07.08.2025 08:48 — 👍 1    🔁 1    💬 0    📌 0
Preview
Build Once, Run Anywhere - Fact or Fiction? | Build AI-Powered Software Agents with AntStack | Scalable, Intelligent, Reliable Discover how 'Build Once, Run Anywhere (WORA)' in Java simplifies cross-platform development, revolutionizing software coding.

"Build Once, Run Anywhere" - fact or fiction?

We're exploring the history and modern relevance of this game-changing concept in this blog.

Read the blog here!👇
www.antstack.com/blog/build-once-run-anywhere-fact-or-fiction-/

#BuildOnceRunAnywhere #Java #Programming #SoftwareDevelopment #AntStack

07.08.2025 08:07 — 👍 1    🔁 1    💬 0    📌 0

#java

07.08.2025 07:53 — 👍 1    🔁 1    💬 0    📌 0
Preview
Bean There, Dung That The Wild, Weird, and Worrisome Truth About Kopi Luwak

#poop #coffee #KopiLuwak #java #Musang #Sumatra #Java #Bali #Sulawesi #palmcivet #civet #writingcommunity #amwriting #amediting #WIPwarmup #WIP #wordcount #wordcraft #shortstories #amateurwriter #substack #diary #writer #poetry #digitaldiary #reading #6amwritersclub #5amwritersClub #Justwrite 🖖

07.08.2025 07:15 — 👍 2    🔁 1    💬 0    📌 0
Post image

Counting Millions of Things with Kilobytes
A Hands-On Quarkus Tutorial for Scalable Unique Counting with HyperLogLog
buff.ly/7avObMX
#Java #Quarkus #GitHub #HyperLogLog

07.08.2025 06:25 — 👍 3    🔁 2    💬 0    📌 0
Preview
Lo que se puede hacer con las fuentes en iText 7 Creo ya lo había mencionado pero iText tuvo ese enorme cambio de la versión 5 a la 7 de modo que al ver un tutorial existe la posibilidad de no apliqué a la versión que esta usando. Y esto se refleja doble con el manejo de las fuentes ya que encima del cambio de versión varias de las funciones y constantes fueron descontinuadas en una versión intermedia, buena suerte hallando las nuevas. Así que, para tener todo en el mismo lugar, hagamos un acordeón sobre el uso de fuentes en iText 7. ## Usando fuentes en iText 7. El primer paso es saber como funcionan las fuentes en iText 7, las fuentes son representadas por objetos _PdfFont_ las cuales pueden ser asignadas a los objetos compatibles (Como por ejemplo _Paragraph_ y _Text_) vía el método _setFont_ de esos objetos. PdfFont font = PdfFontFactory.createFont(StandardFonts.TIMES_ROMAN); author.setFont(font); Los objetos _PdfFont_ se crean con ayuda de _PdfFontFactory_ con el cual podemos especificar el nombre de la fuente o cargar un archivo externo. Una vez que halla creado el objeto _PdfFont_ puede usarlo en cualquier parte de su documento. ## Usando las fuentes predeterminadas iText incluye consigo una pequeña cantidad de fuentes ya listas para usarse, que si bien no le van a ganar ningún concurso de diseño están muy a la mano para hacer mas legible su documento. Estas fuentes se representan con las constantes contenidas en la clase _StandardFonts_ que son las siguientes. Fuentes Estándar de iText 7 (No se espante por el mensaje de error, es solo la falta del javadoc), basta con pasarle la constante de la fuente que desea al método _createFont_ de _PdfFontFactory_ y con eso ya tendrá el objeto _PdfFont_ para aplicar esa fuente. ## Tamaño de fuente Para cambiar el tamaño de la fuente de un elemento de texto (_Text_ , _Paragraph_ , etc) debe usar el método _setFontSize_ del elemento del que desea cambiar el tamaño y pasarle de argumento el tamaño de fuente que desea tenga. textoSize.setFontSize(25f); ## Usando fuentes externas Si las fuentes incluidas con iText no bastan para lo que necesita puede cargar y usar una fuente desde un archivo .ttf, esto requiere un par de pasos adicionales, pero no es nada complicado. Lo primero que debe de hacer es crear un objeto _FontProgram_ con ayuda del método _createFont_ del objeto _FontProgramFactory_ este método recibe de argumento la ruta al archivo ttf, como se ve a continuación. String rutaFuente = "PressStart2P.ttf"; FontProgram fontProgram = FontProgramFactory.createFont(rutaFuente); Ya que tenga el objeto _FontProgram_ de la fuente del archivo puede usarla para crear el objeto _PdfFont_ con ayuda del método _createFont_ de _FontFactory_. PdfFont fuenteExterna = PdfFontFactory.createFont(fontProgram, PdfEncodings.WINANSI, true); El método _createFont_ toma tres argumentos, la fuente que deseamos usar, la codificación y si la fuente debe de guardarse dentro del PDF resultante, los argumentos que se muestran arriba le funcionaran bien en la mayoría de los casos. Ya que tenga el objeto _PdfFont_ puede usarlo como se ha estado usando previamente. Text textoFuenteExterna = new Text("Texto con una fuente externa "); textoFuenteExterna.setFont(fuenteExterna); ## Combinando diferentes tipos, tamaños y estilos de fuente Y claro todo lo que se aplico previamente se puede usar en conjunto para hacer que el texto tenga el color, fuente y tamaño que desee, es sencillo como aplicar los métodos indicados Text textoTodo = new Text("Texto al que le aplicamos todo lo aprendido"); textoTodo.setFont(fuenteExterna); textoTodo.setFontColor( ColorConstants.ORANGE ); textoTodo.setFontSize(45f); ## Ejemplo Ahora veamos como se ve todo lo anterior en un solo programa package com.hash.databaseio.fuentesitext; import com.itextpdf.io.font.FontProgram; import com.itextpdf.io.font.FontProgramFactory; import com.itextpdf.io.font.PdfEncodings; import com.itextpdf.io.font.constants.StandardFonts; import com.itextpdf.kernel.font.PdfFont; import com.itextpdf.kernel.font.PdfFontFactory; import com.itextpdf.kernel.pdf.PdfDocument; import com.itextpdf.kernel.pdf.PdfWriter; import com.itextpdf.layout.Document; import com.itextpdf.layout.element.Paragraph; import com.itextpdf.layout.element.Text; import com.itextpdf.kernel.colors.ColorConstants; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.util.logging.Level; import java.util.logging.Logger; /** * * @author draygoza */ public class App { static final private Logger LOGGER = Logger.getLogger("com.hash.databaseio.fuentesitext.App"); static public void main(String[] args) { try { File archivo = new File("fuentes.pdf"); PdfDocument pdf = new PdfDocument(new PdfWriter(archivo)); try (Document document = new Document(pdf)) { // Creamos el objeto para usar la fuente Times Roman PdfFont fuenteTimesRoman = PdfFontFactory.createFont(StandardFonts.TIMES_ROMAN); // Creamos el objeto para usar la fuente Times Bold PdfFont fuenteTimesBold = PdfFontFactory.createFont(StandardFonts.TIMES_BOLD); // Texto al que le aplicaremos las fuentes Text textoBold = new Text("Texto usando Times Bold "); Text textoRoman = new Text("Texto usando Times Roman "); textoBold.setFont(fuenteTimesBold); textoRoman.setFont(fuenteTimesRoman); // Texto que le cambiaremos el tamaño Text textoSize = new Text("Texto de otro tamaño"); textoSize.setFont(fuenteTimesBold); textoSize.setFontSize(25f); Paragraph parrafo = new Paragraph(); // Texto de otro color Text textoColor = new Text("Texto en otro color "); textoColor.setFontColor(ColorConstants.MAGENTA); // Fuente externa // Indicamos la ruta al archivo de la fuente String rutaFuente = "PressStart2P.ttf"; FontProgram fontProgram = FontProgramFactory.createFont(rutaFuente); PdfFont fuenteExterna = PdfFontFactory.createFont(fontProgram, PdfEncodings.WINANSI, true); Text textoFuenteExterna = new Text("Texto con una fuente externa "); textoFuenteExterna.setFont(fuenteExterna); // Ahora juntaremos todo Text textoTodo = new Text("Texto al que le aplicamos todo lo aprendido"); textoTodo.setFont(fuenteExterna); textoTodo.setFontColor( ColorConstants.ORANGE ); textoTodo.setFontSize(45f); // Puede usar varias fuentes en un mismo parrafo aplicando la // fuente a uno o varios Text y agregandolos al parrafo parrafo.add(textoBold); parrafo.add(textoRoman); parrafo.add(textoSize); parrafo.add(textoColor); parrafo.add(textoFuenteExterna); parrafo.add(textoTodo); document.add(parrafo); } } catch (FileNotFoundException ex) { LOGGER.log(Level.SEVERE, null, ex); } catch (IOException ex) { LOGGER.log(Level.SEVERE, null, ex); } } } Tras ejecutar el programa vera el archivo fuentes.pdf que se ve asi. Varias fuentes Puede encontrar el proyecto de ejemplo aquí: https://github.com/HashRaygoza/fuentesitext Espero que esta entrada les fuera de utilidad, nos vemos en la próxima y si desean cooperar con la causa. ## Referencias: https://stackoverflow.com/questions/56853541/what-are-the-new-constants-for-the-pdffontfactory-class-in-itext https://itextpdf.com/en/resources/books/itext-7-building-blocks/chapter-1-introducing-fonts

Fuentes en iText 7 – #Raydamon

https://hashraydamon.blog/2020/03/06/fuentes-en-itext-7/

#java #coding #programming #iText

07.08.2025 04:48 — 👍 1    🔁 1    💬 0    📌 0
Post image

#android #androidev #java

07.08.2025 03:39 — 👍 1    🔁 1    💬 0    📌 0
Preview
Learn to become a modern Java developer Community driven, articles, resources, guides, interview questions, quizzes for java development. Learn to become a modern Java developer by following the steps, skills, resources and guides listed…

Switching to tech in 2025? Our FREE #Java developer roadmap shows you exactly what to learn — no guesswork, just structured steps to land that backend dev job.

06.08.2025 22:09 — 👍 4    🔁 2    💬 0    📌 0

I had a really great time at Spring I/O ☀️ This is the recording of my presentation about Modular RAG Architectures, where I cover several RAG patterns that you can implement in your Spring Boot application using Spring AI + Arconia (for enhanced developer experience).

#Java #AI #SpringBoot

06.08.2025 20:35 — 👍 2    🔁 2    💬 0    📌 0
Preview
Fisher2760 - Twitch Welcome I'm Fisher2760 and we play games if you like what you see click the follow :) Come say hi in chat.

Pack Dev/More Project Nope Zone day 35 twitch.tv/fisher2760

#minecraft #Modded #Java #Coding #Twitch #uk #Youtube

06.08.2025 19:51 — 👍 2    🔁 2    💬 0    📌 0
Post image

📍Karimunjawa, Central Java, Indonesia..

#karimunjawa #java #indonesia #streetart #wackywednesdayart #photography

06.08.2025 19:18 — 👍 11    🔁 1    💬 1    📌 0
Post image

📍Karimunjawa, Central Java, Indonesia..

#karimunjawa #java #indonesia #rooster #streetart #wackywednesdayart #photography

06.08.2025 19:20 — 👍 12    🔁 1    💬 1    📌 0
Post image Post image

Try using this foldi when you teach #classes this year! Print it back to back. Fold it on the vertical line and cut flaps along the horizontal lines. This will allow them to lift each flap for a definition and example.

Learn more: learn.java/learning/tut...

#Java #learnjava #teachjava #introtoCS

06.08.2025 19:12 — 👍 1    🔁 1    💬 0    📌 0

📢 Super exciting news! Two talks on #TornadoVM, one of the technologies used and extended in our project will be part of the #DevoxxBE program in October!

Congratulations to the #TornadoVM team from the University of Manchester! 👏

Registration will open soon!

#opensource #Java #GPU

06.08.2025 18:24 — 👍 6    🔁 2    💬 0    📌 0

A deep dive talk about #TornadoVM, an #opensource #Java technology for hardware acceleration will be part of the @devoxx.com program! #DevoxxBE

Join us to learn more about the technology!

And do not miss, a 2nd talk on how TornadoVM can offer GPU-accelerated inference in Java! 🚀

06.08.2025 18:13 — 👍 8    🔁 3    💬 0    📌 0
Wednesday Links - Edition 2025-08-06 Java Gets a JSON API - Inside Java Newscast #95 (6...

Wednesday Links - Edition 2025-08-06
dev.to/0xkkocel/wed...
#java #jvm #http3 #json #git #kotlin

06.08.2025 17:02 — 👍 1    🔁 1    💬 0    📌 0
youtu.be
https://youtu.be/UKYDkTRgNpI youtu.be

Our next #JCON2025 session is live: 'Virtual #Threads Structured #Concurrency Extent Locals: When to Use Them, and How.' with Cay Horstmann

Project #Loom introduces a #lightweight threading model to the #Java platform. …

Grab your coffee and hit play: youtu.be/UKYDkTRgNpI

#JCON

06.08.2025 16:05 — 👍 1    🔁 1    💬 0    📌 0
Video thumbnail

The latest live coding session was... something else.

AI logic, function calls, broken ASCII art.

🎥 Catch the next session here: youtube.com/live/jbnWaC0...

#LiveCoding #Java #AI #OpenSource

06.08.2025 15:18 — 👍 4    🔁 2    💬 0    📌 0
Preview
Java Developers Can Finally Build AI Apps Without Losing Their Minds -- ADTmag For decades, Java has been the enterprise world's go-to programming language—the reliable, if somewhat verbose, workhorse powering everything from banking systems to e-commerce platforms. But when the...

For decades, Java has been the enterprise world's go-to programming language—the reliable, if somewhat verbose, workhorse powering everything from banking systems to e-commerce platforms.
adtmag.com/Blogs/Waters...
#LangChain4j #Java #Quarkus #App

06.08.2025 14:35 — 👍 1    🔁 1    💬 0    📌 0
Secret Laboratory | Rotten Block S1E25
YouTube video by CountMosquitoMC Secret Laboratory | Rotten Block S1E25

Forgot to post this yesterday! Hope you enjoy. 🤗
@niaamo.bsky.social
#minecraft #java #smp
www.youtube.com/watch?v=8nT6...

06.08.2025 14:21 — 👍 1    🔁 2    💬 0    📌 0
Post image Post image

Para os que não sabem, o maven está indo para sua versão 4(ainda sem data de lançamento). Com o lançamento do @intellijidea.com 2025.2 dando suporte ao Maven4, resolvi experimentar essa versão, por comentarem ganhos de performance. Testei e ainda não vi ganhos consideráveis assim.

#java #bolhadev

06.08.2025 14:01 — 👍 5    🔁 3    💬 0    📌 0
Preview
Project Leyden Ships Third Option for Faster Application Start with JEP 483 in Java 24 In Java 24, Project Leyden’s JEP 483, "Ahead-of-Time Class Loading & Linking", starts Java applications like Spring PetClinic up to 40% faster without code changes or new application constraints. It…

Project Leyden Ships Third Option for Faster Application Start with JEP 483 in Java 24 buff.ly/FjPDzmf
#Java #quarkus

06.08.2025 13:39 — 👍 3    🔁 2    💬 0    📌 0
Origin

Web Crawler Using WebMagic Explore WebMagic, its architecture, and setup details. The post Web Crawler Using WebMagic first appeared on Baeldung .              

Interest | Match | Feed

06.08.2025 12:43 — 👍 1    🔁 1    💬 0    📌 0
Post image

Unlock your #achievement: #JCONUSA25 at #IBM #TechXchange! 🏆

Join us in Orlando (Oct 6–9) for fantastic #Java talks, #legendary speakers, and serious networking XP. Grab your gear, it's going to be epic.

🕹️ usa.jcon.one/register

#JCON #JCON2025

06.08.2025 12:23 — 👍 1    🔁 1    💬 0    📌 0
Video thumbnail

Here's your daily #apcsa quiz #2. There is a new focus on algorithms in the course and exam description. Hope this helps.

Learn more: learn.java/learning/tut...

#learnjava #teachjava #javaprogramming #Java #dailyquiz #algorithms

06.08.2025 12:06 — 👍 1    🔁 1    💬 0    📌 0
IntelliJ IDEA 2025.2 and Spring Modulith
YouTube video by Coffee + Software IntelliJ IDEA 2025.2 and Spring Modulith

IntelliJ IDEA 2025.2 and Spring Modulith

youtu.be/fGExm_Rlees?...

#java #spring

06.08.2025 12:10 — 👍 2    🔁 2    💬 0    📌 0
Preview
Real World Java Interview Questions Book | Java Challengers For intermediate and senior Java developers who want to work on international jobs Earning Top Salaries <img width="1024" height="768" src="https://javachallengers.com/wp-content/uploads/2025/08/3D-book-1024x768.png" alt="" srcset="https://javachallengers.com/wp-content/uploads/2025/08/3D-book-1024x768.png 1024w, https://javachallengers.com/wp-content/uploads/2025/08/3D-book-300x225.png 300w, https://javachallengers.com/wp-content/uploads/2025/08/3D-book-768x576.png 768w, https://javachallengers.com/wp-content/uploads/2025/08/3D-book-1536x1152.png 1536w, https://javachallengers.com/wp-content/uploads/2025/08/3D-book.png 1600w" sizes="(max-width: 1024px) 100vw, 1024px" /> Java Challengers | All rights reservedTweetShareSharePin0 Shares

🚀 Fantastic news! I've published a FREE book with 50+ real-world #Java interview questions for mid/senior developers aiming for international jobs & top salaries. 🌍💼

💻 Download now & start growing your career:

#JavaChallengers #JavaCareer

06.08.2025 11:00 — 👍 1    🔁 1    💬 0    📌 0
Post image

Super excited to give a deep dive talk on @devoxx.com 2025!

We will give a deep dive presentation on the internals of @tornadovm.org and explain how #Java developers can harness the power of #GPUs!

See you all in Belgium at fall!

06.08.2025 10:07 — 👍 8    🔁 3    💬 0    📌 2

@javabubble is following 18 prominent accounts