Home

 

Running the transformation examples

We provide two XML files to run the transformation and generate an interface and an implementation class:

BankSample.xml: This example generates a BankFacadeGenerated project, with the Bank interface and the ITSOBank implementation class, matching the original classes in the RAD75Patterns project.

LibrarySample.xml: This example generates a LibraryFacadeGenerated project, with a Library interface and an ITSOLibrary implementation class. This example demonstrates that the transformation can generate any interface and a matching implementation class. The library example is based on Book and Borrower model classes.

Notice that we do not provide the underlying RAD75LibraryJava project with the model classes, and errors are reported for the LibraryFacadeGenerated project.

ibm.com/redbooks