Problem : Creating a web application, where the content is managed by alfresco. Using spring mvc, and probably a sql server database. Will have basic functionality such as email, forms, download tracking of content, login pages.. etc.
I was wondering would it be possible to instead, use alfresco's web project features in the new community 2.0 release, to build such a site? if so, where would the src go? How would we configure it to use things spring? how would i even deploy the application.
Alfresco's WCM system was designed to support the development of web applications that leverage Alfresco as a run-time repository for hosting content and content management services. An Alfresco Web Project should serve as the container for the source code for your web app and any "published" content that you will want to make available to that site. You can import your WAR file into a Web Project, and the entire web app should be virtualized for preview. Your developers can access their sandbox via CIFS, modify the source code, and then test changes in their sandbox before committing and publishing to Staging (another virtualized site instance). With 2.0.1E, you can take any given Staging snapshot and then deploy - replicate - that snapshot to a remote Alfresco server instance - enabling you to separate content authoring from content hosting to provide for greater scalability.
Let me know if you have any further question. Would love to see you be able to leverage our WCM system for this application … should be a good fit.
Please do note the following forum thread related to virtualizing a Spring-based web app to avoid any potential complications: