Generating HTTP-based services by extending the UML-to-SOA transformation
This sample contains an extension to the UML-to-SOA transformation
that generates Java™ servlets to which you can add
code that implements business logic and creates HTTP-based services.
Time required: 30 minutes
Before you import this sample, you must install the
following components:
- SOA transformations
- Tools for WebSphere® Application Server, version 7.0
Note: This sample might require some optionally installable components.
If you encounter errors or cannot find user interface options when
you run a sample, ensure that you installed the appropriate optional
components.
This sample contains a Java Platform, Enterprise Edition 5 (Java EE 5) extension to the UML-to-SOA transformation, which you can use to start developing HTTP-based services.
In this sample, you create
the following items:
- Runtime workbench that uses the Java 2 Platform, Enterprise Edition (J2EE) preview runtime environment
- UML-to-SOA transformation configuration that enables the transformation extension in this sample
For more information about how to create these items, see the Setup instructions.
The sample contains a UML service
model, which you specify as the source of the UML-to-SOA transformation.
For this transformation extension, it does not matter whether you
apply the Services Modeling (SoaML) or
the Software Services profile
to the source model.
Important: The Software Services profile
is deprecated and a profile called the Services Modeling (SoaML) profile
is available for modeling services. For information about migrating
from the Software Services profile
to the Services Modeling (SoaML) profile,
see the related link mentioned previously in this topic. For information
about how stereotypes in the Software Services profile
map to stereotypes in the Services Modeling (SoaML) profile,
see the related link mentioned previously in this topic.
For more information about the Software Services profile, also called the UML 2.0 Profile for Software Services, see the article entitled UML 2.0 Profile for Software Services on the IBM® developerWorks® website.
After
you apply the transformation configuration, the UML-to-SOA transformation
and the Java EE 5 extension generate the
following items:
- For each service provider in the source model, the transformation creates a dynamic web project
- For each service in the model, the transformation creates a servlet in the corresponding dynamic web project
For more information about transforming UML models into service-oriented architecture (SOA) artifacts, see the article entitled Transformation to SOA: Part 3. UML to SOA on the IBM® developerWorks® website.