OJB.NET - University of Scranton

Download Report

Transcript OJB.NET - University of Scranton

OJB.NET
Jeff Webb
Maria Baron
Chris Hundersmarck
What is OJB.NET?
 Introduction
 Features
 Demonstrations

What is OJB.NET
Copied directly from OJB, then modified.
 Created and worked on by 1 person:
Richard Beauchamp
 An object-to-relational persistence tool for
the .NET platform

 What
is a persistence tool?
Introduction

OJB.NET enables you to:

easily transfer data between your middle-tier
.NET objects and a relational database.
 Reverse- engineer your database schema
 Automatically generate .NET domain-model
classes.
 query and persist instances of these classes
at runtime
Introduction
Improves Developer Productivity
 Maintains Data Integrity
 Improves Performance

Developer Productivity

Automatically generates:
 Domain
model classes
 Mapping b/t domain model classes and
database schema
 SQL statements
Data integrity

Maintains data integrity by:
 Integrated
transaction support
 Configurable transaction isolation levels
 Optimistic Concurrency support
 Strict quality control.
Performance

Provides excellent performance by:
 App-domain
caching.
 Use of ADO.NET’s DataReader.
 Lazy loading
Features
For a complete list of features, visit:
 http://ojbnet.sourceforge.net/About/Features.html

Features
Persistable object query support.
 Persistable object code generator.
 Conversion of database types to .NET
types and vice-versa at runtime.

Features
Mapping support for 1:1, 1:n, and m:n
associations.
 Lazy loading of object references and
collections
 Connection pooling support

Structure
User Interface
BusinessLogicFacade
QueryFacade (I)
QueryFactory
Db AccessLayer
Helpful links
Download:
http://sourceforge.net/project/showfiles.ph
p?group_id=81313
 Project page: http://ojbnet.sourceforge.net/

Demonstration…