#javadev search results

💡Spring Boot tip: Use H2 if you need an in-memory database for dev/testing. #SpringBoot #JavaDev

mario_casari's tweet image. 💡Spring Boot tip: Use H2 if you need an in-memory   database for dev/testing.
 #SpringBoot #JavaDev

💡Java tip: Use HashMap as Map implementation when you need greatest general-purpose performance. #Java #JavaDev

mario_casari's tweet image. 💡Java tip: Use HashMap as Map implementation when you need greatest general-purpose performance.
#Java  #JavaDev

💡 Spring Boot tip: Use spring-boot-starter-logging (Logback) for logging, it is already included as default. ✅ spring-boot-starter-logging is already included in most starters (spring-boot-starter-web, spring-boot-starter-data-jpa, etc.) #SpringBoot #JavaDev

mario_casari's tweet image. 💡 Spring Boot tip: Use spring-boot-starter-logging (Logback) for logging, it is already included as default.

✅ spring-boot-starter-logging is already included in most starters (spring-boot-starter-web, spring-boot-starter-data-jpa, etc.)
#SpringBoot #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

💡Java tip: Starting from Java 14 you can use switch expressions for shorter and cleaner multi-branch logic. #Java #JavaDev

mario_casari's tweet image. 💡Java tip: Starting from Java 14 you can use switch expressions for shorter and cleaner multi-branch logic.
#Java #JavaDev

💡 Spring Boot: To better handle circular dependencies, use constructor injection instead of field injection. ✅ Forces all required dependencies to be provided at creation time, allowing early detection. #SpringBoot #JavaDev

mario_casari's tweet image. 💡 Spring Boot: To better handle circular dependencies, use constructor injection instead of field injection.

✅ Forces all required dependencies to be provided at creation time, allowing early detection.
#SpringBoot #JavaDev

🚀 Spring Boot: If you need to inject grouped configuration properties into classes, you can use @ConfigurationProperties instead of @Value #SpringBoot #JavaDev

mario_casari's tweet image. 🚀 Spring Boot: If you need to inject grouped configuration properties into classes, you can use @ConfigurationProperties instead of @Value 

#SpringBoot #JavaDev

💡 Spring Boot: You can run jobs at fixed intervals without setting up Quartz or external schedulers. #SpringBoot #JavaDev

mario_casari's tweet image. 💡 Spring Boot: You can run jobs at fixed intervals without setting up Quartz or external schedulers.
#SpringBoot #JavaDev

🚀 Spring Boot tip: With Spring Boot and Spring Security you can secure endpoints easily. #SpringBoot #JavaDev

mario_casari's tweet image. 🚀 Spring Boot tip: With Spring Boot and Spring Security you can secure endpoints easily.
#SpringBoot #JavaDev

💡Spring Boot tip: Use @Profile to group and load beans/configurations in specific environments. #SpringBoot #JavaDev

mario_casari's tweet image. 💡Spring Boot tip: Use @Profile to group and load beans/configurations in specific environments.
#SpringBoot #JavaDev

🚀 Use ReentrantReadWriteLock Java concurrence utility if you have to deal with frequent reads and fewer writes. #Java #JavaDev

mario_casari's tweet image. 🚀 Use ReentrantReadWriteLock Java concurrence utility if you have to deal with frequent reads and fewer writes. #Java #JavaDev

💡Java tip: Starting from Java 8 prefer java.time over Date and Calendar. #ModernJava #JavaDev

mario_casari's tweet image. 💡Java tip: Starting from Java 8 prefer java.time over Date and Calendar.
#ModernJava #JavaDev

🚀 Spring Boot: Use @SpringBootApplication(exclude = …) to disable specific auto-configuration classes. ✅ One possible reason to do so could be that you have a custom configuration that conflicts with the default. #SpringBoot #JavaDev

mario_casari's tweet image. 🚀 Spring Boot: Use @SpringBootApplication(exclude = …) to disable specific auto-configuration classes.

✅ One possible reason to do so could be that you have a custom configuration that conflicts with the default.
#SpringBoot #JavaDev

💡Java tip: Starting from Java 9 you can use Stream.takeWhile() for easy slicing of lists by streams. #Java #JavaDev

mario_casari's tweet image. 💡Java tip: Starting from Java 9 you can use Stream.takeWhile() for easy slicing of lists by streams. 
#Java #JavaDev

🚀 Java: With CompletableFuture.allOf(...) you can wait on multiple async tasks without manual join handling. #Java #JavaDev

mario_casari's tweet image. 🚀 Java: With CompletableFuture.allOf(...) you can wait on multiple async tasks without manual join handling.
#Java #JavaDev

🚀 With Collectors.summarizingInt() you can get count, sum, min, max, avg in one pass. #Java #JavaDev

mario_casari's tweet image. 🚀 With Collectors.summarizingInt() you can get count, sum, min, max, avg in one pass.
#Java #JavaDev

💡 Java tip: List.reversed() returns an unmodifiable reversed view of the original list. #Java #JavaDev

mario_casari's tweet image. 💡 Java tip: List.reversed() returns an unmodifiable reversed view of the original list. #Java #JavaDev

🚀 Use Files.isSameFile(path1, path2) to check if two paths refer to the same file. It resolves symlinks too. ✅ It checks whether two Path objects refer to the same actual file in the file system. #Java #JavaDev

mario_casari's tweet image. 🚀  Use Files.isSameFile(path1, path2) to check if two paths refer to the same file. It resolves symlinks too.

✅ It checks whether two Path objects refer to the same actual file in the file system.
#Java #JavaDev

💡 Java tip: Use Optional.filter(...) to add inline conditions to an Optional object. ✅ It lets you apply a condition directly and it returns the original Optional if the predicate passes, an empty one otherwise. #Java #JavaDev

mario_casari's tweet image. 💡 Java tip: Use Optional.filter(...) to add inline conditions to an Optional object.

✅ It lets you apply a condition directly and it returns the original Optional if the predicate passes, an empty one otherwise.
#Java #JavaDev

💡Java tip: Starting from Java 9 you can use Stream.takeWhile() for easy slicing of lists by streams. #Java #JavaDev

mario_casari's tweet image. 💡Java tip: Starting from Java 9 you can use Stream.takeWhile() for easy slicing of lists by streams. 
#Java #JavaDev

🐍 Java devs: slow builds, messy tests, deployment chaos? 🔧 Our blog shows the tools you need for faster project delivery and smoother workflow. 🔗 Visit our blog for the full guide! developers.dev/tech-talk/java… #Java #JavaDev #DevTools #SoftwareDelivery #TechTips #developersdev

topdeveloperdev's tweet image. 🐍 Java devs: slow builds, messy tests, deployment chaos?

🔧 Our blog shows the tools you need for faster project delivery and smoother workflow.

🔗 Visit our blog for the full guide!

developers.dev/tech-talk/java…

#Java #JavaDev #DevTools #SoftwareDelivery #TechTips #developersdev

💡 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

🎯 From recognizing faces to tracking objects — learn how OpenCV + Java makes vision-based automation simple and fast. #AI #JavaDev


🚀 Spring Boot: If you need to inject grouped configuration properties into classes, you can use @ConfigurationProperties instead of @Value #SpringBoot #JavaDev

mario_casari's tweet image. 🚀 Spring Boot: If you need to inject grouped configuration properties into classes, you can use @ConfigurationProperties instead of @Value 

#SpringBoot #JavaDev

💬 “Setters are flexible.” “Constructors ensure immutability.” Who’s right? Let’s settle this debate once and for all. #JavaDev


Just kicked off my #SpringBoot journey! Built my first REST API today—small wins, big dreams! Any tips for a fresher? #LearnInPublic #JavaDev"


🚀 Spring Boot: Use @SpringBootApplication(exclude = …) to disable specific auto-configuration classes. ✅ One possible reason to do so could be that you have a custom configuration that conflicts with the default. #SpringBoot #JavaDev

mario_casari's tweet image. 🚀 Spring Boot: Use @SpringBootApplication(exclude = …) to disable specific auto-configuration classes.

✅ One possible reason to do so could be that you have a custom configuration that conflicts with the default.
#SpringBoot #JavaDev

🚀 Spring Boot tip: With Spring Boot and Spring Security you can secure endpoints easily. #SpringBoot #JavaDev

mario_casari's tweet image. 🚀 Spring Boot tip: With Spring Boot and Spring Security you can secure endpoints easily.
#SpringBoot #JavaDev

Today was all about debugging the OWASP Dependency-Check integration in my Java project. The NVD API refused to cooperate, but I learned more about Maven configs & static analysis than I planned to 😅 #JavaDev


Looking for the best tool to create clean UML diagrams for documentation. Any suggestions? 💭 #BuildInPublic #JavaDev #SpringBoot #100DaysOfCode #BackendDevelopment


🚀 Starting a new project: CollegeSphere 🎓 A College Management System I’ll build in 30 days using Spring Boot. It’ll include student & faculty management, authentication, and REST APIs. Excited to #BuildInPublic & share daily progress! 💪 #JavaDev #SpringBoot #100DaysOfCode


🚀 Lightweight, fast, and beautifully designed — FlatLaf brings Swing back into the modern era. #FlatLaf #JavaDev


💡 Java tip: Use StringBuilder instead of String for concatenating strings in loops. ❌ String is immutable, making it inefficient in loops, especially large ones. ✅ StringBuilder is mutable and optimized for repeated string appends. #Java #JavaDev

mario_casari's tweet image. 💡 Java tip: Use StringBuilder instead of String for concatenating strings in loops.

❌ String is immutable, making it inefficient in loops, especially large ones.

✅ StringBuilder is mutable and optimized for repeated string appends.
#Java #JavaDev

[WORKSHOP] Cloud Native Spring – Crafting the Perfect Java Image for K8s Save your spot here: hubs.la/Q03ScJyF0 #java #Kubernetes #JavaDev #CloudNative #DevOps #K8s

Amichai's tweet image. [WORKSHOP] Cloud Native Spring – Crafting the Perfect Java Image for K8s

Save your spot here: hubs.la/Q03ScJyF0
 #java #Kubernetes #JavaDev #CloudNative #DevOps #K8s

⚡ Performance gains, better GC, and new developer tools — Java 25 is built for scale and speed. #JavaDev


💡 Spring Boot: To better handle circular dependencies, use constructor injection instead of field injection. ✅ Forces all required dependencies to be provided at creation time, allowing early detection. #SpringBoot #JavaDev

mario_casari's tweet image. 💡 Spring Boot: To better handle circular dependencies, use constructor injection instead of field injection.

✅ Forces all required dependencies to be provided at creation time, allowing early detection.
#SpringBoot #JavaDev

💡Spring Boot tip: Use H2 if you need an in-memory database for dev/testing. #SpringBoot #JavaDev

mario_casari's tweet image. 💡Spring Boot tip: Use H2 if you need an in-memory   database for dev/testing.
 #SpringBoot #JavaDev

💡Java tip: Use HashMap as Map implementation when you need greatest general-purpose performance. #Java #JavaDev

mario_casari's tweet image. 💡Java tip: Use HashMap as Map implementation when you need greatest general-purpose performance.
#Java  #JavaDev

💡Java tip: Starting from Java 14 you can use switch expressions for shorter and cleaner multi-branch logic. #Java #JavaDev

mario_casari's tweet image. 💡Java tip: Starting from Java 14 you can use switch expressions for shorter and cleaner multi-branch logic.
#Java #JavaDev

💡 Java tip: Use Stream.peek() for debugging in pipelines, not for business logic. ✅ Stream.peek() lets you perform logging or inspection on each element as it flows through a stream without modifying it. #Java #JavaDev

mario_casari's tweet image. 💡 Java tip: Use Stream.peek() for debugging in pipelines, not for business logic.

✅ Stream.peek() lets you perform logging or inspection on each element as it flows through a stream without modifying it.
#Java #JavaDev

💡 Java tip: List.reversed() returns an unmodifiable reversed view of the original list. #Java #JavaDev

mario_casari's tweet image. 💡 Java tip: List.reversed() returns an unmodifiable reversed view of the original list. #Java #JavaDev

🚀 Use ReentrantReadWriteLock Java concurrence utility if you have to deal with frequent reads and fewer writes. #Java #JavaDev

mario_casari's tweet image. 🚀 Use ReentrantReadWriteLock Java concurrence utility if you have to deal with frequent reads and fewer writes. #Java #JavaDev

💡Java tip: Starting from Java 8 prefer java.time over Date and Calendar. #ModernJava #JavaDev

mario_casari's tweet image. 💡Java tip: Starting from Java 8 prefer java.time over Date and Calendar.
#ModernJava #JavaDev

🚀 Java: With CompletableFuture.allOf(...) you can wait on multiple async tasks without manual join handling. #Java #JavaDev

mario_casari's tweet image. 🚀 Java: With CompletableFuture.allOf(...) you can wait on multiple async tasks without manual join handling.
#Java #JavaDev

💡 Spring Boot: You can run jobs at fixed intervals without setting up Quartz or external schedulers. #SpringBoot #JavaDev

mario_casari's tweet image. 💡 Spring Boot: You can run jobs at fixed intervals without setting up Quartz or external schedulers.
#SpringBoot #JavaDev

💡 Java tip: Starting from Java 12 you can use String.transform(Function) to apply lambdas directly to strings. #Java #JavaDev

mario_casari's tweet image. 💡 Java tip: Starting from Java 12 you can use String.transform(Function) to apply lambdas directly to strings.
#Java #JavaDev

🚀 Spring Boot: If you need to inject grouped configuration properties into classes, you can use @ConfigurationProperties instead of @Value #SpringBoot #JavaDev

mario_casari's tweet image. 🚀 Spring Boot: If you need to inject grouped configuration properties into classes, you can use @ConfigurationProperties instead of @Value 

#SpringBoot #JavaDev

🚀 Use Files.isSameFile(path1, path2) to check if two paths refer to the same file. It resolves symlinks too. ✅ It checks whether two Path objects refer to the same actual file in the file system. #Java #JavaDev

mario_casari's tweet image. 🚀  Use Files.isSameFile(path1, path2) to check if two paths refer to the same file. It resolves symlinks too.

✅ It checks whether two Path objects refer to the same actual file in the file system.
#Java #JavaDev

💡 Java tip: Use Optional.filter(...) to add inline conditions to an Optional object. ✅ It lets you apply a condition directly and it returns the original Optional if the predicate passes, an empty one otherwise. #Java #JavaDev

mario_casari's tweet image. 💡 Java tip: Use Optional.filter(...) to add inline conditions to an Optional object.

✅ It lets you apply a condition directly and it returns the original Optional if the predicate passes, an empty one otherwise.
#Java #JavaDev

💡 Spring Boot: To better handle circular dependencies, use constructor injection instead of field injection. ✅ Forces all required dependencies to be provided at creation time, allowing early detection. #SpringBoot #JavaDev

mario_casari's tweet image. 💡 Spring Boot: To better handle circular dependencies, use constructor injection instead of field injection.

✅ Forces all required dependencies to be provided at creation time, allowing early detection.
#SpringBoot #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

🚀 With Collectors.summarizingInt() you can get count, sum, min, max, avg in one pass. #Java #JavaDev

mario_casari's tweet image. 🚀 With Collectors.summarizingInt() you can get count, sum, min, max, avg in one pass.
#Java #JavaDev

Loading...

Something went wrong.


Something went wrong.


United States Trends