architecture
|
Jdbf's structure is logically composed from two macrosystems. These macrosystem are:
Mapping Management SystemMapping Management System manages mapping between Java objects and database. This mapping is represented by repository file where a table is mapped with Java object in XML format. An example of repository is shown below<repositoryView name="product" table-name="Product" object-name="Product" database-name="jdbf"> <item property-name="OID" primary-key="yes" data-type="int" column-name="id" /> <item property-name="name" primary-key="no" data-type="string" column-name="name" /> <item property-name="price" primary-key="no" data-type="int" column-name="price" /> <item property-name="groupId" primary-key="no" data-type="int" column-name="group_id" /> .... </repositoryView>Mapping is very simple.Mapping between column table and property of Java object is specified with tag <item/> where is specified the name of property, the name of column and other information. From this file Jdbf will create in automatically and trasparently way the sql statement, using other important macrosystem: SMS. Sql Management SystemSql Management System is more modular system that MMS. In fact it is composed from other modules which are delegated to manage the operation that occur between creation of sql statement ant its execution.These mnodules are:
|
Copyright (c) 2003 by JdbF team
|
Java Sun and Sun Microsystem are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and in other countries.All other product names mentioned herein are trademarks of their respective owners.
|