Download Java Annotations - AMIS Oracle and Java Blog

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Serializability wikipedia , lookup

Microsoft SQL Server wikipedia , lookup

Relational algebra wikipedia , lookup

Microsoft Jet Database Engine wikipedia , lookup

Entity–attribute–value model wikipedia , lookup

Database wikipedia , lookup

Functional Database Model wikipedia , lookup

Open Database Connectivity wikipedia , lookup

SQL wikipedia , lookup

Concurrency control wikipedia , lookup

Oracle Database wikipedia , lookup

PL/SQL wikipedia , lookup

Clusterpoint wikipedia , lookup

Relational model wikipedia , lookup

Versant Object Database wikipedia , lookup

Database model wikipedia , lookup

Transcript

Object Relational Mapping
Frameworks
Wiene Höweler

Nov 29, 2005
1
Why ORM frameworks

Maps Object-Oriented programming objects
to relational databases
Advantages
 reduce programming code
 improve performance (caching)

Nov 29, 2005
2
ORM frameworks

Open source:
 Object Relational Bridge
 Castor
 Hibernate
 Simple ORM
 Ammentos
Vendors:
 Visual Paradigm for UML
 ADF BC (BC4J)
 Toplink

Nov 29, 2005
3
Object Relational Bridge

 Support of standard and non-standard API's
(PB, OTM, ODMG, JDO)
 Transparent persistence
 Object caching
 Optimistic and pessimistic Locking
 Allows to build massively distributed and
clustered systems
 Configurable persistence by reachability
 Dynamic XML mapping
http://db.apache.org/ojb/

Nov 29, 2005
4
Castor

 Castor XML: Java object model to and from
XML (XML databinding).
 Castor JDO: Java object persistence to
RDBMS
 In memory caching and write-at-commit
 Two phase commit transactions, object
rollback and deadlock detection
 OQL query mapping to SQL queries
http://castor.exolab.org

Nov 29, 2005
5
Hibernate

 Support for inheritance, polymorphism,
composition and the Java collections
framework
 A variety of mappings for collections and
dependent objects
 No build-time bytecode enhancement
 Dual-layer cache architecture
 Support for "application" transactions
http://www.hibernate.org/

Nov 29, 2005
6
Simple ORM

 Object/relational mapping on top of JDBC
 No XML, 100% Java
 Allows for raw JDBC and non-Java database
access and constraints without compromising
database integrity
http://simpleorm.org

Nov 29, 2005
7
Ammentos

 Explicitely meant for JDK5 developers
 Works with JDK5 annotations
 Automatic validation
 Event-driven programming supported
 Supports inheritance
 Supports transactions
http://ammentos.biobytes.it/

Nov 29, 2005
8
Visual Paradigm for UML

 Model sharing among diagrams
 Imports from ROSE
 Customizable SQL
 EJB diagram support and EJB code
generation and deployment
 Integrates with Eclipse/IBM WebSphere,
JBuilder, NetBeans IDE/Sun ONE, IntelliJ
IDEA, JDeveloper and WebLogic Workshop.
http://www.visual-paradigm.com/product/vpuml

Nov 29, 2005
9
ADF BC (BC4J)

 Lightweight Java classes and corresponding XMLdriven bean factories
 Declaratively design master/detail UI data model,
including only data needed by client for optimum
performance
 Declaratively enforce required fields, primary key
uniqueness, data precision/scale, and foreign key
references
 Simplify multi-step web-based business transactions
with automatic web-tier state management
http://www.oracle.com/technology/products/jdev/tips/mu
ench/keybenefits/index.html

Nov 29, 2005
10
Toplink

 Offers developers excellent performance and
choice, working with any database, any
application server, any development toolset
and process, and any J2EE architecture.
 Allows Oracle hints to specify items such as
the join order of a join statement or the
optimization approach of a SQL call
 Hierarchical queries
 Support for Oracle Database Types
http://www.oracle.com/technology/products/ias/t
oplink

Nov 29, 2005
11