Pi4J / pi4j-v2

Pi4J Version 2.0
Apache License 2.0
275 stars 61 forks source link

Create a Spring example application via V2 #162

Open FDelporte opened 2 years ago

FDelporte commented 2 years ago

An example is available with V1 on github.com/FDelporte/JavaOnRaspberryPi/tree/master/Chapter_10_Spring, but not yet with V2

FDelporte commented 2 years ago

Can be used to help users like in this discussion https://github.com/Pi4J/pi4j-v2/discussions/192

StefanSchubert commented 2 years ago

If I got https://github.com/Pi4J/pi4j-v2/discussions/203 solved, I will rewrite also https://github.com/StefanSchubert/aquarium_IoT for v2 which might be listened as spring-boot sample application if you like too.

FDelporte commented 2 years ago

Would be great! Looking forward to any contribution to illustrate how Pi4J is used. Could even be added to https://pi4j.com/featured-projects/

BTW - and this can't be a coincidence - I'm at this same moment working on a Pi4J + Spring + Vaadin example application and can confirm it works! I hope to have it fully documented in the next week(s): https://github.com/FDelporte/Vaadin-examples

StefanSchubert commented 2 years ago

I took a look into your pom on the vaadin example, if this is working, then the maven shade plugin is no longer required (from the special fat jar description) as you are not relying on it.

Which would be great as it complains a lot on breaking jigsaw module.infos capsulations. If we don’t need it anymore I would recommend to throw it from the fat client requirements list ;-)

Am 10.03.2022 um 22:07 schrieb Frank Delporte @.***>:

Would be great! Looking forward to any contribution to illustrate how Pi4J is used. Could even be added to https://pi4j.com/featured-projects/ https://pi4j.com/featured-projects/ BTW - and this can't be a coincidence - I'm at this same moment working on a Pi4J + Spring + Vaadin example application and can confirm it works! I hope to have it fully documented in the next week(s): https://github.com/FDelporte/Vaadin-examples https://github.com/FDelporte/Vaadin-examples — Reply to this email directly, view it on GitHub https://github.com/Pi4J/pi4j-v2/issues/162#issuecomment-1064504877, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACQPGS4PFXY3U6RMLSGZCODU7JQCZANCNFSM5IBBCQQQ. You are receiving this because you commented.

FDelporte commented 2 years ago

indeed it is not needed with Vaadin/Spring as I guess one of those already handles the module stuff