Designing DCs project and EJB- What is the right thing to do?
I have a big doubt about designing DCs project and EJB:
My presentation layer is WD and I'm going to use EJB Session and Hibernate to persist data. So I'm not complete sure how to model it at project level (I'm new on DCs projects):
1- Did I have to make a DC project with a EJB Module project, other DC for Enterprise Aplication Project and other DC for a Web Module Project ?, if it so...must be one father and the others childs?
2- Can I use only a DC-EJB Module and consume the project in my DC-WD? (I think that this is the right one but my project don't generate a deployable file....so begin wandering if the choice 1 is necessary....or something is missing... I expect a sda if not a default ear or war)
3- Other (any idea?)
I can't find any tutorial or good practice about it.
Thanks a lot for your time on this thread.