since there was no web-scripts-application-context.xml file anywhere.
That seemed to make the bean visible, but I get an error about the web script already being associated with the 'Presentation" container. If you have better luck, please post!
I know this is an old post but I am answering anyway for the benefit of anyone googling this.
It is possible to have a Java-backed webscript in Share. If you would like to see how it's done you can follow this thread on another post: Click here. However, I totally agree with MikeH: Your Java-backed webscript should reside in the Alfresco Repository and accessed from Share through a RESTful presentation webscript (server-side) or Ajax call (client-side).