fix EAR deployment
Add bean validation sample and junit