Publicações com #javaDev

#javaDev

Publicações públicas do X que usam #javaDev.

Hashtags relacionados

  1. Mario Casari✓@mario_casari
    🚀 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 #JavaDev
    Baixar
    09843K
  2. Mario Casari✓@mario_casari
    🚀 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
    Baixar
    5231665.6K
  3. Mario Casari✓@mario_casari
    💡 Java CompletableFuture: chain async steps without blocking the thread on every I/O call. ✅ Chain: supplyAsync, thenApply, thenCompose, thenAccept (fetch user, then orders) #JavaDev
    Baixar
    56561.5K
  4. 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 #JavaDev
    Baixar
    17683.8K
  5. Mario Casari✓@mario_casari
    Java tip : Starting from Java 19 you can explore a feature called "virtual threads". ✅ Virtual threads are lightweight threads managed by the JVM rather than the OS. #Java #JavaDev
    Baixar
    114983.7K
  6. Mario Casari✓@mario_casari
    🚀 Spring Boot: You can enable /actuator/beans to debug missing beans. By hitting the actuator endpoint, you will see information like: ✅ Bean name ✅ Bean type ✅ Bean scope ✅ Bean dependencies #SpringBoot #JavaDev
    Baixar
    07701.9K
  7. Mario Casari✓@mario_casari
    💡 Java: Records are not limited to data only, you can add custom constructors or methods for validation. ✅ They can have constructors, static methods, and instance methods: #Java #JavaDev
    Baixar
    1121205.1K
  8. Mario Casari✓@mario_casari
    💡Java: Use Deque instead of Stack for LIFO (last-in, first-out) lists. ✅ Stack is a legacy class, it extends Vector and synchronizes every operation ✅ Deque supports the same push, pop, peek calls ✅ ArrayDeque is faster than Stack #JavaDev
    Baixar
    07451.8K
  9. Mario Casari✓@mario_casari
    🚀 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 #JavaDev
    Baixar
    27883.6K
  10. Mario Casari✓@mario_casari
    Java Tip 💡: Use Files.walk() to recursively process files in a directory. #Java #JavaDev
    Baixar
    016863.2K
  11. Mostrar mais publicações