I know how to write Java-backed webscripts, create repository amp, and deploy amp in Tomcat in an Alfresco project.
However, my requirement calls me to write a Java project (create an executable Jar file) with a class such as MyDriver.java. The MyDriver.java will in turn query Alfresco document bytes and metadata from the document library. This Jar file will be deployed in Tomcat.
Any suggestions on this will are appreciated.