Lunatech Research - IT consulting, product research and software development

NederlandsEnglish
Développement logiciel

Database access in a stateless world

Écrit par Ludovico Fischer le Fri, 2012-01-27 15:33

JPA (the Java Persistence API) sometimes does a little too much for its own good. Distinctions between managed and unmanaged entities or between save() and merge() are relevant when most objects stay in memory a long time, and are ‘synchronized’ with the database at different intervals during their lifetime.

In a Play! framework application, persistent data is rarely kept in memory for more than a single request. Hence an entity is going to be saved to the database almost after every time it is modfied. Because this is not the workflow JPA designers had in mind, sometimes JPA gets in the way.

Lire

URL-centric web application design

Écrit par Peter Hilton le Mon, 2012-01-09 18:52

Jan

9

One good way to start building a web application is to plan its HTTP interface - its URLs. This URL-centric design is an alternative to a data model-centric design that starts with the application’s data, or a UI-centric design that is based on how users will interact with the application’s user-interface. URL-centric design is a kind of API design.

Lire

À propos de Lunatech

Fondé en 1993, Lunatech Research propose du consulting TIC, de la recherche de produits et des équipes de développement. Sous la forme d’une équipe d’experts programmeurs auto-managés travaillant avec une équipe commerciale expérimentée.

Contactez-nous

Lunatech Research B.V.
Heemraadssingel 70
3021 DD Rotterdam, Pays-Bas.

Téléphone et email

Tél : +31 10 750 2600
Fax : +31 10 243 9902
Email : contact@lunatech.fr