I might not be the first one raising this question...
What is the difference between a class and a component diagram. In my opinion this is totally subject to interpretation...
I could provide a component diagramm containing same elements with same stereotypes as contained in the class diagram. Just "arrows" would be different, dependencies for the component diagram and associations, aggregations, inheritance, etc. for the class diagram. All EJBs as well as pattern classes/components like BusinessDelegate or FrontController would be contained in both diagrams. Would that solution be correct?
How could that solution not be correct, since there is no hint provided by Sun?
Could it be that UML just does not have a precise definition for components...?
Maybe the following would be nice:
A component contains several classes? E.g. Use Case A contains JSP_A, ViewModelA and WebActionA. Does that make sense?