persistence
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 122
Simple persistence for Java 2.2.0
Simple persistence for Java is an object/relation mapping framework for Java. more>>
Simple persistence for Java is an object/relation mapping framework for Java. It is designed to be easy to use.
There are no XML files to write, no tables to create, no IDs to generate, and no primary keys to fiddle with; just point it to the database, check the API documentation for three basic methods, and code away.
Simple persistence for Java supports transactions, has its own simple query language (very similar to SQL), and can handle object references, lists, and maps.
You may ask: Why another O/R mapping library? Well.. Ive searched the net for a suitable O/R tool for a long time now, also tried a few in live projects, but each time, at the end of the project, I had always had a few thoughts to simplify the database interaction code. Ive started with EJB around 2000. Now, I think everyone who used EJBs also at least once wondered why saveing a friggin object requires a separate server installation, the extensive knowledge of a 200+ page documentation, generating 3 classes/interfaces per object, installing stubs, rmi, and other things I dont even want to know about. Lets just skip this chapter of my life directly to my last experience with an O/R library: pbeans. This library is generally good, I can recommend it for those, who want a stable O/R mapping tool, but it was not the one for me. I found a few points I couldnt get over:
- Save and insert should be one method. I usually dont care if an object is inserted or saved phisically, as long as its saved.
- It should handle Lists and Maps. Well, "Lists should be enough for everybody", but sometimes Maps are handy too. Lists are used very often, I think it should be handled automatically.
- The query code is too difficult, and at the same time does not offer enough features.
- The code you have to write wont be "pretty". It requires classes to be parameters, at least for queries, and I cant read the query itself.
- The Id handling is not transparent.
Enhancements:
- A major scalability feature has been added: the library is now capable of working in a distributed environment, such as load-balanced Web server clusters.
- All the library nodes connected to the same database will form a self-regulating, self-organizing, failure-tolerant network to manage exclusive resources (such as locks, etc).
- The documentation and site were updated accordingly.
<<lessThere are no XML files to write, no tables to create, no IDs to generate, and no primary keys to fiddle with; just point it to the database, check the API documentation for three basic methods, and code away.
Simple persistence for Java supports transactions, has its own simple query language (very similar to SQL), and can handle object references, lists, and maps.
You may ask: Why another O/R mapping library? Well.. Ive searched the net for a suitable O/R tool for a long time now, also tried a few in live projects, but each time, at the end of the project, I had always had a few thoughts to simplify the database interaction code. Ive started with EJB around 2000. Now, I think everyone who used EJBs also at least once wondered why saveing a friggin object requires a separate server installation, the extensive knowledge of a 200+ page documentation, generating 3 classes/interfaces per object, installing stubs, rmi, and other things I dont even want to know about. Lets just skip this chapter of my life directly to my last experience with an O/R library: pbeans. This library is generally good, I can recommend it for those, who want a stable O/R mapping tool, but it was not the one for me. I found a few points I couldnt get over:
- Save and insert should be one method. I usually dont care if an object is inserted or saved phisically, as long as its saved.
- It should handle Lists and Maps. Well, "Lists should be enough for everybody", but sometimes Maps are handy too. Lists are used very often, I think it should be handled automatically.
- The query code is too difficult, and at the same time does not offer enough features.
- The code you have to write wont be "pretty". It requires classes to be parameters, at least for queries, and I cant read the query itself.
- The Id handling is not transparent.
Enhancements:
- A major scalability feature has been added: the library is now capable of working in a distributed environment, such as load-balanced Web server clusters.
- All the library nodes connected to the same database will form a self-regulating, self-organizing, failure-tolerant network to manage exclusive resources (such as locks, etc).
- The documentation and site were updated accordingly.
Download (1.1MB)
Added: 2007-02-25 License: LGPL (GNU Lesser General Public License) Price:
971 downloads
Lexical::Persistence 0.97
Lexical::Persistence is a Perl module for persistent lexical variable values for arbitrary calls. more>>
Lexical::Persistence is a Perl module for persistent lexical variable values for arbitrary calls.
SYNOPSIS
#!/usr/bin/perl
use Lexical::Persistence;
my $persistence = Lexical::Persistence->new();
foreach my $number (qw(one two three four five)) {
$persistence->call(&target, number => $number);
}
exit;
sub target {
my $arg_number; # Argument.
my $narf_x++; # Persistent.
my $_i++; # Dynamic.
my $j++; # Persistent.
print "arg_number = $arg_numbern";
print "tnarf_x = $narf_xn";
print "t_i = $_in";
print "tj = $jn";
}
<<lessSYNOPSIS
#!/usr/bin/perl
use Lexical::Persistence;
my $persistence = Lexical::Persistence->new();
foreach my $number (qw(one two three four five)) {
$persistence->call(&target, number => $number);
}
exit;
sub target {
my $arg_number; # Argument.
my $narf_x++; # Persistent.
my $_i++; # Dynamic.
my $j++; # Persistent.
print "arg_number = $arg_numbern";
print "tnarf_x = $narf_xn";
print "t_i = $_in";
print "tj = $jn";
}
Download (0.011MB)
Added: 2007-05-18 License: Perl Artistic License Price:
889 downloads
Open Tranquera 1.0
Open Tranquera is a repository of reusable components for J2EE application development. more>>
Open Tranquera is a repository of reusable components for J2EE application development.
There are UI extensions, Services, and a Persistence layer, integrated with existing open source frameworks.
<<lessThere are UI extensions, Services, and a Persistence layer, integrated with existing open source frameworks.
Download (0.016MB)
Added: 2006-07-07 License: GPL (GNU General Public License) Price:
1207 downloads
Tiny Marbles 1.0 Final
Tiny Marbles provides persistence for dynamic objects, through a data model that you can create, modify and extend at runtime. more>>
Tiny Marbles provides persistence for dynamic objects, through a data model that you can create, modify and extend at runtime.
It is useful for developers who need to create rapid prototypes with an unknown model and developers of applications that have inherently dynamic data models. Tiny Marbles project runs under Java 1.5, supports any database that Hibernate supports.
<<lessIt is useful for developers who need to create rapid prototypes with an unknown model and developers of applications that have inherently dynamic data models. Tiny Marbles project runs under Java 1.5, supports any database that Hibernate supports.
Download (8.5MB)
Added: 2007-08-16 License: The Apache License 2.0 Price:
801 downloads
LiteSQL 0.3.2
LiteSQL is a C++ library that integrates C++ objects tightly to relational database. more>>
LiteSQL is a C++ library that integrates C++ objects tightly to relational database and thus provides an object persistence layer.
LiteSQL supports SQLite3, PostgreSQL and MySQL as backends. LiteSQL creates tables, indexes and sequences to database and upgrades schema when needed.
LiteSQL provides object relations, in addition to object persistence which can be used to model any kind of C++ data structures. Objects can be selected, filtered and ordered using template- and class-based API with type checking at compile time.
Main features:
- SQLite3, PostgreSQL and MySQL - backend support
- object persistence layer with relation support
- automatic database schema creation and upgrading
- create complex SQL queries using compile time checked class API; minimizes need to write SQL query strings
<<lessLiteSQL supports SQLite3, PostgreSQL and MySQL as backends. LiteSQL creates tables, indexes and sequences to database and upgrades schema when needed.
LiteSQL provides object relations, in addition to object persistence which can be used to model any kind of C++ data structures. Objects can be selected, filtered and ordered using template- and class-based API with type checking at compile time.
Main features:
- SQLite3, PostgreSQL and MySQL - backend support
- object persistence layer with relation support
- automatic database schema creation and upgrading
- create complex SQL queries using compile time checked class API; minimizes need to write SQL query strings
Download (0.78MB)
Added: 2006-01-25 License: LGPL (GNU Lesser General Public License) Price:
1373 downloads
dao-zero 0.5
dao-zero is a tiny Java bean used to reduce the source of a persistence tier based on Springs iBatis support. more>>
dao-zero is a tiny Java bean used to reduce the source of a persistence tier based on Springs iBatis support. The usual way to use iBatis in Spring is to write code and invoke the iBatis API explicitly.
dao-zero invokes the iBatis API for the developer automatically, without the need to write implementation code. It will implement DAO interfaces automatically and invoke iBatis SQL mapped statements for you. You can use it to replace your DAO bean class directly.
<<lessdao-zero invokes the iBatis API for the developer automatically, without the need to write implementation code. It will implement DAO interfaces automatically and invoke iBatis SQL mapped statements for you. You can use it to replace your DAO bean class directly.
Download (0.078MB)
Added: 2007-05-14 License: The Apache License 2.0 Price:
894 downloads
KAON 1.2.9
KAON project consists of an ontology management infrastructure targeted at business applications. more>>
KAON project consists of an ontology management infrastructure targeted at business applications.
It includes a comprehensive tool suite allowing easy ontology creation and management and provides a framework for building ontology-based applications.
An important focus of KAON is scalable and efficient reasoning with ontologies.
Persistence mechanisms of KAON are based on relational databases.
<<lessIt includes a comprehensive tool suite allowing easy ontology creation and management and provides a framework for building ontology-based applications.
An important focus of KAON is scalable and efficient reasoning with ontologies.
Persistence mechanisms of KAON are based on relational databases.
Download (12.2MB)
Added: 2007-01-19 License: LGPL (GNU Lesser General Public License) Price:
1017 downloads
Apache Cayenne 2.0.3 / 3.0M1
Apache Cayenne is a free object-relational persistence framework written in Java. more>>
Apache Cayenne project is a free object-relational persistence framework written in Java. Its goal is to make development of database Java applications faster and more consistent with the Object Oriented Programming concept.
Some of the ideas used in Cayenne have been inspired by the persistence mechanism of NeXTs (and now Apples) WebObjects application server.
Whats New in 2.0.3 Stable Release:
- This release features a number of bugfixes, including some serious synchronization issues.
- It is a recommended upgrade.
Whats New in 3.0M1 Development Release:
- This is the first milestone release of Cayenne 3.0.
- The most visible addition to Cayenne is a JSR-220 Java Persistence API Provider (a.k.a. JPA), but significant enhancements have been made to performance and flexibility.
- It is already in production within several products.
<<lessSome of the ideas used in Cayenne have been inspired by the persistence mechanism of NeXTs (and now Apples) WebObjects application server.
Whats New in 2.0.3 Stable Release:
- This release features a number of bugfixes, including some serious synchronization issues.
- It is a recommended upgrade.
Whats New in 3.0M1 Development Release:
- This is the first milestone release of Cayenne 3.0.
- The most visible addition to Cayenne is a JSR-220 Java Persistence API Provider (a.k.a. JPA), but significant enhancements have been made to performance and flexibility.
- It is already in production within several products.
Download (11.2MB)
Added: 2007-07-30 License: The Apache License 2.0 Price:
822 downloads
EasyBeans 1.0 Milestone 6
EasyBeans is an implementation of an EJB3 container. more>>
EasyBeans is an implementation of an EJB3 container. EasyBeans library aims to provide an implementation for the full EJBCore API.
For the persistence matter, it relies on Hibernate EJB 3 or, in upcoming versions, on Speedo, the ObjectWebs JDO implementation.
it is divided in three parts :
- Core part
- Persistence part (Which is the persistence provider)
- Simplified specification : it contains new features.
Enhancements:
- EAR deployment (and undeployment) is now supported in JOnAS, Tomcat, and Jetty.
- For JOnAS, if the EAR contains EJB 2.1 components, they will be deployed in the EJB 2.1 container.
- The WAR files of the EAR will be deployed in the Tomcat or Jetty Web container.
- An ear example is provided in this version.
- The timer service which is based on the Quartz component is supported.
- A timer example is provided.
- OpenJPA is supported as a persistence provider.
<<lessFor the persistence matter, it relies on Hibernate EJB 3 or, in upcoming versions, on Speedo, the ObjectWebs JDO implementation.
it is divided in three parts :
- Core part
- Persistence part (Which is the persistence provider)
- Simplified specification : it contains new features.
Enhancements:
- EAR deployment (and undeployment) is now supported in JOnAS, Tomcat, and Jetty.
- For JOnAS, if the EAR contains EJB 2.1 components, they will be deployed in the EJB 2.1 container.
- The WAR files of the EAR will be deployed in the Tomcat or Jetty Web container.
- An ear example is provided in this version.
- The timer service which is based on the Quartz component is supported.
- A timer example is provided.
- OpenJPA is supported as a persistence provider.
Download (9.4MB)
Added: 2007-05-17 License: LGPL (GNU Lesser General Public License) Price:
892 downloads
SXP 1.1
SXP stands for Simple XML Persistence, and is a quick-and-dirty C++ library I threw together. more>>
SXP stands for Simple XML Persistence, and is a quick-and-dirty C++ library I threw together. It provides a simple (I hope) mechanism for enabling the objects in your application to persist themselves (i.e. read from and write to) to a XML file. SXP is built as a C++ wrapper around James Clarks excellent expat parser.
Main features:
- ease of use: a major design goal for it was adding XML persistence to a class to take around 2 line of code per class member (one for reading and one for writing). Efficiency concerns and C++ syntax quirks expanded this number to around 4 lines of code per class member (plus some fixed overhead); still, you should be able to add XML persistence to your classes in a minutes, rather than hours.
- efficiency: XML persistence via SXP adds to your persistable objects four virtual functions and no data members. If you need to support persisting of object references, you might need to add a single pointer to your objects. SXP can be used directly with all but the most lightweight of objects. SXP uses hash tables and works with one string compare ( strcmp() ) per XML tag in the input file. SXP reuses its internal objects from a pool to avoid constant allocation/deallocation of small objects.
- acceptable performance: SXP is more than fast enough for prototyping applications and even for small-to-medium production-level projects.
<<lessMain features:
- ease of use: a major design goal for it was adding XML persistence to a class to take around 2 line of code per class member (one for reading and one for writing). Efficiency concerns and C++ syntax quirks expanded this number to around 4 lines of code per class member (plus some fixed overhead); still, you should be able to add XML persistence to your classes in a minutes, rather than hours.
- efficiency: XML persistence via SXP adds to your persistable objects four virtual functions and no data members. If you need to support persisting of object references, you might need to add a single pointer to your objects. SXP can be used directly with all but the most lightweight of objects. SXP uses hash tables and works with one string compare ( strcmp() ) per XML tag in the input file. SXP reuses its internal objects from a pool to avoid constant allocation/deallocation of small objects.
- acceptable performance: SXP is more than fast enough for prototyping applications and even for small-to-medium production-level projects.
Download (0.020MB)
Added: 2006-08-17 License: GPL (GNU General Public License) Price:
1163 downloads
Object::Mediator 0.02
Object::Mediator is a generic object persistence framework. more>>
Object::Mediator is a generic object persistence framework.
SYNOPSIS
package Persistent;
use base qw( Object::Mediator );
__PACKAGE__->mk_attr ( qw(foo bar) );
sub _set_id {
my $self = shift;
my $id = generate_identity();
$self->identity( $id );
}
sub _insert {
my $self = shift;
$db_handle->insert ( $self->id, $self->foo, $self->bar );
}
sub _update {
my $self = shift;
$db_handle->update ( $self );
}
sub _delete {
my $self = shift;
$db_handle->delete ( $self->id );
}
sub _select {
my $self = shift;
my ( $foo, $bar ) = $db_handle->select ( $self->id );
$self->foo ( $foo );
$self->bar ( $bar );
}
Object::Mediator attempts to be simple and fairly minimalistic object mapping framework. Main aims of development were: usage simplicity, end user transparency, database independency and minimization of database interaction with some kind of in-memory object state control system.
<<lessSYNOPSIS
package Persistent;
use base qw( Object::Mediator );
__PACKAGE__->mk_attr ( qw(foo bar) );
sub _set_id {
my $self = shift;
my $id = generate_identity();
$self->identity( $id );
}
sub _insert {
my $self = shift;
$db_handle->insert ( $self->id, $self->foo, $self->bar );
}
sub _update {
my $self = shift;
$db_handle->update ( $self );
}
sub _delete {
my $self = shift;
$db_handle->delete ( $self->id );
}
sub _select {
my $self = shift;
my ( $foo, $bar ) = $db_handle->select ( $self->id );
$self->foo ( $foo );
$self->bar ( $bar );
}
Object::Mediator attempts to be simple and fairly minimalistic object mapping framework. Main aims of development were: usage simplicity, end user transparency, database independency and minimization of database interaction with some kind of in-memory object state control system.
Download (0.006MB)
Added: 2007-05-18 License: Perl Artistic License Price:
890 downloads
subPersistence 0.10.0
subPersistence is an abstract, light-weight, yet flexible framework for working with O/R persistence mappers. more>>
subPersistence is an abstract, light-weight yet flexible framework for working with O/R persistence mappers. It provides for independence of a specific O/R mapper such as Hibernate or Castor.
While you can use Hibernate or Castor (or other O/R mappers) directly, coupling your application too tightly to those can be a bad thing. subPersistence makes it easy to switch underlying O/R mappers, thereby decoupling the application layer from those.
It abstracts away differences between the mappers, while still making it possible to use their specific features if needed.
Enhancements:
- This version updates to Java 5 features such as Generics and is the first version to require Hibernate 3.
<<lessWhile you can use Hibernate or Castor (or other O/R mappers) directly, coupling your application too tightly to those can be a bad thing. subPersistence makes it easy to switch underlying O/R mappers, thereby decoupling the application layer from those.
It abstracts away differences between the mappers, while still making it possible to use their specific features if needed.
Enhancements:
- This version updates to Java 5 features such as Generics and is the first version to require Hibernate 3.
Download (0.040MB)
Added: 2005-07-01 License: GPL (GNU General Public License) Price:
1575 downloads
SLOOPS 0.01
SLOOPS - Simple, Light, Object Oriented Persistence System. more>>
SLOOPS - Simple, Light, Object Oriented Persistence System.
SLOOPS is a lightweight Object Oriented persistence system.
If you want to follow the tutorial, uncompress the distribution from command line !
It has been designed with simplicity and reliability in mind. So you should expect:
- VERY EASY AND QUICK implementation of your own datamodel. - VERY EASY retrieving of your data. - Some limitations that are negligable for 90% of cases !
It has been tested in production environment for months, so you can relie on it !
It allows to make objects persistents with just a few lines of declarative code. It supports:
- Inheritance
- Class polymorphism.
- Scalar attributes ( can be Object ! )
- SQL Free queries !
- MySQL database ( other ones in the future ).
- Optionnal caching based on Cache::FastMemoryCache .
It doesnt support :
- nonscalar attributes. So you have to do helper objects to support n-n relations . Is it so bad ?
- transaction . Thats a serious issue. Will be implemented with other database support !
<<lessSLOOPS is a lightweight Object Oriented persistence system.
If you want to follow the tutorial, uncompress the distribution from command line !
It has been designed with simplicity and reliability in mind. So you should expect:
- VERY EASY AND QUICK implementation of your own datamodel. - VERY EASY retrieving of your data. - Some limitations that are negligable for 90% of cases !
It has been tested in production environment for months, so you can relie on it !
It allows to make objects persistents with just a few lines of declarative code. It supports:
- Inheritance
- Class polymorphism.
- Scalar attributes ( can be Object ! )
- SQL Free queries !
- MySQL database ( other ones in the future ).
- Optionnal caching based on Cache::FastMemoryCache .
It doesnt support :
- nonscalar attributes. So you have to do helper objects to support n-n relations . Is it so bad ?
- transaction . Thats a serious issue. Will be implemented with other database support !
Download (0.014MB)
Added: 2007-05-16 License: Perl Artistic License Price:
891 downloads
ZDraw
ZDraw is a fairly basic drawing applet used to demonstrate the concept of persistence in a drawing applet. more>>
ZDraw is a fairly basic drawing applet used to demonstrate the concept of persistence in a drawing applet. What do I mean by persistence? Well, take most of the "demo" drawing applets available on the net. If you put the applet into the background, resize it, or partially/fully cover it with another window, then the "hidden" portion of the applet loses any drawings that were made.
A simple (and rudimentary) solution to this can be easily implemented using a Vector and creating a new object class LineObject within which we can store the start and end points of each line, together with its colour. Then, when we can override public void paint( Graphics g ) and insert some code that iterates through each element of the vector, repainting each line segment. This way, everytime the applet redraws itself, all of the lines will be repainted, and thus will not be lost!
<<lessA simple (and rudimentary) solution to this can be easily implemented using a Vector and creating a new object class LineObject within which we can store the start and end points of each line, together with its colour. Then, when we can override public void paint( Graphics g ) and insert some code that iterates through each element of the vector, repainting each line segment. This way, everytime the applet redraws itself, all of the lines will be repainted, and thus will not be lost!
Download (0.003MB)
Added: 2007-03-12 License: GPL (GNU General Public License) Price:
956 downloads
DB_DataContainer 1.3.1
DB_DataContainer is a PEAR compliant database persistence layer and data encapsulation class. more>>
DB_DataContainer is a PEAR compliant database persistence layer and data encapsulation class. A persistence layer can encapsulate the behaviour needed to make objects persistent like for exemple: to load, save and delete objects to and from persistent storage. Currently the only supported persistence mechanisms are relational databases. Database abstraction is provided by PEAR DB.
Data encapsulation is provided by overloaded accessor methods. This means that if you have a property named $foo and you do not write getFoo() and setFoo() methods in the extending class yourself, they will be automatically provided by DB_DataContainer.
As a result of the provided persistence mechanism and data encapsulation DB_DataContainer together with few lines of extra code can be used to implement the Active Record Pattern as described by Martin Fowler:
An object that wraps a row in a database table or view, encapsulates the database access, and adds domain logic on that data.
The class does not use any external configuration files. The extending class itself IS the configuration. All you need to take care about is to have matching propertyname - columname pairs in the class and the database table.
If your database schema changes, for example you add an column foo to the table, all you need to do is to add a property name foo to your class which extends DB_DataContainer. There is no need to rewrite any internal SQL queries.
The class does not provide direct support for JOIN:s or table linking. For extreme cases it is still possible to pass hardcoded SQL queries. This usage is discouraged since it breaks the basic idea of using DB_DataContainer.
Main features:
- Simple API
- Persistence mechanism encapsulation. You only need to call load(), save() or delete(). Note that there are no separate methods for INSERT and UPDATE. save() figures itself out which query to use.
- Overloaded accessor methods for class properties without such methods.
- PEAR DB supported databases as persistence mechanisms (tested with Postgres, MySQL, MSSQL and SQLite).
- Multi-object actions provided by a static getObjects() call.
- Possibility to use hardcoded SQL queries in multi-object actions.
- Regression tests.
- Supports PHP4 and PHP5 (starting from version 1.3.0)
Enhancements:
- This release fixes problems with protected and private data members when using PHP5.
<<lessData encapsulation is provided by overloaded accessor methods. This means that if you have a property named $foo and you do not write getFoo() and setFoo() methods in the extending class yourself, they will be automatically provided by DB_DataContainer.
As a result of the provided persistence mechanism and data encapsulation DB_DataContainer together with few lines of extra code can be used to implement the Active Record Pattern as described by Martin Fowler:
An object that wraps a row in a database table or view, encapsulates the database access, and adds domain logic on that data.
The class does not use any external configuration files. The extending class itself IS the configuration. All you need to take care about is to have matching propertyname - columname pairs in the class and the database table.
If your database schema changes, for example you add an column foo to the table, all you need to do is to add a property name foo to your class which extends DB_DataContainer. There is no need to rewrite any internal SQL queries.
The class does not provide direct support for JOIN:s or table linking. For extreme cases it is still possible to pass hardcoded SQL queries. This usage is discouraged since it breaks the basic idea of using DB_DataContainer.
Main features:
- Simple API
- Persistence mechanism encapsulation. You only need to call load(), save() or delete(). Note that there are no separate methods for INSERT and UPDATE. save() figures itself out which query to use.
- Overloaded accessor methods for class properties without such methods.
- PEAR DB supported databases as persistence mechanisms (tested with Postgres, MySQL, MSSQL and SQLite).
- Multi-object actions provided by a static getObjects() call.
- Possibility to use hardcoded SQL queries in multi-object actions.
- Regression tests.
- Supports PHP4 and PHP5 (starting from version 1.3.0)
Enhancements:
- This release fixes problems with protected and private data members when using PHP5.
Download (0.009MB)
Added: 2005-12-22 License: BSD License Price:
1403 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above persistence search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed