Deployment - App Server:
JavaScript root object implementations does not lend themselves very well to be manually installed in an application server.See Deployment SDK Project instead.
Deployment All-in-One SDK project:
- aio/platform-jar/src/main/java - put the implementation class for the root object somewhere under this directory
- aio/platform-jar/src/main/resources/alfresco/module/platform-jar/context/service-context.xml - put the root object Spring bean here.