Unit 2 - Lesson 1 - Server Fundamentals 1 Flashcards

1
Q

List stereotyped class types in the Curam Model

A
Domain Definition
Entity
Struct
Process
Facade
and more
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Define Domain Definitions

A

Curam concept of simple application-level data type definitions
Unwind to fundamental data types
All attributes to be defined in terms of domains

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Define Struct

A

Collection of Attributes
Never has methods
Used as argument & return type for Facade, Entity & Process classes
Groups arguments to avoid long argument lists
Java class created per each struct in the model

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Define Entity

A

Associated with DB tables. Can have attributes & methods
Attributes become columns of the DB table.
Java class is generated from the Entity using:
READ
INSERT
MODIFY
REMOVE
READMULTI
will form primary keys. You can specify multiple s to form composite key

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Define Shadow Class

A
Structs that are automatically generated based on Entity class attributes
Generated structs are referred to by the shadow type:
Key, Dtls, DtlsList, KeyList
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What Shadow classes are created for specific operations

A

> , > - Key & Dtls
- Dtls
- Key
- DtlsList

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Define Process model (Business Process Object)

A

Business logic of the application
No direct association with database tables or client processing
Method signatures are modelled, method logic implemented by developers
A java class per process class
Contains calls to processes & entity methods
Not client visible

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Define Facade model

A

Client-specific logic
Not directly associated with database tables
Never has attributes
Method signatures are modelled, dev implements content
Java class per Facade class
Client-visible
Calls to processes & entities

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Curam naming conventions

A
Domain Definitions - ACCOUNT_NUMBER
Entity - BankAccount
Attribute name - accountNumber
Operation name - readAccount
Named aggregation - dtls, key, dtlsList
Process or Facade class - ProcessBankAccount
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

RSA for Curam offering

A

IBM Curam profile - defines UML stereotyped elements and values can be defined within Curam model
Curam Model template - IBM Curam Profile + filtering capability to remove unnecessary or unsupported functionality from RSA

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Mapping model to code

A

Intf - public abstract
Base - protected abstract
Impl - public/protected implementation
Fact - factory.newInstance() extending Impl

Stereotyped entities’s factory will extend from base as implementation is included for free
Developers must declare implementation as abstract to enforce Factory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Model compilations & JAR

A
build generated - model into code and compile some classes
JARs generated:
struct.jar
messages.jar
events.jar
codetable.jar
application.jar
Project class path should include above and exclude struct & intf folders
How well did you know this?
1
Not at all
2
3
4
5
Perfectly