Hi guys! I think that someone did already this question but i'm not able to find an answer. Normally i have a slsb 'aSessionBean' that calls 'aDao', and a slsb 'bSessionBean' that calls 'bDao'. Originally: aSessionBean and aDao are in the a.jar bSessionBean and bDao are in the b.jar Now aDao have to use bDao.
Is the best choice to extrapolate aDao and bDao and create a dao.jar? or is better that aSessionBean calls bSessionBean? and what about value object? will i have to package it in a dto.jar?
i think that i will include web tier components in the war file, and every other layer in a different jar. For example in the dto.jar (that i will include in the war too) i will insert all value objects, business object as session beans so they will have their own jar, all classes of dao layer will go in the dao.jar.
What do you think?
GiUsEpPe (SCJP, SCWCD, SCBCD, IBM OOAD, SCEA/OCMJEA 5)