I'm running into what I would say are some limitations with the Packaging Components in Sparx EA.
I use them to aggregate a number of commonly-themed web services in a Package. To be specific, they are JAX-RS Web Services. I model the Resource as a Packaging Component and the invokable method of the resource as Components.
I created a profile and added stereotypes, etc. as per documentation. When I use them as an MDG Technology in my model, the stereotypes I created for Components were available, but not the ones for Packaging Components. That is, my Packaging Component stereotypes aren't offered as an option for Packaging Components I create.
I tried to put two Packaging Components on a deployment diagram and connect with a
UsesConnector to show that the one package of Components invokes the other. This (to my mind) was a good way to show usage at a higher level than the specific "this component uses that one" (which I model in another diagram as a
UsesConnector). But, the only connecting options available for this are
In a deployment diagram, a "Packaging Component" cannot be contained by a "Device". I can drag a "Component" into the device, the outline highlights and a some type of containment relationship is created. However, with a "Packaging Component", this containment is not activated.
These observations challenge my understanding that a Packaging Component is "just like component, but has the added benefit of being a package for components as well".
Is that a misunderstanding of Packaging Components ... or a limitation of EA?