Starting out with JCR and Jackrabbit I do not understand what a workspace is and how it is intended to be used. And why is it named workspace in the firstplace? Are repositories like databases, workspaces like tables and items like rows (or pretty much)?
What is a workspace in a content repository?
2.6k Views Asked by LuckyLuke At
2
There are 2 best solutions below
Related Questions in JAVA
- Add image to JCheckBoxMenuItem
- How to access invisible Unordered List element with Selenium WebDriver using Java
- Inheritance in Java, apparent type vs actual type
- Java catch the ball Game
- Access objects variable & method by name
- GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
- Perform a task each interval
- Compound classes stored in an array are not accessible in selenium java
- How to avoid concurrent access to a resource?
- Why does processing goes slower on implementing try catch block in java?
- Redirect inside java interceptor
- Push toolbar content below statusbar
- Animation in Java on top of JPanel
- JPA - How to query with a LIKE operator in combination with an AttributeConverter
- Java Assign a Value to an array cell
Related Questions in JAKARTA-EE
- Which Should i use for date,time,email in servlet?
- Simple JavaEE HTML GET/POST application
- Updating the message contents for a MessageDialog wicket
- Access roles from multiple applications
- How to compile an individual jsp file from command line
- DB2, Hibernate, JPA: Schema does not exist
- Spring load a file
- Execute RequestDispatcher after 5 seconds
- Hibernate Lazy loading not work in OneToOne relation
- Websphere 8.5.5 - shared session context not working
- withSchedule(ScheduleBuilder<SBT>) in the type TriggerBuilder<Trigger> is not applicable for arguments (MutableTrigger)
- Setting response header using interceptor?
- How to use the same ContainerRequestFilter for multiple projects?
- [Ljava.lang.Object; cannot be cast to List from a request SQL
- which should i use in request.getParameter in servlet?
Related Questions in JACKRABBIT
- Sling 7 JCR SQL Query Fails On Unicode-Value Properties
- "Destroying connection that could not be successfully matched"
- JCR vs JPA for a DMS: performance, benefits, drawbacks
- jackrabbit-webapp-2.10.1.war on tomcat7
- How does Jackrabbit generate jcr:uuid (in AEM)?
- How to query jackrabbit jcr to get nodes ordered by number of matches (using SQL2/XPATH)?
- How to fix inconsistency in Jackrabbit JCR (BundleFsPersistenceManager)
- Temporary files are not getting deleted in Apache Jackrabbit
- Jackrabbit with PostgreSQL backend leaves repository in inconsistent state
- How to query Jackrabbit for a property value on all the file versions?
- How to create content in apache sling using java program
- Switch from MySql driver to MariaDB driver for Jackrabbit
- JCR Node.getReferences() doesn't work
- Index and full-text-search with Jackrabbit, Lucene using Tika
- How To Get Current Jackrabbit User In Felix Request Filter?
Related Questions in JCR
- Sling 7 JCR SQL Query Fails On Unicode-Value Properties
- Adobe CQ: Copy node from one CQ instance to another using crx/de
- Sling Mock is not allowing to get ResourceResolverFactory
- Javax JCR Node getProperties and Titles
- Apache sling : org.apache.sling.api.resource.PersistenceException: Unable to create node at /var/discovery))
- How to programatically delete revisions of a page in CQ5?
- JCR vs JPA for a DMS: performance, benefits, drawbacks
- AccessDeniedException when writing into JCR (JackRabbit) [Magnolia]
- How does Jackrabbit generate jcr:uuid (in AEM)?
- CQ - Check whether the resource object is valid
- How to query jackrabbit jcr to get nodes ordered by number of matches (using SQL2/XPATH)?
- Temporary files are not getting deleted in Apache Jackrabbit
- Recursive search in JCR repo via java
- How to stop filevault to compress jcr hierarchy?
- How to Query Jackrabbit for same name siblings
Related Questions in CONTENT-REPOSITORY
- What exactly is the definition of a content repository?
- Standard Interface to Interact with Various Content Repositories From J2EE Client Server Environment Using JCR
- Should I organize content in content repositories like I do in file systems?
- Use of MixinTypes in JCR
- What is a workspace in a content repository?
- What is a Node and a Property in content repository?
- How to learn using content repository and Apache JackRabbit?
- How to check if node is removed from content repository?
- JCR session closed by container causes duplicate attempt to close session
- How to create repository instance in JackRabbit Oak using MicroKernel
- Actual Jackrabbit/Oak guides and documentation
- Azure enabling content trust will impact exisitng images in registry?
- Label:- XMLContent De-duplication
- Minimum set of libraries required to use Jackrabbit JCR implementation?
- see if the node exists in Jackrabbit AbstractWebDavServlet in JackRabbit
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Each JCR workspace is like a different root in your content tree, so you can have a node at /foo in workspace A and a different node /foo in workspace B.
A node can have corresponding nodes in other workspaces: the /foo node of workspace A can be cloned to /foo in workspace B, creating a corresponding node. Both nodes can then live their own life for a while, while being kept corresponding which allows for updating one with the content of the other with one JCR call later.
That could be used for content staging, for example, where one workspace holds the live content of a website while another holds staged content.
I'm not sure what the comparison with a database would be, maybe distinct schemas with some functions that allow for updating one set of tables with another set's data.
In my team (Apache Sling, Adobe CQ/AEM) we always use a single workspace, from my experience multiple workspaces would make things more complicated and less transparent that I like them to be.
http://wiki.apache.org/jackrabbit/DavidsModel Rule #3 recommends using workspaces only if you need clone(), merge() and update(), that's good advice in my opinion, and I would seriously check if those methods meet my need before using workspaces.