1. A method for deployment of a multi-tenant application, comprising: providing, at one or more computers, including an application server environment executing thereon, a plurality of deployable resources which can be used within the application server environment, and one or more application deployments, wherein each application deployment includes at least one of tenant-specific code and shared-tenant code; determining an application tenancy context of a thread; and pointing to one or more resource proxies, each of the one or more resource proxies being configurable to communicate with at least one tenant specific resource; and wherein each of the one or more resource proxies uses the application tenancy context of a thread to communicate with the at least one tenant specific resource.