There are certain locations where it is the convention to locate your web scripts. The normal location when using the Tomcat application server is ./tomcat/shared/classes/alfresco. Within that directory there are a couple of directories you should know about:
- extension - your repository-tier web scripts will most likely be located here, typically in templates/webscripts. Web scripts are usually organized into packages below this directory, for example org/alfresco/*. You might create a package com/mycompany/* in which you can locate your company's web scripts.