#JavaDev içeren gönderiler
#JavaDev
X'te #JavaDev kullanan herkese açık gönderiler.
İlgili etiketler

💡Java: Prefer delegation over inheritance; an "is-a" relationship ties you to the superclass forever ✅ A subclass inherits the parent's entire API; a change upstream can break your code ✅ With delegation, you hold a helper object and forward calls; easy to mock #JavaDev 🧵35441.1K
🚀 Spring Boot: To make your services return a paginated response, instead of a giant list, you can use Page<T> and Pageable. #SpringBoot #JavaDev 🧵A link to an example to follow:2121053.7K
💡Spring Boot tip: Use TaskScheduler to implement lightweight dynamic tasks (consider Quartz for more complex requirements). #SpringBoot #JavaDev 🧵Text example to follow:210732.4K
Martin Hock@mnhocktweets🚀 JUnit 5 Tip 🚀 Since JUnit 5, leverage package-private visibility for classes and methods to enhance encapsulation in your tests. This helps keep your testing logic close to the code it's testing while maintaining a clean and organized codebase. #JUnit #Testing #JavaDev17683.8K
🚀 Spring Boot: You can use the " property to let Hibernate handle batch inserts. 🟢Fewer network calls 🟢Less JDBC overhead 🟢Faster bulk operations #SpringBoot #JavaDev07721.7K
💡 Spring Boot: Better avoid logging inside tight loops, since you could affect the application performance and flood log files. #SpringBoot #JavaDev23611.9K
🚀 Spring Boot: If your code uses RestTemplate, you can implement tests by mocking external calls with MockRestServiceServer. ✅ MockRestServiceServer works by intercepting HTTP requests #SpringBoot #JavaDev111972.6K
JavaTrends@JavaTrendssSpring Boot: Everything you need to know, and what nobody told you. Part I #java #javaprogramming #javadev #dormosheio #springboot #expert #programming019895.5K
🚀 Spring Boot tip: With Spring Boot and Spring Security you can secure endpoints easily. #SpringBoot #JavaDev212922.4K
JavaTrends@JavaTrendss#Java Coding Best Practices for High-Performance Applications #javaprogramming #javadev #dormosheio #webdev #programming #beginners #bestpractices011451.8K
016863.2K



- Daha fazla gönderi göster















