Where do you put custom code?
To deploy custom code to a Fatwire installation..
simply shoehorn your own jars into the WAR
To deploy custom code to a Fatwire installation, you unpack the War, shove your own jars or classes in, and pack it up again.
So, you've shoehorned your code into the war and it's sitting in the application context, ready to be loaded and run. How's it run? By being called from a JSP. JSPs in Fatwire are templates, technical assets remember, that live in the content repository.