Professional Documents
Culture Documents
Andreas Fahle
Agenda
Introduction
What is Web Dynpro?
Objectives and approaches
Basic concepts
Example
Views, Controllers, and Models
Components and Applications
Contexts
Meta-model
Development process
Declarative vs. procedural programming
Common steps
Execution
Summary
view
EmployeeForm
control
to the
backend
component
EmployeeBaseDataEditor
"model manager"
view controller
of EmployeeForm
component
controller
control
"name" text field
context
context
model class
Employee
control property
text
context element
employee/name
context element
employee/name
model property
"name" attribute
control property
context element
context element
model property
model
Human Ressources
start
component
have
use
component
controller
window
consist of
custom
controller
consist of
view
controller
controller
model
view
outbound
plug
have
navigation
link
context
inbound
plug
plug
model
class
have
bind
context
element
model
property
HPI, Seminar System Modeling - SS2005 / 11 map
control
bind
have
control
property
navigation
developer
Generator
Web Dynpro
Metadata
Java Code
Declarative programming of
layout and navigation
application data and
data binding
Procedural programming of
event handlers
additional methods
//@@begin javadoc:onActionBack(ServerEvent)
/** Declared validating event handler. */
//@@end
public void onActionBack(<...> IWDCustomEvent wdEvent )
{
//@@begin onActionBack(ServerEvent)
wdThis.wdFirePlugToStartView();
//@@end
}
declarative
declarative
graphical
declarative
graphical
graph/decl
procedural
graph/decl
graph/decl
procedural
Execution
Web-Dynprobased application
screen data
Web Dynpro
client
Web Dynpro
runtime
RMI
Backend
application
J2EE
Application Server
business
data
Backend server
(J2EE-based)
User
R
R
Web browser
Web server
HTTP
Client
SAP Java
Connector
R
Backend server
(ABAP-based)
Presentation server
SOAP
Summary
Web Dynpro is a powerful UI Framework for SAP NetWeaver.
Most of the programming can be done in a graphical and/or declarative
manner.
Web Dynpro is open for new backend types, frontend types, as well as
further programming languages.
Component-orientation supports re-use.
Data are mapped and synchronized between UI controls and the
backend via models and contexts.
All activity (i.e. roundtrips) is initiated from the client.
References
Kessler, K., Tillert, P., Dobrikov, P.: Java-Programmierung mit dem
SAP Web Application Server. Galileo Press, Bonn 2005.
McNulty, P.: Web Dynpro Overview. SAP AG, 2002.
Tillert, P., Wilson, A.: Web Dynpro Introduction/Concepts. SAP AG,
2003.
SAP Library Development Manual, Web Dynpro.
SAP Library Architecture Manual, Web Dynpro Architecture.
SAP Online Help, Creating Your First Web Dynpro Application.
Knpfel, A.: Konzepte der Beschreibung interaktiver Systeme.
Universittsverlag Potsdam, Potsdam 2005.