Introducing IBM Rational Software Architect

Slides:



Advertisements
Similar presentations
Introduction to Eclipse. Start Eclipse Click and then click Eclipse from the menu: Or open a shell and type eclipse after the prompt.
Advertisements

Using Eclipse. Getting Started There are three ways to create a Java project: 1:Select File > New > Project, 2 Select the arrow of the button in the upper.
Aspect-Oriented Software Development (AOSD) Additional Material Start Writing in AspectJ.
Java Integrated Development Environments: ECLIPSE Part1 Installation.
Presented by IBM developer Works ibm.com/developerworks/ 2006 January – April © 2006 IBM Corporation. Making the most of The Java Development Tools project.
Presentation 4: IBM Rational Software Architect Example James Martin CpE 691, Spring 2010 February 18, 2010.
Introduction to AppInventor Dr. José M. Reyes Álamo.
Getting Started with IBM Rational System Developer 01/06/2011.
® IBM Software Group © 2006 IBM Corporation The Eclipse Data Perspective and Database Explorer This section describes how to use the Eclipse Data Perspective,
Eclipse IDE. 2 IDE Overview An IDE is an Interactive Development Environment Different IDEs meet different needs BlueJ and DrJava are designed as teaching.
03 Using Eclipse. 2 IDE Overview An IDE is an Interactive Development Environment Different IDEs meet different needs BlueJ and DrJava are designed as.
Eclipse is an open source IDE (Integrated Development Environment) for developing applications in Java, C/C++, HTML, Cobol, Perl, etc. The official Eclipse.
Getting Started with Eclipse Sandeep Pasuparthy. What’s Eclipse? It is a free software / open source platform- independent software framework for delivering.
Eclipse Overview Introduction to Web Programming Kirkwood Continuing Education Fred McClurg © Copyright 2015, Fred McClurg, All Rights Reserved.
JBoss Developer Studio. JBoss Developer Studio provides a certified open source development environment that includes and integrates: Eclipse Eclipse.
Using Eclipse. What is Eclipse? The Eclipse Platform is an open source IDE (Integrated Development Environment), created by IBM for developing Java programs.
Chapter 1a© copyright Janson Industries RAD ▮ Explain Eclipse, RAD, and their relationship ▮ Basic RAD concepts ▮ How to install RAD ▮ How to import.
MS Access Tour Sesión # 6. MS Access Tour Database Management System (DBMS): An application software that allows users to create, manipulate, and change.
Drexel University Software Engineering Research Group 1 Eclipse for SE101.
Clement Allen, PhD Florida A&M University SUMMER 2006.
Introduction to Eclipse CSC 216 Lecture 3 Ed Gehringer Using (with permission) slides developed by— Dwight Deugo Nesa Matic
Active-HDL Interfaces Building VHPI Applications C Compilation Course 9.
IBM Software Group ® Overview of SA and RSA Integration John Jessup June 1, 2012 Slides from Kevin Cornell December 2008 Have been reused in this presentation.
Selected Topics in Software Engineering - Distributed Software Development.
Welcome To Eclipse. Basic Concepts Workspace – directory where your projects are stored –Projects grouping of related works –Resources generic term to.
Unit 1: Java and Eclipse The Eclipse Development Environment.
Using COMET with Visio Visio UML Modeling. Creating a Drawing After opening Visio, you will see a list of templates available.
First Venture into the Android World Chapter 1 Part 2.
Eclipse Project. Installing Visit to download a copy for your home computerhttp:// –Get Release version 3.0 (or.
Surya Bahadur Kathayat Outline  Ramses  Installing Ramses  Ramses Perspective (Views and Editors)  Importing/Exporting Example.
® IBM Software Group © 2007 IBM Corporation Module 1: Getting Started with Rational Software Architect Essentials of Modeling with IBM Rational Software.
® IBM Software Group © 2009 IBM Corporation Essentials of Modeling with IBM Rational Software Architect, V7.5 Module 18: Applying Patterns and Transformations.
® IBM Software Group © 2007 IBM Corporation Module 3: Creating UML Diagrams Essentials of Modeling with IBM Rational Software Architect, V7.5.
Create Windows Setup and Deployment Projects Windows Development Fundamentals LESSON 5.2.
Software Design– Unit Testing SIMPLE PRIMER ON Junit Junit is a free simple library that is added to Eclipse to all automated unit tests. The first step,
IBM Software Group software Rational Business Developer.
Basics of RSA Rational Software Architect. What is RSA? Comprehensive Modeling and Development environment that leverages the Unified Modeling Language.
Java IDE Dwight Deugo Nesa Matic
Author: Loh Jianxiong Christopher Contributions: Chua Jie Sheng, Li Mengran, Peh Shao Hong, Oo Theong Siang, Tong Chun Kit, Tania Chattopadhyay.
Chapter 1a© copyright Janson Industries RAD ▮ Explain Eclipse, RAD, and their relationship ▮ Basic RAD concepts ▮ How to install RAD ▮ How to import.
Labs: Create, deploy and test a simple web service
Business rules.
Eclipse.
The eclipse IDE IDE = “Integrated Development Environment”
Dijagram klasa: UML to JAVA
Getting Eclipse for C/C++ Development
Development with Eclipse
4. Code Transformation SWE SOFTWARE PROCESS MODELING - AMAN QUADRI.
Developer 2000 CSE 4504/6504 Lab.
Obtaining the Required Tools
ATS Application Programming: Java Programming
IBM Rational Rhapsody Advanced Systems Training v7.5
Writing simple Java Web Services using Eclipse
Document Generation QRG
8. Model Fusion SWE SOFTWARE PROCESS MODELING - AMAN QUADRI.
Eclipse Navigation & Usage.
UML Diagramming with JUDE
After the bus devices have been created and checked, the HW export can be initiated. To do so, select a device from the desired project and click on the.
Exploring Microsoft® Access® 2016 Series Editor Mary Anne Poatsy
面向对象分析与设计 Use of starUML By Wang Meihong.
Architecture, Components, Configuration
Using JDeveloper.
Software Design Lecture : 14.
Double click Microsoft Visual Studio 2010 on the Computer Desktop
Introduction to AppInventor
Using Eclipse.
Java IDE Dwight Deugo Nesa Matic Portions of the notes for this lecture include excerpts from.
Getting Eclipse for C/C++ Development
Working with Libraries
Java Code Review with CheckStyle
Presentation transcript:

Introducing IBM Rational Software Architect Prof. dr Angelina Njeguš Associate Professor

Intro to RSA IBM® Rational® Software Architect - part of the IBM Software Development Platform - is the first major release of Rational products since IBM's acquisition of Rational in February 2003.  IBM release of the Rational products is built on Eclipse open-source software framework, which provides a unified interface for all the technicals (architects, designers, and developers). Because Rational Software Architect is built on Eclipse, you can use Rational Software Architect for Java 2 Platform, Enterprise Edition (J2EE Platform) technology. In addition, using the code-generation features that are a part of Rational Software Architect, you can convert designs and UML diagrams drawn in the Modeling perspective into code. Finally, the underlying Eclipse platform also provides a robust and feature-rich IDE for developers.

What is RSA? Comprehensive Modeling and Development environment that leverages the Unified Modeling Language (UML) for designing architecture for C++ and Java 2 Enterprise Edition (J2EE) applications and web services

Model A model is a complete description of the system from a particular perspective.

Lab 1: Create and run Java application in RSA Open IBM Rational Software Architect Standard Edition

Choose the path Choose the workspace (folder) where you want your projects to be stored  and click OK.

Open desired perspective Go to Window, click Open Perspective, and then select  Other Check Show all, select Java, and click OK

Create new project Click File, click New, and then select Project

Create Java project Select Java Project, and click Next

Name a project Choose a name for your project and click Finish. You have now successfully created a java project. 

Create Java class In the Package Explorer, right click on your SampleProject and click on New > Class. The next Window will appear, and fill with data: Package: com.sampleproject.common Name: HelloWorld Check: public static void main... Click Finish.

Add some code The code of HelloWorld class will appear on the screen In main method add the next line code: System.out.println ("Hello World! This is my Java project in RSA"); Click File > Save All

Run the code Go to Window > Show View > Console In the Package Explorer, right click on HelloWorld.java Click on Run as > Java Application

Result In the Console View, the result of the code will be shown:

Lab 2: Create UML project and model File > New > Project Check Show all wizards Expand Modelling folder, select UML Project, and click Next Choose a name for your project and click Next. Project name: Bank

Create a package Select General > Blank Package Choose a name for your package  and click Finish. File name: BankAccount What is package? A package is a general purpose mechanism for organising elements into groups. Packages may be nested within other packages.

Create UML package within package In the Palette view, click on Class > Package Click on Main editor, and expand the current package element Choose the name for this package: Customer Account Management

Lab 3: Class modelling Double click on Main in the Customer Account Management package In the Palette view, click on Class, and name it Account Right click on Account, and select Add UML > Attribute Name the attribute: -balance : double, and click Enter.

Add operations Right click on class Account, and select Operation Name the operation: deposit(amount:double):double, and click Enter Add another operation: withdrawal(amount:double):double

Add new classes Add new class: CheckingAccount Attribute: insufficientFundsFee:double Operation: withdrawal(amount:double) Add new class SavingsAccount Attribute: annualInterestRate:integer Operations: depositMonthlyInterest(), and withdrawal(amount:double)

Add relationships In the Pallete, under Class, select Generalization

Lab 4: UML-to-Java transformation Create a class diagram: https://www.ibm.com/developerworks/rational/library/08/1202_berfeld/ https://www.ibm.com/developerworks/rational/library/content/RationalEdge/sep04/bell/

Configure the transformation To create a new UML-to-Java transformation configuration, select Modeling >Transform > New Configuration in the Main menu.

Configure the transformation In the Name field of the opened New Transformation Configuration wizard, enter the name of the transformation configuration: Name: MyUMLtoJavaTransform Click the ellipses (...) button to browse to the UML project Bank In the list of deployed transformations, open the Java Transformations folder and select the UML-to-Java transformation. Select the Conceptual protocol type, and click Next. Note: Choose Conceptual protocol if the intention is to use the source model as a primary engineering artifact in future iterative development. Any changes made to the source model will be propagated to the target project when someone runs the transformation.

Specify the source and target elements for the transformation Select the model BankAccount from the created UML project as a source Select Create a Target Container

Create a new Java project Create a new Java project named myBankCode, and click Finish  Select it as a target in the Transformation Configuration wizard, and click Finish

Run the transformation configuration The Java project and transformation configuration files created are visible in the Project Explorer view The Transformation configuration is opened in the Editor view Click Run to run the configuration

Generated transformation output The Java code will be generated in the target project 

Lab 5: Export the project File > Export Expand General, and click on Archive File

Export the projects Check the projects that you want to export Click on Browse to select the path, and name of the archived file Click Finish

Lab 6: Closing the project File > Save All File > Close All Right click on the project in Project Explorer, and click on Close Project.