posted 21 years ago
Hello,
DAO should be seperate from EJB package as logically speaking. Since normally while pakaging all EJB are put in one jar for applciation server to load all EJB's while starting the application server. But DAO classes whould be under ../WEB-INF/classes, so for this reason we should seperate DAO/ EJB classes jar file.
Still for the question, it is not defating the purpose of DAO but as per standard it is not advisable.
Best Regards<br />N.Shankar<br />SCJP, SCWCD