posted 15 years ago
Remember that this is both an archictecture and design assignment. When creating a sequence/collaboration diagram for a given use case, I have put JPA entities in that diagram but only those relevant to that particular use case of course. I have also put in the facade and the interaction of the facade with the entities, just to make it cristal clear what I mean. My reason for doing this ? When doing sequence diagrams, the tool I use automatically adds methods to my class diagram when I add a method on my sequence diagram. So by doing the sequence diagrams in full detail, I make sure my class diagram also shows the correct methods. The correlation of methods on the sequence diagrams with methods on the class diagram is a requirement of my assignment.
Regards
Sun Certified Developer for the Java 2 Platform
Sun Certified Enterprise Architect for the Java Platform, Enterprise Edition 5