You are on page 1of 38

SAP' s I nt egr at ed

Devel opment
Envi r onment f or J ava
Karl Kessler, SAP AG
2002 SAP Labs, LLC, JAVA101, Karl Kessler 2
Agenda
Comparison ABAP Workbench /
Typical Java IDE
Eclipse
The SAP Framework
The J2EE toolset
2002 SAP Labs, LLC, JAVA101, Karl Kessler 3
Compar i son ABAP Wor k benc h / Typi c al J ava I DE
- +
Environment/Infrastructure
- +
Support for SAP
Technology
+ -
Private Test Environment
+ -
Offline Development
+ -
Support for Standards
+ -
Local Editing
- +
Large Scale Application
support
JAVA ABAP
ABAP
n Server oriented
n Design Time and Run
Time Objects stored in
same database
n SAP System
determines scope
J AVA
n Operates on Local File
System
Desi gn Ti me and Run
Ti me separ at ed
n Development
environment
organized in local
projects
2002 SAP Labs, LLC, JAVA101, Karl Kessler 4
Compar i son: ABAP / J ava: Some hi ghl i ght s
ABAP
One frame (SE80) for all Design Time Tools
Highly convenient infrastructure environment seamlessly
integrated into Development Workbench
Build environment, Deployment, Software Logistics, ...
Proven environment for large-scale application development
Strong support for SAP Technologies
Structured logical, not physical, presentation of all SAP Design
Time Objects
J ava
Local Development Environment
Editing support: Syntax Highlighting, Code Completion, ...
Offline development
Private test environment (partially)
Support for Standard Technologies
J2SE, J2EE, HTML, XML,...
2002 SAP Labs, LLC, JAVA101, Karl Kessler 5
SAP J ava I DE
Goal : Combi ne t he advant ages of bot h appr oac hes
Provide one frame for all tools and as integration point for all
infrastructure components
Provide convenient integrated infrastructure environment to
support large scale application development
Preserve principle of local IDE
Local editing support
Offline development
Optimal support for standard and SAP technologies
Logically structured presentation of all Design Time Objects
Graphical editing support
2002 SAP Labs, LLC, JAVA101, Karl Kessler 6
Local File System
Tool Integration Platform
Over al l J ava Devel opment I nf r ast r uc t ur e
Design
Time
Repository
(DTR)
Component
Build
Service
(CBS)
Software Logistics
(SL)
Run
Time
J2EE
Server
Deploy
DDIC Web
Dynpro
Web
Service
D
T
R
/
C
B
S
/
S
L
I
n
t
e
g
r
a
t
i
o
n
Generic Model Abstraction Layer
Graphics
Tool Service
Layer
Java
J2EE
2002 SAP Labs, LLC, JAVA101, Karl Kessler 7
Tool Integration Platform
Topi c s of t hi s pr esent at i on
Design
Time
Repository
(DTR)
Component
Build
Service
(CBS)
Software Logistics
(SL)
Run
Time
J2EE
Server
DDIC Web
Dynpro
Web
Service
D
T
R
/
C
B
S
/
S
L
I
n
t
e
g
r
a
t
i
o
n
Generic Model Abstraction Layer
Graphics
Deploy
Tool Service
Layer
Local File System
Java
J2EE
2002 SAP Labs, LLC, JAVA101, Karl Kessler 8
Agenda
Comparison ABAP Workbench /
Typical Java IDE
Eclipse
The SAP Framework
The J2EE toolset
2002 SAP Labs, LLC, JAVA101, Karl Kessler 9
Tool Integration Platform
Ec l i pse
Design
Time
Repository
(DTR)
Component
Build
Service
(CBS)
Software Logistics
(SL)
Run
Time
J2EE
Server
DDIC Web
Dynpro
Web
Service
D
T
R
/
C
B
S
/
S
L
I
n
t
e
g
r
a
t
i
o
n
Generic Model Abstraction Layer
Graphics
Deploy
Tool Service
Layer
Local File System
Java
J2EE
2002 SAP Labs, LLC, JAVA101, Karl Kessler 10
Ec l i pse
n Open Source project "donated" by IBM
n Eclipse is itself written in Java
n Eclipse is only a framework: Everything is a plugin!
n Formally defined Extension Points and Plugin dependencies
n Very small kernel (Platform Runtime): The framework itself is
implemented as a set of plugins
n Own UI approach (SWT / JFace)
n Workbench plugin as generic
framework for any tool
n Complete Java (J2SE) IDE comes with
Eclipse
uSet of plugins
uOpen Source
n Eclipse is the basis of IBMs IDE WSAD
n Many vendors are providing Eclipse
plugins: Strong Industry drive
2002 SAP Labs, LLC, JAVA101, Karl Kessler 11
Ec l i pse: Pr oj ec t s
n Multiple projects can be
opened at the same time
n Project dependencies can be
declared
n Workspace principle: a
workspace defines the scope
of accessible resources
n No workspace switch
at run time
2002 SAP Labs, LLC, JAVA101, Karl Kessler 12
Ec l i pse: Per spec t i ves and Vi ew s
n Perspective
uIs composed of all visual components (views) for one aspect of the
development
uExamples
l Java perspective: Package view, Java editor, Outline pane for Java
source/class files
l Debug perspective: Java editor, thread display, breakpoint list, etc.
n Quick and easy switch
n Perspectives are personalizable
uAdd/remove views
uCompose new perspectives from existing views
n Perspectives allow focussing on a certain aspect of development
2002 SAP Labs, LLC, JAVA101, Karl Kessler 13
J ava and Debug Per spec t i ve
Java
Perspective
Debug
Perspective
2002 SAP Labs, LLC, JAVA101, Karl Kessler 14
Ec l i pse: J ava I DE
n Refactoring features
uMove/rename classes and
methods
uRepackage
uExtract methods
uSurround with try/catch
n Pretty Printing
uConfigurable
n Code completion (IntelliSense)
n Import management
uConfigurable
n Search features
uReferences
uDefinitions
uRead/write access
n Javadoc help as tooltip
2002 SAP Labs, LLC, JAVA101, Karl Kessler 15
Ec l i pse: J ava I DE
n Incremental Build
n Ant based build support
n Support for building
archives
n State-of-the-Art Debugger
uLocal and remote
debugging
2002 SAP Labs, LLC, JAVA101, Karl Kessler 16
Ec l i pse: Pl ugI n Devel opment
n Runtime Workbench
udebug possibility
n PlugIn Development
Environment (PDE)
n Lazy initialization of
PlugIns
n Easy deployment
n Everything is a PlugIn
uPlugIn dependencies
uPlugIn versioning
n Extension Point technology
uEvery PlugIn extends other
PlugIns at predefined
Extension Points
uEvery PlugIn can provide
Extension Points
2002 SAP Labs, LLC, JAVA101, Karl Kessler 17
Ec l i pse: Pr esent i ng t he Wor k spac e
n Direct presentation of files and folders structure (Resource
Perspective)
n Special abstraction layer for Java Perspective:
package -> class -> method / attr.
n No generic abstraction layer
Resource
Perspective
Java
Perspective
2002 SAP Labs, LLC, JAVA101, Karl Kessler 18
Agenda
Comparison ABAP Workbench /
Typical Java IDE
Eclipse
The SAP Framework
The J2EE toolset
2002 SAP Labs, LLC, JAVA101, Karl Kessler 19
Tool Integration Platform
The SAP Fr amew or k
Design
Time
Repository
(DTR)
Component
Build
Service
(CBS)
Software Logistics
(SL)
Run
Time
J2EE
Server
Java
DDIC
J2EE
Web
Dynpro
Web
Service
D
T
R
/
C
B
S
/
S
L
I
n
t
e
g
r
a
t
i
o
n
Generic Model Abstraction Layer
Graphics
Deploy
Tool Service
Layer
Local File System
2002 SAP Labs, LLC, JAVA101, Karl Kessler 20
The SAP Fr amew or k
Tec hnol ogi c al Appr oac h
n Use Eclipse as Java IDE (J2SE)
n Use Eclipse as Tool Integration Platform for all development related
tools
u SAP Technology (WebDynpro, Java Dictionary, ...)
u Standard Technologies not supported by Eclipse (J2EE, XML, ...)
u Infrastructure (Repository, Build, Software Logistics, ...)
Drawbac k s
n Lack of generic Model Abstraction Layer
u No generic support for presenting Design Time Objects in a logical (not
physical) way
u No basis for generic graphics enabling
Ser vi c e Layer not suf f i c i ent
n SWT / JFace UI approach instead of Swing
u Little documentation
u APIs less well-known than swing
2002 SAP Labs, LLC, JAVA101, Karl Kessler 21
I DE over vi ew
Eclipse Platform
J2SE
Tools
Model Abstraction Layer
Model Abstraction Layer
J2EE
Tools
Java
Dictionary
View
Designer
Service Layer
Service Layer
Application
Modeler
2002 SAP Labs, LLC, JAVA101, Karl Kessler 22
Ex ampl e: WebDynpr o Appl i c at i on Model er
Diagramming based on
Graphics Engine
Diagramming based on
Graphics Engine
Eclipse
Framework
Model View based on
Model Abstraction
Layer
Grahics based on
Model Abstraction
Layer
Grahics based on
Model Abstraction
Layer
2002 SAP Labs, LLC, JAVA101, Karl Kessler 23
Ser vi c e Layer Ex ampl e: SAP UI l ayer
n Convenience layer on top of SWT / JFace
2002 SAP Labs, LLC, JAVA101, Karl Kessler 24
n Validation against DTD
n Schema based editing support: XMLInsight
n Pretty Printer
n Used in multiple multi-page editors (J2EE, Component Editor, ...)
Ser vi c e Layer Ex ampl e: XML Edi t or
2002 SAP Labs, LLC, JAVA101, Karl Kessler 25
Agenda
Comparison ABAP Workbench /
Typical Java IDE
Eclipse
The SAP Framework
The J2EE toolset
2002 SAP Labs, LLC, JAVA101, Karl Kessler 26
Tool Integration Platform
J 2EE Tool set
Design
Time
Repository
(DTR)
Component
Build
Service
(CBS)
Software Logistics
(SL)
Run
Time
J2EE
Server
Java
DDIC Web
Dynpro
Web
Service
D
T
R
/
C
B
S
/
S
L
I
n
t
e
g
r
a
t
i
o
n
Generic Model Abstraction Layer
Graphics
Deploy
Tool Service
Layer
Local File System
J2EE
2002 SAP Labs, LLC, JAVA101, Karl Kessler 27
J2SE
Tools
J 2EE Tool set
n J2EE 1.3 support
n Diagramming
n Direct support of SAP J2EE Engine 6.30
Eclipse Platform
Model Abstraction Layer
J2EE
Tools
Java
Dictionary
View
Designer
Service Layer
Application
Modeler
Standard J2EE 1.3
Support
SAP J2EE Engine
Integration
2002 SAP Labs, LLC, JAVA101, Karl Kessler 28
J 2EE Tool set : Suppor t ed J 2EE 1.3 f eat ur es
EJ B
n EJB 2.0
uSession, Entity, Message Driven
n EJB Assembly (EJBJar)
Web
n Servlet
n JSP
n Filter
n Listener
n HTML
n Web Archive (WAR)
Ent er pr i se
n Enterprise Application (EAR)
Standard J2EE 1.3
Support
SAP J2EE Engine
Integration
2002 SAP Labs, LLC, JAVA101, Karl Kessler 29
J 2EE Tool set
J 2EE Vi ew and Per spec t i ve
2002 SAP Labs, LLC, JAVA101, Karl Kessler 30
J 2EE Tool set
Cr eat i on w i zar ds f or
n Projects: EJB, EJB Assembly, Web, Web Assembly, Enterprise
Application
n Objects: EJB, Servlet, JSP, Filter, Listener, HTML
2002 SAP Labs, LLC, JAVA101, Karl Kessler 31
J 2EE Tool set
Mul t i -Page Edi t or s f or al l depl oyment desc r i pt or s
n ejb-jar.xml, web.xml, application.xml
n Full XML editor functionality in Source View
2002 SAP Labs, LLC, JAVA101, Karl Kessler 32
J 2EE Tool set : SAP J 2EE Engi ne I nt egr at i on
Standard J2EE 1.3
Support
SAP J2EE Engine
Integration
SAP J2EE Engine
Developers PC
Deployment
Local testing and debugging
SAP J2EE Engine
SAP J2EE Engine
LAN
Deployment
SAP Java IDE
2002 SAP Labs, LLC, JAVA101, Karl Kessler 33
SAP Java IDE
SAP J2EE Engine
Developers PC
Deployment
Local testing and debugging
SAP J2EE Engine
SAP J2EE Engine
LAN
Deployment
EAR Depl oyment
n Launching of Visual
Deployment Tool from J2EE
Perspective
n Local storage and editing of
Deployment Configurations
J 2EE Tool set : SAP J 2EE Engi ne I nt egr at i on
2002 SAP Labs, LLC, JAVA101, Karl Kessler 34
Depl oyment
2002 SAP Labs, LLC, JAVA101, Karl Kessler 35
SAP Java IDE
SAP J2EE Engine
Developers PC
Local Testing and debugging
LAN
Deployment
SAP J2EE Engine
SAP J2EE Engine
Loc al Test and Debug
Envi r onment
n Specify Server Settings in
Preferences page
n Start / Stop local J2EE Engine
from J2EE View
u Normal or debug mode
n Direct testing or debugging of
servlets / JSPs on local server
J 2EE Tool set : SAP J 2EE Engi ne I nt egr at i on
2002 SAP Labs, LLC, JAVA101, Karl Kessler 36
SAP J 2EE engi ne i nt egr at i on
2002 SAP Labs, LLC, JAVA101, Karl Kessler 37
Q&A
Quest i ons?
2002 SAP Labs, LLC, JAVA101, Karl Kessler 38
Feedbac k
Please complete your session
evaluation and drop it in the box on
your way out.
Be courteous deposit your trash,
and do not take the handouts for the
following session.
The SAP TechEd 02 New Orleans Team

You might also like