Posty z #javaDev

#javaDev

Publiczne posty w X, które używają #javaDev.

Powiązane hashtagi

  1. 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
    Pobierz
    5231675.6K
  2. Mario Casari✓@mario_casari
    🚀 Java: A very interesting library by named Sift, replaces the cryptic, string-based approach of the Java Regex engine with a fluent API. #Java #JavaDev 🧵A link to the GitHub project to follow
    Pobierz
    510814K
  3. 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
    Pobierz
    27883.6K
  4. Mario Casari✓@mario_casari
    🚀 Spring Boot: It has built-in support for pagination with Pageable. ✅You should use pagination in your repositories instead of fetching all. #SpringBoot #JavaDev
    Pobierz
    26591.8K
  5. Mario Casari✓@mario_casari
    🚀 Java: With CompletableFuture.allOf(...) you can wait on multiple async tasks without manual join handling. #Java #JavaDev
    Pobierz
    4151144K
  6. Mario Casari✓@mario_casari
    🚀Java: Starting from Java 14, you can use records 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 #JavaDev #Records
    Pobierz
    09641.8K
  7. Mario Casari✓@mario_casari
    💡 Java tip: Starting from Java 8 you can use List.removeIf(<predicate>) to clean up collections in one line. #Java #JavaDev
    Pobierz
    012822.9K
  8. Mario Casari✓@mario_casari
    💡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 🧵
    Pobierz
    35441.1K
  9. Mario Casari✓@mario_casari
    🚀 Spring Boot: If your code uses RestTemplate, you can implement tests by mocking external calls with MockRestServiceServer. ✅ MockRestServiceServer works by intercepting HTTP requests #SpringBoot #JavaDev
    Pobierz
    18832.1K
  10. Mario Casari✓@mario_casari
    💡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
    Pobierz
    013912.8K
  11. Pokaż więcej postów