This topic has not yet been written. The content below is from the topic description.
Introduction Infinispan's tree API module offers clients the possibility of storing data using a tree-structure like API. This API is similar to the one provided by JBoss Cache, hence the tree module is perfect for those users wanting to migrate their applications from JBoss Cache to Infinispan, who want to limit changes their codebase as part of the migration. Besides, it's important to understand that Infinispan provides this tree API much more efficiently than JBoss Cache did, so if you're a user of the tree API in JBoss Cache, you should consider migrating to Infinispan. What is Tree API about? The aim of this API is to store information in a hierarchical way. The hierarchy is defined using paths represented as Fqn or fully qualified names, for example: /this/is/a/fqn/path or /another/path. In the hierarchy, there's an special path called root which represents the starting point of all paths and it's represented as: / Â Each FQN path is represented as a node where users can store data using a key/value pair style API (i.e. a Map). For example, in /persons/john, you could store information belonging to John, for example: surname=Smith, birthdate=05/02/1980...etc. Â Please remember that users should not use root as a place to store data. Instead, users should define their own paths and store data there. The following sections will delve into the practical aspects of this API.