🚀 You can use async logging in Spring Boot by configuring logback (logback-spring.xml). ✅ Log messages are sent into a queue, and are elaborated by a separate background thread. ✅ This reduces I/O bottlenecks. #SpringBoot #JavaDev

mario_casari's tweet image. 🚀 You can use async logging in Spring Boot by configuring logback (logback-spring.xml).

✅ Log messages are sent into a queue,  and are elaborated by a separate background thread.

✅ This reduces I/O bottlenecks.
#SpringBoot #JavaDev

P2Pで地震速報受信できるJavaアプリを作ったで御座る。 要望あればソースコードを公開するナリ。 緊急地震速報データ受信時にLinuxなら「/etc/quakecmd」、Windowsなら「./cmd.ini」に書かれたコマンドを実行するでござるよ。 #プログラミング #JavaDev #地震

DegenShootxd's tweet image. P2Pで地震速報受信できるJavaアプリを作ったで御座る。
要望あればソースコードを公開するナリ。
緊急地震速報データ受信時にLinuxなら「/etc/quakecmd」、Windowsなら「./cmd.ini」に書かれたコマンドを実行するでござるよ。
#プログラミング #JavaDev #地震

💡Spring Boot tip: Use TaskScheduler to implement lightweight dynamic tasks (consider Quartz for more complex requirements). #SpringBoot #JavaDev 🧵Text example to follow:

mario_casari's tweet image. 💡Spring Boot tip: Use TaskScheduler to implement lightweight dynamic tasks (consider Quartz for more complex requirements).
#SpringBoot #JavaDev 
🧵Text example to follow:

Java Tip💡: Starting from Java 14 you can use "record" to create short, immutable, data-carrying objects. ✅ They are shorter than ordinary POJOs ✅ They have built-in equals(), hashCode(), toString() ✅ They are immutable by default #Java #JavaDev

mario_casari's tweet image. Java Tip💡: Starting from Java 14 you can use "record" to create short, immutable, data-carrying objects. 

✅ They are shorter than ordinary POJOs
✅ They have built-in equals(), hashCode(), toString()
✅ They are immutable by default
#Java #JavaDev

🚀 Spring Boot: Spring Data JPA has a built-in support for pagination with Pageable. ✅You should use pagination in your repositories instead of fetching all. #SpringBoot #JavaDev

mario_casari's tweet image. 🚀 Spring Boot: Spring Data JPA has a built-in support for pagination with Pageable. 

✅You should use pagination in your repositories instead of fetching all.
#SpringBoot #JavaDev

#Java from @geeksforgeeks 🚀 ✅Genrics ✅Genric Constructors & Interfaces ✅Bounded Types with Genrics ✅Wildcards ✅Genrics with Collections ✅Type Casting and Type Safety in Generics ✅Type Erasure #365DaysOfCode #JavaDev #GeeksforGeeks #gfg #nationskillup #skillupwithgfg

amanhaidry's tweet image. #Java from @geeksforgeeks 🚀
✅Genrics
✅Genric Constructors & Interfaces
✅Bounded Types with Genrics
✅Wildcards
✅Genrics with Collections
✅Type Casting and Type Safety in Generics
✅Type Erasure

#365DaysOfCode #JavaDev #GeeksforGeeks #gfg #nationskillup #skillupwithgfg
amanhaidry's tweet image. #Java from @geeksforgeeks 🚀
✅Genrics
✅Genric Constructors & Interfaces
✅Bounded Types with Genrics
✅Wildcards
✅Genrics with Collections
✅Type Casting and Type Safety in Generics
✅Type Erasure

#365DaysOfCode #JavaDev #GeeksforGeeks #gfg #nationskillup #skillupwithgfg
amanhaidry's tweet image. #Java from @geeksforgeeks 🚀
✅Genrics
✅Genric Constructors & Interfaces
✅Bounded Types with Genrics
✅Wildcards
✅Genrics with Collections
✅Type Casting and Type Safety in Generics
✅Type Erasure

#365DaysOfCode #JavaDev #GeeksforGeeks #gfg #nationskillup #skillupwithgfg
amanhaidry's tweet image. #Java from @geeksforgeeks 🚀
✅Genrics
✅Genric Constructors & Interfaces
✅Bounded Types with Genrics
✅Wildcards
✅Genrics with Collections
✅Type Casting and Type Safety in Generics
✅Type Erasure

#365DaysOfCode #JavaDev #GeeksforGeeks #gfg #nationskillup #skillupwithgfg

💡 Java tip: Use Files.readString() and Files.writeString() for straightforward file I/O. #Java #JavaDev

mario_casari's tweet image. 💡 Java tip: Use Files.readString() and Files.writeString() for straightforward file I/O.
#Java #JavaDev

💡Spring Boot tip: If you need to implement integrations tests for Spring MVC controllers, and mock everything else, use @WebMvcTest to load only MVC-related beans. #SpringBoot #JavaDev

mario_casari's tweet image. 💡Spring Boot tip: If you need to implement integrations tests for Spring MVC controllers, and mock everything else, use @WebMvcTest to load only MVC-related beans.
#SpringBoot #JavaDev

💡Java tip: Use List.copyOf(list) for a safe, unmodifiable copy, while avoiding accidental changes. #Java #JavaDev

mario_casari's tweet image. 💡Java tip: Use List.copyOf(list) for a safe, unmodifiable copy, while avoiding accidental changes.  #Java #JavaDev

💡 Java tip: Catch mistakes at compile time annotating overridden methods with @Override. #Java #JavaDev

mario_casari's tweet image. 💡 Java tip: Catch mistakes at compile time annotating overridden methods with @Override.
#Java #JavaDev

💡Java tip: Use WeakHashMap for caching when the unreferenced keys should be garbage-collected. #Java #JavaDev

mario_casari's tweet image. 💡Java tip: Use WeakHashMap for caching when the unreferenced keys should be garbage-collected.
#Java #JavaDev

💡 Java tip: Use parallelStream() with care. It's ideal for CPU-intensive tasks, not I/O operations. #Java #JavaDev

mario_casari's tweet image. 💡 Java tip: Use parallelStream() with care. It's ideal for CPU-intensive tasks, not I/O operations.
#Java #JavaDev

💡 Java tip: Avoid boxing overhead by using primitive streams. #Java #JavaDev

mario_casari's tweet image. 💡 Java tip: Avoid boxing overhead by using primitive streams.
#Java #JavaDev

💡 SOLID Principles: Interface Segregation Principle (ISP) states that clients shouldn’t depend on methods they don’t use. ✅ Large, general-purpose interfaces should be broken down into smaller, more specific ones. #Java #JavaDev

mario_casari's tweet image. 💡 SOLID Principles: Interface Segregation Principle (ISP) states that clients shouldn’t depend on methods they don’t use.

✅ Large, general-purpose interfaces should be broken down into smaller, more specific ones. 
#Java #JavaDev

🚀 Spring Boot: In development phase, use spring.main.lazy-initialization=true to speed up the startup of the application. #SpringBoot #JavaDev

mario_casari's tweet image. 🚀 Spring Boot: In development phase, use spring.main.lazy-initialization=true to speed up the startup of the application.
#SpringBoot #JavaDev

Java tip: Starting from Java 11, if you need to repeat n times a specific string, you can use the String method repeat(n). #Java #JavaDev

mario_casari's tweet image. Java tip: Starting from Java 11, if you need to repeat n times a specific string, you can use the String method repeat(n). 
#Java #JavaDev

💡 Java tip: Use Objects.requireNonNullElse(value, defaultValue) to avoid null checks. #Java #JavaDev

mario_casari's tweet image. 💡 Java tip: Use Objects.requireNonNullElse(value, defaultValue) to avoid null checks.
#Java #JavaDev

💡 Java tip: Starting from Java 11, you can use String.strip() instead of trim(), since it handles Unicode whitespaces correctly. #Java #JavaDev

mario_casari's tweet image. 💡 Java tip: Starting from Java 11, you can use String.strip() instead of trim(), since it handles Unicode whitespaces correctly.
#Java #JavaDev

💡 Java tip: Starting from Java 8 you can use List.removeIf(<predicate>) to clean up collections in one line. #Java #JavaDev

mario_casari's tweet image. 💡 Java tip: Starting from Java 8 you can use List.removeIf(&amp;lt;predicate&amp;gt;) to clean up collections in one line. 
#Java #JavaDev

لا توجد نتائج لـ "#javadev"
لا توجد نتائج لـ "#javadev"
لا توجد نتائج لـ "#javadev"
Loading...

Something went wrong.


Something went wrong.


United States Trends