Vielleicht hast du bereits schon das ein oder andere Mal von Java Records gehört doch der richtige Anwendungsfalle erschließt sich dir nicht? Oder fehlt dir einfach noch ein bisschen Wissen um Records richtig einsetzen zu können? Dann erkläre ich dir nun hier, schnell und einfach, wie du Java Re

https://magicmarcy.de/java-records-leicht-und-schnell

#Records #Java_14 #POJO #Plain_Old_Java_Object #DTO #Data_Transfer_Object #final

Vielleicht hast du bereits schon das ein oder andere Mal von Java Records gehört doch der richtige Anwendungsfalle erschließt sich dir nicht? Oder fehlt dir einfach noch ein bisschen Wissen um Records richtig einsetzen zu können? Dann erkläre ich dir nun hier, schnell und einfach, wie du Java Re

https://magicmarcy.de/java-records-leicht-und-schnell

#Records #Java_14 #POJO #Plain_Old_Java_Object #DTO #Data_Transfer_Object #final

Java Records leicht und schnell | magicmarcy.de

magicmarcy.de | tech // it // java // programmer // nerd // 1337 // webdesign // js // php // html // css

magicmarcy.de
Ever since I started writing #software using the #java #programming #language, I've been looking to reduce the #repetitive #boilerplate.

And I don't have a solution, yet.

Many parts of a #POJO #Bean can be auto-generated by #projectLombok, which greatly reduces the amount of logic I have to implement.

But in a suite of applications, the start of each pretty much performs the exact same operations in the exact same way, with little room to remove code duplication.

Suggestions?

Very useful for creating models from json.

#java #pojo #json #models

http://www.jsonschema2pojo.org/