Use case scenario
We will take a very simple scenario to get an overall understanding of creating a web script with a Java-backed controller. Our main objective is to understand how to create Java-backed web scripts and how to use Alfresco APIs inside the Java-backed controller. Let's get started.
You must be aware that Alfresco stores the metadata of the content in a database and stores the actual content on a filesystem. Now, once the content is available in Alfresco, you might be interested to know its location and find out where it actually resides on the filesystem. So, the next time you are discussing content in Alfresco with someone, you can actually showcase the mapping of content in Alfresco with its actual physical location on filesystem under content store.
Also, while working on projects with external application integration with Alfresco, you might at some point in time want to know the size of the content as well, along with its location on the filesystem.
Let's take this as our...