Walk the skyway: Generating Spring applications with Rational and the Skyway Builder

Spring development, even faster!

From the developerWorks archives

Dirk Lammers

Date archived: December 20, 2016 | First published: April 20, 2010

This article describes how to generate spring applications from IBM® Rational® Software Architect models, how to adjust code generation templates. and how to integrate existing 'handmade' code. Also, it describes how to create the physical data model from the class model using IBM® InfoSphere™ Data Architect. Although the Spring Framework made your life as a developer much easier, it is still tedious to develop huge applications. Code generation is the solution to eliminate repetitive work and to accelerate development. This article shows you how to start from the pole position to generate a Spring-based working CRUD (create, read, update, and delete) application with the Skyway Builder. The generation is based on a domain UML class model created with Rational Software Architect. Likewise, the UML class model is the starting point for the transformation to a physical data model (PDM) using InfoSphere Data Architect. With the PDM, the database tables are created. Then the Code Generation JET (Java™ Emitter Template) for the entities is adjusted, demonstrating the flexibility of the Skyway Builder. Furthermore, the handcrafted heritage code is integrated into the generated application. Finally, Skyway´s Visual Builder capability is demonstrated when you model a two-step Spring webflow example. As a result, you create a well-designed Spring certified application, which is a simplified example of a JMX (Java Management Extension) enabled Application-Management-Tool.

This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some steps and illustrations may have changed.

Zone=Rational, Java development
ArticleTitle=Walk the skyway: Generating Spring applications with Rational and the Skyway Builder