NeuralBuild and the Java DAO Pattern
NeuralBuild and the DAO Pattern in Java
The standard files generated by the NeuralBuild DAO Java generator are the following :
-
Value Objects
-
Exceptions
-
DAO Factory
-
RDBMS DAO Factory
-
DAO
-
RDBMS DAO
-
Java server page (.jsp)
Business Factory
NeuralBuild generates a Business Factory on top of the DAO layer. The Business Factory “wraps” the DAO Layer, exposing a clean Business Object layer to developers.
Composite Objects
In Addition to the standard DAO Pattern, NeuralBuild also generates composite objects and the DAO Pattern layers for these objects. Composite Objects represent composites of more than one Value Object. The generated DAO Pattern layers for Composite Objects are “read-only”.
Samples |
| Java Value Object Sample |
| Java DAO Sample |
| Java DAO RDBMS Implementation Sample |
| Java Business Factory Sample |
Additional Reading
http://java.sun.com/blueprints/corej2eepatterns/Patterns/DataAccessObject.html
http://www.corej2eepatterns.com/Patterns2ndEd/DataAccessObject.htm