Now with Java EE 5 entity beans are simple Pojos but stateless can still be seen as components with their remote or/and local interface.
If I want to represent on a diagram a relation between a stateless (a component) and some entities (classes) how do I do that ? I can’t use a component diagram because there are no classes and can’t use a class diagram because there’s no component. I don’t want to use a class for a stateless but rather a component because I can show their interfaces in a nice manner.
Does any body have an idea to combine components and classes in the same diagram ? I haven’t seen anything in the UML spec, I don’t know if it allows it or not.