As most people here said the class diagram need show the BDOs. and it should be technology independent.
Then Those classes such as JSPs, JSF managed Beans, EJBs and those design patterns such as abstract factory, service locator, business delegate etcs will go to component diagram.
However, the assignment require that the methods used in communication diagram should be listed in class diagram as well. As such, How can I show the methods of those objects that located in component diagram but not in class diagram? Because apparently, those objects in component diagram need to be shown on communication diagram.
I am totally screwed up with this concern. How do you guys handle such case? Now I plan to provide other 2 more class diagrams: one for web tier, another for business tier. So there would be some overlap with these 3 class diagrams. Does this make sense?
Your custom class becomes a JSF managed bean only in a container environment, which recognizes it as a JSF managed bean based on a configurations you made either by means of annotation or configuration in faces-config.xml file; the same applies to EJB. Otherwise, it is a simple POJO introduced by you in your design to handle a specific use case scenario, which specifies a contract a calling process should comply with in order to interact with your application. You should show it on your class diagram; how, otherwise, you will describe your application.