Data Persistence: Top 5 Reasons to Use DAO Rather than Entity Beans
- DAOs scale across the enterprise and can be used with J2SE and J2EE (not true with Entity Beans)
- DAOs are 100% portable between different J2EE application servers without modification (not true with Entity Beans due to different deployment descriptors
- DAOs can be automatically unit tested from an automated build system without deploying them to a J2EE application server
- DAOs support Tables (with or without primary keys), Views, and Stored Procedures whereas Entity Beans only support Tables with primary keys
- DAOs are more suitable for distributed architectures than Entity Beans since Data Transfer Objects can be passed between the client and server efficiently than remotely calling get/set methods on an Entity Bean
FireStorm/DAO makes Java software developers more productive by automatically generating Java source code for accessing databases. The benefits provided by CodeFutures' Java code generation approach are higher developer productivity, better software quality, and lower maintenance costs.
FireStorm/DAO can import database schema definitions from SQL scripts or from live databases via JDBC and can then generate a complete persistence tier based on the Data Access Object (DAO) design pattern. The generated source code is well-written, consistent and contains documentation. FireStorm/DAO can generate source code based on the Java Database Connectivity (JDBC), Java Data Object (JDO), and Enterprise JavaBean (EJB) standards. FireStorm/DAO can generate code for standalone Java as well as for leading J2EE application servers, such as JBoss, BEA WebLogic, IBM WebSphere.
Additional Resources
FireStorm/DAO is a database access tool based on the Data Access Object design pattern.
CodeFutures provides a free program to analyze the performance of your MySQL database.
Free MySQL Performance Analysis
Read about how Database Sharding helps many major companies to linearly scale their database applications.
Request Database Sharding White Paper
dbShards economically scales large, high transaction volume databases using Database Sharding.


