[Project] Removed mention of transactional from website
This commit is contained in:
parent
09469a2b45
commit
5618e0e893
|
@ -210,10 +210,6 @@ try (StrolchTransaction tx = openTx(realmName)) {
|
|||
<p>In this mode, all data is stored in memory, and any changes made are written back to the persistence
|
||||
layer. This allows for fast in-memory quries, but makes sure no data is lost when the agent is
|
||||
restarted.</p></li>
|
||||
<li>TRANSACTIONAL
|
||||
<p>In this mode no data is kept in memory and every query, and root element retrieval is passed to the
|
||||
persistence layer to be retrieved from the underlying database. This is what comes closest to a
|
||||
typical Java+Hibernate implementation.</p></li>
|
||||
</ul>
|
||||
|
||||
<p>Strolch Realms are also responsible for opening Transactions, as these are bound to the persistence layer
|
||||
|
@ -404,8 +400,7 @@ public class SetParameterCommand extends Command {
|
|||
</li>
|
||||
<li>Configure and maintain the realms, which implement the multi-client capability</li>
|
||||
<li>Provide a default ServiceHandler to perform Services at runtime</li>
|
||||
<li>Implements the realms which each can operate in different modes data store modes: TRANSACTIONAL,
|
||||
CACHED, TRANSIENT
|
||||
<li>Implements the realms which each can operate in different modes data store modes: CACHED, TRANSIENT
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
@ -425,12 +420,12 @@ public class SetParameterCommand extends Command {
|
|||
<li><a href="https://github.com/4treesCH/strolch/tree/master/li.strolch.persistence.postgresql">li.strolch.persistence.postgresql</a>
|
||||
|
||||
<p>Implements a PostgreSQL persistence layer so that the Strolch model can be persisted to a PostgreSQL
|
||||
RDBMS when the realm is configured to have a data store mode of either CACHED or TRANSACTIONAL</p>
|
||||
RDBMS when the realm is configured to have a data store mode of CACHED.</p>
|
||||
</li>
|
||||
<li><a href="https://github.com/4treesCH/strolch/tree/master/li.strolch.persistence.xml">li.strolch.persistence.xml</a>
|
||||
|
||||
<p>Implements an XML persistence layer so that the Strolch model can be persisted to XML files when the
|
||||
realm is configured to have a data store mode of either CACHED or TRANSACTIONAL.</p>
|
||||
realm is configured to have a data store mode of CACHED.</p>
|
||||
</li>
|
||||
<li><a href="https://github.com/4treesCH/strolch/tree/master/li.strolch.rest">li.strolch.rest</a>
|
||||
|
||||
|
|
|
@ -68,10 +68,6 @@
|
|||
persistence layer. This allows for fast in-memory qeuries, but makes sure no data is lost when the agent
|
||||
is restarted.
|
||||
</li>
|
||||
<li>TRANSACTIONAL <br/> In this mode no data is kept in-memory and every query, and element retrieval is
|
||||
passed to the persistence layer to be retrieved from the underlying database. This is similar to typical
|
||||
Java applications where JPA is used.
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<p>Realms are mostly hidden from a developer as a <code>StrolchTransaction</code> exposes all important
|
||||
|
@ -79,7 +75,7 @@
|
|||
specific project. If the project only requires one realm, then the <code>defaultRealm</code> can be used,
|
||||
where the developer only is required to configure the mode and any relevant model file.</p>
|
||||
|
||||
<p>If the mode is CACHED or TRANSACTIONAL, then the <code>PersistenceHandler</code> component is required to be
|
||||
<p>If the mode is CACHED, then the <code>PersistenceHandler</code> component is required to be
|
||||
configured, so that the DAOs know how to access the underlying database.</p>
|
||||
|
||||
<p>The configuration in the <code>StrolchConfiguration.xml</code> file is as follows:</p>
|
||||
|
@ -93,10 +89,10 @@
|
|||
<api>li.strolch.agent.api.RealmHandler</api>
|
||||
<impl>li.strolch.agent.impl.DefaultRealmHandler</impl>
|
||||
<depends>PrivilegeHandler</depends>
|
||||
<!-- if CACHED or TRANSACTIONAL: -->
|
||||
<!-- if CACHED: -->
|
||||
<!--depends>PersistenceHandler</depends-->
|
||||
<Properties>
|
||||
<dataStoreMode>EMPTY|TRANSIENT|CACHED|TRANSACTIONAL</dataStoreMode>
|
||||
<dataStoreMode>EMPTY|TRANSIENT|CACHED</dataStoreMode>
|
||||
<dataStoreFile>StrolchModel.xml</dataStoreFile>
|
||||
</Properties>
|
||||
</Component>
|
||||
|
@ -120,10 +116,9 @@
|
|||
<depends>PrivilegeHandler</depends>
|
||||
<depends>PersistenceHandler</depends>
|
||||
<Properties>
|
||||
<realms>defaultRealm, cachedRealm, transactionalRealm</realms>
|
||||
<realms>defaultRealm, cachedRealm</realms>
|
||||
<dataStoreMode>TRANSIENT</dataStoreMode>
|
||||
<dataStoreFile>DefaultRealm.xml</dataStoreFile>
|
||||
<dataStoreMode.transactionalRealm>TRANSACTIONAL</dataStoreMode.transactionalRealm>
|
||||
<dataStoreMode.cachedRealm>CACHED</dataStoreMode.cachedRealm>
|
||||
<dataStoreMode.emptyRealm>EMPTY</dataStoreMode.emptyRealm>
|
||||
</Properties>
|
||||
|
@ -137,11 +132,6 @@
|
|||
<allowSchemaCreation>true</allowSchemaCreation>
|
||||
<allowSchemaDrop>true</allowSchemaDrop>
|
||||
|
||||
<db.url.transactionalRealm>jdbc:postgresql://localhost/testdb1</db.url.transactionalRealm>
|
||||
<db.username.transactionalRealm>testuser1</db.username.transactionalRealm>
|
||||
<db.password.transactionalRealm>test</db.password.transactionalRealm>
|
||||
<db.pool.maximumPoolSize.transactionalRealm>1</db.pool.maximumPoolSize.transactionalRealm>
|
||||
|
||||
<db.url.cachedRealm>jdbc:postgresql://localhost/testdb2</db.url.cachedRealm>
|
||||
<db.username.cachedRealm>testuser2</db.username.cachedRealm>
|
||||
<db.password.cachedRealm>test</db.password.cachedRealm>
|
||||
|
|
Loading…
Reference in New Issue