Blog Archives

Setting up SSL

SSL serves two purposes : Encryption – data is encrypted with SSL before being sent using HTTP Authentication – the Certificate Authority guarantees the certificate holder is who they say they are First Step is to create a Self Sign

Posted in Java, Maven, Spring Security

Maven Overlays

Maven Overlays can be used to: Share common resources across multiple web applications Normal <dependencies> go to WEB-INF/lib However war <dependencies> are over-layed on the war project itself Need to specify type : <type>war</type> Wars & Zip files can be

Posted in Java, Maven

Maven – exec plugin

Use the exec plugin to execute a Java class. Setup on command line: exec.mainClass – Class with main method exec.args – (optional) command line arguments OR Setup through XML. <plugin>     <groupId>org.codehaus.mojo</groupId>     <artifactId>exec-maven-plugin</artifactId>     <version>1.2.1</version>     <configuration>       

Posted in Java, Maven