I'm confused about this subject. Should I show the JPA interfaces in sequence diagram or not? I think if I show EntityManager I also have to show the Query. Thus, Should I show the consumption of DataSource connection pool too?
In my conception of high-level architecture that is not necessary! Draw a EAO / DAO accessing the database is enough. Just declare the design decisions that you are using JPA to communicate with the database.
Someone did not show the interfaces of JPA and passed?
Fernando, I used DAO only when interfacing with external systems; JSF Managed bean -> BD -> SLSB -> DAO -> ext systems
Otherwise I had the Business Delegate calling the SLSB's, which will call Entity Manager methods etc JSB Managed Bean -> BD -> SLSB -> Entity Manager methods