The Soplets PetStore Demo is a comprehensive showcase on how to define, organize and use Soplets inside a typical Java project.https://github.com/sopletmaster/org.soplets.petstore
View the code
You can view and/or download the PetStore code from the following location:
Run the demo
In order to run the demo you must execute the following steps:
1.) Install the Lombok Eclipse extension
Execute lombok-soplets.jar (doubleclick it, or run java -jar lombok-soplets.jar). Follow instructions. The lombok-soplets.jar file is contained in the PetStore project's lib folder.
Alternatively: Copy the lombok-soplets.jar file to the base folder of your Eclipse installation. Add the following 2 entries to the eclipse.ini file:
Note: In OSX the path may differ, in some cases a /../../lombok-soplets.jar relative path did the trick.
2.) Start-up Eclipse and import the project to your workspace
Start Eclipse and import the PetStore project to your workspace
3.) Run the application
Run the PetStoreApplication.java class, a Swing window should open
Note: A database will be created automatically in a newly created /TEST_DB directory