Petclinic by itself is a web application (war) - however, for demonstrative purposes it can be packed also as EAR for 
usage inside application servers (such as GlassFish with JPA support).