Popularity
5.7
Stable
Activity
0.0
Stable
300
25
46

Programming language: Scala
License: GNU Lesser General Public License v3.0 only
Tags: Database    
Latest version: v1.7

Activate alternatives and similar packages

Based on the "Database" category.
Alternatively, view Activate alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of Activate or a related project?

Add another 'Database' Package

README

Activate Persistence Framework

Gitter

Activate splash

Documentation (index):

Introduction

Activate is a framework to persist objects in Scala. It is a STM (Software Transactional Memory) durable, with pluggable persistence. Its core is the RadonSTM, which provides a powerful mechanism for controlling transactions in memory, analogous to the transactions of databases, to do optimistic concurrency control. The durability of transactions (persistence) is pluggable and can use persistence in different paradigms such as relational (JDBC), prevalence (Prevayler) and non-relational (MongoDB).

Benefits

The main benefits of the framework are:

  • Atomic, consistent, isolated and durable transactions. You can use entities without worrying about concurrency issues.
  • Entities are always consistent in memory and in the persistence layer. For example, if rollback occurs, entities in memory stay consistent.
  • Transaction propagation control, including nested transactions.
  • Entities are lazy loaded and initialized automatically when needed.
  • Queries are type-safe and consistent, even with objects created in the current transaction. Therefore, an entity created in the same transaction may be returned in a query.
  • The available memory is used efficiently, minimizing the conversation with the storage and maximizing performance.

Build

Use sbt 0.11.2 to build Activate. Use the command "eclipse" to generate the eclipse project. To run tests, you have to provide the databases instances for the contexts defined on the net.fwbrasil.activate.ActivateTest.contexts method of the activate-tests project.

License

The code is licensed under LGPL.


*Note that all licence references and agreements mentioned in the Activate README section above are relevant to that project's source code only.