Professional Documents
Culture Documents
Sap Netweaver - Web Application Development Environment: Peter Vaníček
Sap Netweaver - Web Application Development Environment: Peter Vaníček
Language independent(Java
Language independent (Java and
and ABAP)
ABAP) model
model for for
building professional
building professional user
user interfaces
interfaces
Libraries withstandard,
Libraries with standard, complex
complex andand graphical
graphical UI UI
elements
elements
Predefined interfacestoto
Predefined interfaces backend
backend systems
systems (Web
(Web
Services, JavaBeans,XMI,
Services, JavaBeans, XMI,RFC,
RFC,…)
…)
Client independency
Client independency
Personalization
Personalization / /adaptation
adaptationforfor
endend users
users
Interoperability
Interoperability
(UIs).
Design pattern for decoupling presentation and logic of an
application
Handles events
Updates application data
Defines control flow
Request
Controller
Defines application data
Usually connected to
business functionality
Model
View
View
Controller
View Custom
View
Controller Controller
Layout Context
UI Elements
Controller Coding
Actions
Nested Views
Error handlers
Identify the backend for the application. Group the tasks that cannot be
Create a model for this backend or attributed to any particular view.
include an existing model. Add a custom controller for
each group.
Break up the UI into individual, mostly
independent views. Design the contexts for each
controller and the mapping
Consider which views belong to the between the contexts, as well as
same focus area. Divide the screen between model and contexts.
into view sets and view areas
accordingly. Define the layout for each view.
Bind the layout elements
Assign the views to view areas and
draw the navigation paths between
against the view contexts.
them.
Code event handlers etc., first for
Identify all the tasks in the user the custom controllers and then
interface. If possible, assign them to for the view controllers.
the views’ controllers.
As an optional step, add special
resource files (images, style
sheets, etc.)
J2EE server
...
Models
Components
...
Maintain the context structure for the data used in the controller
Maintain usage relations, methods, events and Java coding
Maintain error messages and other texts used within Web Dynpro applications
One-to-one relation between Web Dynpro component and message pool
Developer tests
Test application within the central test application
environment
CBS
Developer Transport Studio
Studio
Development Environment
DTR
Design Time 12 22 32
Repository 13 33
TrackXX
CMS
Track
NWDI
Dev.
Dev. Config. cons
Config. dev
File J2EE
System Engine Component SC X (Definition)
SLD
Build Service Names (reserv.)
File System
CMS SC Version
Landscape Configurator 13 23
Component Model
BuildErrors
resultscaused by lack
can be tested of
in the
Local build, local test local development environment.
checks during Only
check-in
defined components can be used
of foreign components
deploy
Developer
Developer Developer
Developer Studio
Studio Studio
Studio
Konferencia ITAPA 2005
Web Dynpro Basics
NetWeaver Developer Studio
NetWeaver Development Infrastructure
WSDL
1 Read
WSDL
UDDI
Tool
2
Generate
3 Implement
Web Service
Client calls Client
Application
Proxy Application
4
SOAP
Top-Level Navigation
iViews
Detailed
Navigation
My iViews
My Page
Konferencia ITAPA 2005
From the Standard to Your Corporate Design
SAP Design
Theme
Editor
Can transfer any string from, avoids copy and past of information
Prerequisites:
J2EE for EP and Web Dynpro must be reachable full qualified
System for WD J2EE must be created in EP (incl. Alias)
Usage:
firing Events:
WDPortalEventing.fire("namespace","event","parameter=valu
e");
subscribing to Events:
WDPortalEventing.subscribe("namespace","event",wdThis.wdG
etPortalEventAction());
unsubscribing from Events:
WDPortalEventing.unsubscribe("namespace","event",wdThis.w
dGetPortalEventAction());
2
1
With OBN, this can be achieved with a direct mouse click Actions show up