4Developers 2022: Explaining annotation magic - Tomasz Borek

youtube.com 1 rok temu


I want you to realize annotations. Sometimes the methods that we work on have more annotations than code so I'd say it's necessary.
I want you to know how annotations work. I want you to be aware of their ""magic"" and cost. So, I will explain @Target and @Retention, make an annotation and it's processor, show any reflection (and other) magic that tools like Lombok, Spring or Hibernate employment and hopefully make the planet of Java software a small clearer while doing so.

Expect:

0. Annotations. Duh! We will look at several, Java built-in, Spring ones, Lombok's and Hibernate's - possibly more.
1. Creating your own annotations.
2. Reflection, classpath scanning.
3. Annotation processing.

👉 [FB] https://www.facebook.com/4Developers
👉 [LI] https://www.linkedin.com/showcase/4developers
👉 [TT] https://twitter.com/4Developers