Presentation is loading. Please wait.

Presentation is loading. Please wait.

Jeff Webb Maria Baron Chris Hundersmarck

Similar presentations


Presentation on theme: "Jeff Webb Maria Baron Chris Hundersmarck"— Presentation transcript:

1 Jeff Webb Maria Baron Chris Hundersmarck
OJB.NET Jeff Webb Maria Baron Chris Hundersmarck

2 What is OJB.NET? Introduction Features Demonstrations

3 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? Persistence tool: allows the objects exist even after the application is done running.

4 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

5 Introduction Improves Developer Productivity Maintains Data Integrity
Improves Performance

6 Developer Productivity
Automatically generates: Domain model classes Mapping b/t domain model classes and database schema SQL statements Domain model classes: Entities->automatically generates classes for these entities. Automatically generating your SQL create, insert, update and delete statements at runtime.

7 Data integrity Maintains data integrity by:
Integrated transaction support Configurable transaction isolation levels Optimistic Concurrency support Strict quality control. Optimistic Concurrency support: Helps prevent deadlocks and other problems by making a copy of the data in the database before you make your transaction. It then makes sure that noone else has made a transaction and corrupted the data in the database before you have completed yours. Strict quality control: Over 135 automated NUnit regression tests are integrated into the OJB.NET build.

8 Performance Provides excellent performance by: App-domain caching.
Use of ADO.NET’s DataReader. Lazy loading Use of the high-performance ADO.NET DataReader (rather than a DataSet) to retrieve values from the database.

9 Features For a complete list of features, visit:

10 Features Persistable object query support.
Persistable object code generator. Conversion of database types to .NET types and vice-versa at runtime. Persistable object query support queries are made against persistable objects rather than directly against the database tables. Results are returned as a strongly typed persistable object or list of persistable objects Persistable object code generator. This speeds-up the development of persistable objects as they are automatically generated rather than hand-coded, and reduces bugs as hand-coding and keeping the o-r mapping file in sync with the persistable objects is error prone Conversion of database types to .NET types and vice-versa at runtime. For example, conversion from a .NET enumeration to a database VARCHAR

11

12 Features Mapping support for 1:1, 1:n, and m:n associations.
Lazy loading of object references and collections Connection pooling support

13 Structure User Interface QueryFacade (I) QueryFactory Db AccessLayer
BusinessLogicFacade QueryFacade (I) QueryFactory Db AccessLayer

14 Helpful links Download: Project page:

15 Demonstration…


Download ppt "Jeff Webb Maria Baron Chris Hundersmarck"

Similar presentations


Ads by Google