| Contents | Previous | Next | Home | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Abi Rajan resources on SCJA Module 1 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Analysis and Architecture Process
Introduction
to the Architect Process using Java technology.
Introduction to the Architect Process using Java technology.
What is Software Architecture?
Architeture is an overall structure of a system.
Architecture take into consideration the the overall working of the system.
The architecture can consist of sub system which interface with other
subsystem to provide the system. Architecture take into consideration the
scalability, security, portability of the system. Architecture normally
do not consider in implementation detail. Implementation do follow the
architecture.
Software architecture is the high-level structure
of a software system. Important properties include:
The steps in the software development are
Requirement
analysis ( problem statement)
Requirement analysis
This phase involves the domain specification of
the software in need.
Example of a out come of this phase
Object oriented analysis
This phase involves the analysis of the domain.
The requirement analysis sets the boundary for this phase.
Example of a out come of this phase
Architectural design
This phase involves the architectural design for
the software. The development of the architecture is based on the output
of the Object oriented analysis. This phase tries to give a framework with
in which all the components will work to satisfy all the customer requirements.
This phase lays the outline of the system. Implementation details are not
Documented at this phase.
An example of this phase would be
Decide and document the architecture
Object oriented design
In this phase the implementation design is done.
Client tier whether it is an applet or HTML is decided. All the classes
with hierarchy is defined. Design patterns if any are used. Object reuse
is considered.
Architectural design ( revisited )
Any architectural considerations arising due to
the detailed implementational design is discussed.
Example:
Object creation
The objects and code are implented.
Architecture Notation
UML, Unified Modeling Language by OMG , Object
Management Group is the Architecture Notation.
Class diagram
A rectangle with three divisions for class name,
attributes and methods
Sequence diagram
Basic Three-Tier Architecture
Three-Tier Architecture
has three layers
User Interface layer, business logic layer and the persistence layer.
-Tier Architecture
n-Tier Architecture
Tier-to-Tier Communication
IDL to Com bridge // check
HTTP
HTML forms based client interacts with the servlet
on the server. Server interacts with the business layer and business layer
interacts with the persistence layer.
RMI
This is a possible if the objects in the user
interface and the business layers are all Java objects. The persistence
layer is mostly accessed through JDBC. Other relational object mapping
of the data layer is also possible.
Advantage of RMI
Disadvantage of RMI
Corba
Advantage of Corba
Disadvantage of Corba
Dcom
Distributed Object Communication
Established
Cannot communicate to a Java class directly
The server/ client can reconstitute the objects
easily.
Object are passed by reference
Data type can be any Java objects.
Any Java objects can be passed as arguments.
Arguments has to implement the
Serializable interface
The server/ client has to reconstitute the objects
with the data.
Only commonly accepted data types can be passed
as arguments
Distributed Object Frameworks
Distributed Object Frameworks are RMI, Corba,
Dcom, EJB.
Basic Three-Tier Java Technology Architecture
The three-Tier Java Technology Architectureis
achieved by HTML, Applet, Java Application on the client. Servlet, Java
Server Pages on the Middle Tier. JDBC communication to the persistence
or Database layer
RMI
// Explain later
Java IDL
// Explain later
HTML with applet
Java Server Pages
( Not a Java 3 tier)
Comparison of Three-Tier Communication Mechanisms
Review questions
|