This is a Janilla version of the Spring PetClinic official sample application by Spring.
The original application lives at https://github.com/spring-projects/spring-petclinic.
A database-oriented application designed to display and manage information related to pets and veterinarians in a pet clinic.
Janilla PetClinic is a Janilla application built using Maven. You can run it from Maven directly (it should work just as well with Java 21 or newer):
git clone https://github.com/diego-schivo/janilla-petclinic.git
cd janilla-petclinic
mvn compile exec:java
You can then access the PetClinic at http://localhost:8080/.
Our issue tracker is available here.
In its default configuration, Janilla PetClinic stores its data in a file under the user home directory, which gets populated at startup with data.
You can change the file location by editing configuration.properties
in the source package.
Step-by-step Video Tutorial available on our YouTube Channel.
The following items should be installed in your system:
- Java 21 or newer
- Git command line tool
- Eclipse with the m2e plugin
In order to install them all:
- Download the Eclipse Installer
- Install the package for Enterprise Java and Web Developers with JRE 21
- Launch Eclipse and choose Import projects from Git (with smart import)
- Select GitHub as the repository source, then search for
janilla-petclinic fork:true
and complete the wizard - Select the project (
janilla-petclinic
) and launch Debug as Java Application - Open a browser and navigate to http://localhost:8080/
Item | Files |
---|---|
The Main Class | PetClinicApplication |
Configuration File | configuration.properties |
The issue tracker is the preferred channel for bug reports, feature requests and submitting pull requests.
The Janilla PetClinic sample application is released under version 2.0 of the Apache License.