What is the version management?

how to  Design a content management system with the following requirements (In Java)  1.  provide the user the ability to "checkout" a resource 2.  provide "checkin" function 3.  detail how you perform "update" functionality 4.  provide a way to "return" the latest version of a resource

  • 1.  provide the user the ability to "checkout" a resource 2.  provide "checkin" function 3.  detail how you perform "update" functionality 4.  provide a way to "return" the latest version of a resource

  • Answer:

    Use a Java API for Git to provide wrappers around git functionality. You've just described a version control system, of which Git is one. Don't reinvent the wheel.

Ben Hardy at Quora Visit the source

Was this solution helpful to you?

Other answers

Some commercial and OpenSource document and electronic content management systems support these features. I know for example Nuxeo which supports versionning you need (and lot of other features you might need). You can build your on top of it either customizing it or using the REST Web Services. see http://community.nuxeo.com/ or alfresco and others.

Omar Benhamid

As per Omar there are tons of open source implementations out there already. Like Alfresoc - http://www.alfresco.com Nuxeo - http://www.nuxeo.com Liferay - http://www.liferay.com You could also use http://jackrabbit.apache.org/ if you want to build one yourself. Most of the open source implementations use Jack Rabbit and Lucerne.

Mark Clarke

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.