Posts with #JavaDev
#JavaDev
Public posts on X that use #JavaDev.
Related hashtags


JavaTrends@JavaTrendss#Java Coding Best Practices for High-Performance Applications #javaprogramming #javadev #dormosheio #webdev #programming #beginners #bestpractices011451.8K
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: 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
JavaTrends@JavaTrendssAuthentication and authorization with Spring-Boot #java #javaprogramming #javadev #dormosheio #springboot #tutorial #springsecurity0217512.5K
JavaTrends@JavaTrendssBuilding High-Performance Apps with Redis, PostgreSQL & Spring Boot #java #javaprogramming #javadev #dormosheio #postgres #springboot #redis016541.9K
🚀 Spring Boot: A webhook is when another system sends a POST request to your app when something happens. In Spring Boot, you implement it simply by exposing an endpoint that receives that POST request. #SpringBoot #JavaDev09843K
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: If your code uses RestTemplate, you can implement tests by mocking external calls with MockRestServiceServer. ✅ MockRestServiceServer works by intercepting HTTP requests #SpringBoot #JavaDev111972.6K
🚀 Spring Boot: You can implement optimistic locking using the @Version annotation. ✅ Ideal when: 🟢Reads are frequent 🟢Writes are relatively rare 🟢Conflicts are uncommon ❌ Not Ideal when: 🔴Conflicts are frequent 🔴Strict serialization is needed #SpringBoot #JavaDev010592.1K

🚀 Spring Boot: To make Jackson create your objects from JSON in an explicit, and predictable way, you can use @JsonCreator. 🟢 Each parameter is explicitly bound #SpringBoot #JavaDev27893.6K
💡Spring Boot tip: Use H2 if you need an in-memory database for dev/testing. #SpringBoot #JavaDev36832.8K
JavaTrends@JavaTrendssMicro Service Patterns: Circuit Breaker with Spring Boot #java #javaprogramming #javadev #dormosheio01666
- Show more posts












