Hi,
this might not be the best forum to post this question, but i think only j2ee developers could answer my question correctly.
I`m building an j2ee e-commerce app, but i`m having some dificults to model it (majority of the books don`t take care of this aspect)
Basically, i`d like to know wich option is better for modeling the EJBs and DB (suppose i`m using only CMPs, actually this doesn`t matter):
A - I could have one CMP EJB for each table to represent the persistence,
hava one Session EJB asscociated with that CMP EJB to represent the
access to it and a few Session EJBs to represent a "global" access to
diferent business logics of the app.
B - I could only hava the CMP EJBs for eache table and don not use the
intermediate Session EJBs, only a few Session EJBs to represent what i
called the global access.
C - Any onther sugestion, links, or books you could recomentd me???
Thanks in advance,
this might not be the best forum to post this question, but i think only j2ee developers could answer my question correctly.
I`m building an j2ee e-commerce app, but i`m having some dificults to model it (majority of the books don`t take care of this aspect)
Basically, i`d like to know wich option is better for modeling the EJBs and DB (suppose i`m using only CMPs, actually this doesn`t matter):
A - I could have one CMP EJB for each table to represent the persistence,
hava one Session EJB asscociated with that CMP EJB to represent the
access to it and a few Session EJBs to represent a "global" access to
diferent business logics of the app.
B - I could only hava the CMP EJBs for eache table and don not use the
intermediate Session EJBs, only a few Session EJBs to represent what i
called the global access.
C - Any onther sugestion, links, or books you could recomentd me???
Thanks in advance,