Spring Tips: The Spring Framework *Utils Classes

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ม.ค. 2025

ความคิดเห็น • 12

  • @PhilipStarritt
    @PhilipStarritt 7 ปีที่แล้ว +1

    Thanks Josh , really enjoyed this 🙂

  • @elCoronelCC
    @elCoronelCC 7 ปีที่แล้ว +2

    Lombok provides @Slf4j annotation to add a logger (and similar ones for other logging frameworks).

  • @averydavis8568
    @averydavis8568 7 ปีที่แล้ว

    The AspectJAutoProxy black magic 'oops!' is enough to convince me to stick with the native AspectJ libs and runtime weaving JVM agent. Perhaps a later Spring release has addressed this?

    • @adamlives
      @adamlives 5 ปีที่แล้ว +1

      Seems that @PostConstruct happens and the aspect is not called. If you call it directly as in demo.begin() the aspect is triggered. ¯\_(ツ)_/¯

  • @AvinashGA
    @AvinashGA 7 ปีที่แล้ว

    This video introduced me to the world of lombak :) thanks

  • @privettoli
    @privettoli 7 ปีที่แล้ว

    +SpringDeveloper, Josh, why you don't use @FieldsDefault(level = PRIVATE)?🤔

    • @javasoccernut
      @javasoccernut 7 ปีที่แล้ว

      gotta a link? I tried googling it. :(

    • @zapl80
      @zapl80 7 ปีที่แล้ว

      It's lombok, still in "experimental": projectlombok.org/features/experimental/FieldDefaults.html - I don't use that annotation either because a) too much work, adding
      those few "private"s isn't that much and b) bad for code clarity. Not having "private" will always looks to me like fields aren't private.

    • @javasoccernut
      @javasoccernut 7 ปีที่แล้ว

      ah. ok. I didnt see it when i clicked around in Lombok.

  • @tobias4096
    @tobias4096 7 ปีที่แล้ว +7

    First off, your content is great! If I could make one suggestion: please, please, talk a little slower :)

    • @milosmisic3879
      @milosmisic3879 7 ปีที่แล้ว

      You have the playback speed option. Works like a charm.