SCJP, SCBCD, SCWCD 1.4, IBM-OOAD, SCEA, TCP, TCSS, TCIS, ATCP
SCJP, SCBCD, SCWCD 1.4, IBM-OOAD, SCEA, TCP, TCSS, TCIS, ATCP
Originally posted by Muhammad Asif:
Joseph,
By DAO i mean a dataaccess object, containing data access logic. So if i write a DAO, it obviously means i shouldn't write a CMP or BMP ? or can i mix and match ? What are the pros and cons in doing this ?
Meng Yi
Regards,<br />Joe, SCEA
Originally posted by Joseph Alexander:
DAO (Data Access Object) is just a layer/abstraction where all the logic & code related to the database can go.
Meng Yi
Originally posted by Subramanian Narayanaswamy:
Just to add on to this discussion - what is the impact of using a stateful session bean with a DAO ? Why is it a bad practice - or is it just that stateless session + DAO is better than stateful session + DAO?
Meng Yi