Is package valid in component diagrams as per UML standards? Don't we have separate package diagrams?
Or do you mean you showed one big component with list of all EJBs?
I think it should be valid if I show each EJB as separate component. Though practically we deploy all of them together, theoretically each can be deployed as separate physical
unit. Also if I show them as separate components, I can show their interdependency clearly ( which is not so clear on sequence diagrams)