|
Skyway Builder integrates with Rational Software Architect (RSA) to provide an RSA Spring Profile for stereotyping UML class models, which are transformed into Spring DSL models and automatically generated as Spring-annotated Java code. The integration is bi-directional in that additional UML level details created within the Spring DSL can be transformed back to the UML Models, keeping them in sync with the generated Spring application.
The RSA Spring Profile is included as part of the RSA Spring feature plug-ins.
Using the Spring Profile provided for RSA, the application designer can apply Spring stereotypes to UML class models. Applying a Spring Stereotype to a UML class model causes RSA to add a tab to the properties sheet for that stereotype. The designer can then add metadata to further specify characteristics of that stereotype, which will be generated and reflected as Spring-annotated Java code. For example, applying the BusinessService stereotype to a UML class model will provide a <BusinessService> tab on the properties sheet where the designer can further specify through metadata fields the transactional nature of the class.
Details of the base metadata and the additional metadata – as well as the resulting generated code are shown in the Skyway Builder: Spring Stereotypes for UML document. For ease of use, the Spring Profile also adds a Spring folder to the RSA tools palette with the various Spring Stereotyped classes ready to drop and configure on the class diagram.
|