ftang
版主
发贴: 214
积分: 38
|
于 2003-03-14 04:10
A good solution depends on your detail requirements, your project. There is NO one single solution that works for all projects.
so tell me what is your detail requirements. what database, how many tables or data entries, is your application distributed, what are the data queries, are the quries read-only or read-write, what is the client of your persistent layer, how do you want the transaction to be handled, etc.
you have to consider all these detail requirements before you could get a good solution.
if your project is a small one, just use SLSessionBean + DAO. If you plan to use EntitnyBean, do NOT use EJB1.1.
|