You are on page 1of 22

SAP Net Weaver Web Dynpr o J ava

Di sc l ai mer
This presentation outlines our general product direction and should not be relied on in
making a purchase decision. This presentation is not subject to your license
agreement or any other agreement with SAP. SAP has no obligation to pursue any
course of business outlined in this presentation or to develop or release any
functionality mentioned in this presentation. This presentation and SAPs strategy
and possible future developments are subject to change and may be changed by
SAP at any time for any reason without notice. This document is provided without a
warranty of any kind, either express or implied, including but not limited to, the
implied warranties of merchantability, fitness for a particular purpose, or non-
infringement. SAP assumes no responsibility for errors or omissions in this
document, except if such damages were caused by SAP intentionally or grossly
negligent.
After completing this unit, you will understand:
The basic concepts behind Web Dynpro
The basic architecture of a Web Dynpro Component
New features for Web Dynpro in SAP NW CE.
Web Dynpr o J ava: Uni t Obj ec t i ves
1. Web Dynpro for NetWeaver CE 7.1
2. Architecture of Web Dynpro
3. Status and Outlook
Agenda
What i s Web Dynpr o?
Web Dynpro is SAPs standard toolset for UI development and execution.
Web Dynpro Design time Runtime
Component
based
Win d o w Win d o w
View As s embl y View As s embl y
Vi ew La you t V i ew Lay ou t
AS Java
Based on
MVC
NWDS
Web Dynpro Tools
Web Dynpro
Framework
Client Device
etc
Compile & Deploy
Declared
Metamodel
Generated Code
Custom Code
What i s Web Dynpr o ?
A Programming Model for User Interfaces
Defines a standard structure for user interface
applications
Derived from the MVC ( model-view-controller )
design pattern
A Set of Tools for User Interface Design
Focus on graphical modelling
Code is generated from meta-model declarations
Integrated i n SAP NetWeaver Developer Studio
A Runtime Environment for Applications
Framework running on SAPs J2EE server offers
common services
A Technology for Software Modularization
Components help structure projects and support
pattern-based UIs
Web Dynpr o J ava Pr oduc t Hi st or y
Fr om 2003 t o Now
SAP Net Weaver
CE 7.1 EhP1
2003 2006 2007 2008
Reached 1000
direct customers
SAP Net Weaver
04
Ser vi c e Pac k
St ac k 22
SAP Net Weaver
CE 7.1
SAP Net Weaver
7.0
Ser vi c e Pac k
St ac k 16
Foundation UI Technolgoy
for WD4VC
Foundation UI technolgoy
for SAP Busi ness ByDesign
CCTS Datatypes, Calendar UI
elements, context menus,
streamlined component model
Web Dynpro Ajax Client,
Drag&Drop, EJB 3 Model
Implicit personalization,
suspend/resume appli-
cationinteroperability, table
enrichements, new UI
elements, Adaptive
WS Model
Foundation UI technolgoy
for SAP applications like
ESS/MSS
Web Dynpr o J ava UI Tec hnol ogy
Goal s and Conc ept s at Gl anc e
J2EE Engine
Web Dynpr o Mai n Benef i t s
Web Dynpro
generated code
+custom code
Web
Dynpro
Tools
Web Dynpro Runtime
Deliver an Enterprise Quality
Web Development Environment
Minimize coding, maximize design
Strict separation between layout and logic
Support arbitrary backend systems
Support reuse of components
Configuration of UI patterns
Support web services and data-binding
Achieve Client Independence
Run on multiple platforms
Zero client footprint
Improve User Experience
through a "High Fidelity Web UI"
Flicker-free screen, minimal refreshes
Web Dynpro
Application
Multi Channel Access
Demo
1. Web Dynpro for NetWeaver CE 7.1
2. Architecture of Web Dynpro
3. Status and Outlook
Agenda
SAP NetWeaver Developer Studio
Web
Dynpro
Tools
The Web Dynpr o Tool s w i t h t he NWDS
Custom Coding
Custom business logic implemented within
the framework of generated code
Good for data-driven, dynamic apps
Implementation of business rules
Dynamic screen modifications
Access to backend systems (via models)
Portal eventing
etc...
Metamodel Declarations
Guarantees that all applications have a
standardised architecture
Good for graphical tool support
Screen Layout and Nesting
Navigation and Error Handling
Data Flow
Componentization
etc...
Declared
Metamodel
C
o
m
p
i
l
e
&

B
u
i
l
d
D
e
p
l
o
y
a
b
l
e
A
p
p
l
i
c
a
t
i
o
n
Generated Code
Custom Code
AS Java
Ac c ess t o Bac k end Syst ems f r om Web Dynpr o
Web
Service
Provider AS J ava
Web Dynpro
Runtime
Deployed Web
Dynpro App
Deployed Web
Dynpro App
SAP Enterprise Portal
Web Dynpro iVi ew
Backend Application Backend Application
ABAP
Backend
Server
Web
Service
RMI SOAP RFC
RFC enabled
Function Modules
EJ B
Business
Data
Business
Data
Business
Data
A Typi c al I mpl ement at i on of t he MVC Pat t er n
E d i t o r
Controller
Request
Response
Event
subscription
Data
transfer
Model
View
Data
transfer
Data
transfer
Business
System
Communication
Layer
Business Interaction Layer
User Interaction Layer
1
2
3
4
4
5
Communication
Layer
Business Interaction Layer
User Interaction Layer
Web Dynpro Framework
Server
Abstraction
Layer
Common Common
Model Model
Interface Interface
MVC as I mpl ement ed Wi t hi n Web Dynpr o
E d i t o r Web Dynpro Component
Non visual
Controller
Request
Response
Data
transfer
Model
Visual
Controller
Data
transfer
Business
System
C
l
i
e
n
t
A
b
s
t
r
a
c
t
i
o
n
L
a
y
e
r
S
e
r
v
e
r

s
i
d
e
S
e
r
v
e
r

s
i
d
e
r
e
n
d
e
r
i
n
g
r
e
n
d
e
r
i
n
g
1 2
3
4
5
6
Cr eat i ng a Web Dynpr o Vi ew - WYSI WYG
A view layout can be constructed in one of three ways. Either by:
Dragging and dropping the individual UI elements onto the screen one at a time
By using the Insert Childmenu option in the Outline view
Using the template wizard to create UI elements based on attributes found in the context
Shar i ng Dat a The Web Dynpr o Cont ex t
Why do Web Dynpro controllers have a context?
To provide a standardized data storage structure common to all controllers
To allow data to be shared easily between controllers (context mapping)
To act as a data supplier for UI element properties (view controllers only)
W e b D y n p r o C o m p o n e n t
Component
Controller
View Controller
View layout
Root Node
SalesOrders
LongText
OrderNo
SalesDate
SalesRep
LineItems
Description
ItemNo
Price
Quantity
Root Node
SalesOrders
LongText
OrderNo
SalesDate
SalesRep
LineItems
Description
ItemNo
Price
Quantity
Web Dynpr o Cont r ol l er s
W e b D y n p r o C o m p o n e n t
Window
Controller
Window Window
Interface
Controller
Externall y
Visibl e
Internall y
Visibl e
Interface
View
Controller
Custom
Controller
View
Controller
View Layout View Layout
Component
Controller
Window
View
Layout
Visual Entities Programmatic Entities
Model
Non-Visual
Controllers
Visual
Controllers
View Assembly View Assembly
Interface
View
1. Web Dynpro for NetWeaver CE 7.1
2. Architecture of Web Dynpro
3. Status and Outlook
Agenda
Web Dynpr o Hi ghl i ght s i n NW CE
EJ B Model Import EJ B Model Import
Enhanced Web Dynpro UI Element Library UI Element Library with new elements and new ColumnLayout
RowRepeater, Calendar, Hierarchical Calendar, MessageBasedTrigger, FormatedTextView,
ContextMenu,
HighlyEnhanced Component Component Architecture Architecture
Window Controller, Window Plugs
View Containers within Component Interface View Definitions
Inheritance of Component Interfaces
Support of CCTS CCTS Datatypes Datatypes within Web Dynpro Context and UI
Enhanced Context Context capabilities
Universal context elements overcome separation in value/model elements
CMI-based: Paging, Sorting, Filtering
EnhancedWeb Dynpro Tools Web Dynpro Tools in the NW Dev Studio (name?)
Component Modeler, WYSIWIG View Designer, Context Debugger, (Technical) Documentation
Support, Component Migration Tool
Much More .
You should now be able to understand:
The basic concept behind Web Dynpro.
The basic architecture of a Web Dynpro
Component.
New features for Web Dynpro in SAP NW CE.
Web Dynpr o: Uni t Summar y
SAP 2008 / Page 22
Copyr i ght 2008 SAP AG
Al l r i ght s r eser ved
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein
may be changed without prior notice.
Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, Duet, Business ByDesign, ByDesign, PartnerEdge and other SAP products and services mentioned
herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product
and service names mentioned and associated logos displayed are the trademarks of their respective companies. Data contained in this document serves informational
purposes only. National product specifications may vary.
The information in this document is proprietary to SAP. This document is a preliminary version and not subject to your license agreement or any other agreement with
SAP. This document contains only intended strategies, developments, and functionalities of the SAPproduct and is not intended to be binding upon SAP to any particular
course of business, product strategy, and/or development. SAP assumes no responsibility for errors or omissions in this document. SAP does not warrant the accuracy or
completeness of the information, text, graphics, links, or other items contained within this material. This document is provided without a warranty of any kind, either express
or implied, including but not limited to the implied warranties of merchantability, fitness for a particular purpose, or non-infringement.
SAP shall have no liability for damages of any kind including without limitation direct, special, indirect, or consequential damages that may result from the use of these
materials. This limitation shall not apply in cases of intent or gross negligence.
The statutory liability for personal injury and defective products is not affected. SAP has no control over the information that you may access through the use of hot links
contained in these materials and does not endorse your use of third-party Web pages nor provide any warranty whatsoever relating to third-party Web pages
Weitergabe und Vervielfltigung dieser Publikation oder von Teilen daraus sind, zu welchem Zweck und in welcher Form auch immer, ohne die ausdrckliche schriftliche
Genehmigung durch SAP AG nicht gestattet. In dieser Publikation enthaltene Informationen knnen ohne vorherige Ankndigung gendert werden.
Einige von der SAP AG und deren Vertriebspartnern vertriebene Softwareprodukte knnen Softwarekomponenten umfassen, die Eigentum anderer Softwarehersteller
sind.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, Duet, Business ByDesign, ByDesign, PartnerEdge und andere in diesem Dokument erwhnte SAP-
Produkte und Services sowie die dazugehrigen Logos sind Marken oder eingetragene Marken der SAP AG in Deutschland und in mehreren anderen Lndern weltweit.
Alle anderen in diesem Dokument erwhnten Namen von Produkten und Services sowie die damit verbundenen Firmenlogos sind Marken der jeweiligen Unternehmen.
Die Angaben im Text sind unverbindlich und dienen lediglich zu Informationszwecken. Produkte knnen lnderspezifische Unterschiede aufweisen.
Die in diesem Dokument enthaltenen Informationen sind Eigentum von SAP. Dieses Dokument ist eine Vorabversion und unterliegt nicht Ihrer Lizenzvereinbarung oder
einer anderen Vereinbarung mit SAP. Dieses Dokument enthlt nur vorgesehene Strategien, Entwicklungen und Funktionen des SAP-Produkts und ist fr SAP nicht
bindend, einen bestimmten Geschftsweg, eine Produktstrategie bzw. -entwicklung einzuschlagen. SAP bernimmt keine Verantwortung fr Fehler oder Auslassungen in
diesen Materialien. SAP garantiert nicht die Richtigkeit oder Vollstndigkeit der Informationen, Texte, Grafiken, Links oder anderer in diesen Materialien enthaltenen
Elemente. Diese Publikation wird ohne jegliche Gewhr, weder ausdrcklich noch stillschweigend, bereitgestellt. Dies gilt u. a., aber nicht ausschlielich, hinsichtlich der
Gewhrleistung der Marktgngigkeit und der Eignung fr einen bestimmten Zweck sowie fr die Gewhrleistung der Nichtverletzung geltenden Rechts.
SAP bernimmt keine Haftung fr Schden jeglicher Art, einschlielich und ohne Einschrnkung fr direkte, spezielle, indirekte oder Folgeschden im Zusammenhang mit
der Verwendung dieser Unterlagen. Diese Einschrnkung gilt nicht bei Vorsatz oder grober Fahrlssigkeit.
Die gesetzliche Haftung bei Personenschden oder die Produkthaftung bleibt unberhrt. Die Informationen, auf die Sie mglicherweise ber die in diesem Material
enthaltenen Hotlinks zugreifen, unterliegen nicht dem Einfluss von SAP, und SAP untersttzt nicht die Nutzung von Internetseiten Dritter durch Sie und gibt keinerlei
Gewhrleistungen oder Zusagen ber Internetseiten Dritter ab.
Alle Rechte vorbehalten.

You might also like