Sap java2. © 2002 SAP Labs, LLC, JAVA101, Karl Kessler 2
Agenda
ĂšComparison ABAP Workbench /
Typical Java IDE
ĂšEclipse
ĂšThe SAP Framework
ĂšThe J2EE toolset
3. © 2002 SAP Labs, LLC, JAVA101, Karl Kessler 3
Comparison ABAP Workbench / Typical Java IDE
-+Environment/Infrastructure
-+Support for SAP
Technology
+-Private Test Environment
+-Offline Development
+-Support for Standards
+-Local Editing
-+Large Scale Application
support
JAVAABAP
ABAP
n Server oriented
n Design Time and Run
Time Objects stored in
same database
n SAP System
determines âscopeâ
JAVA
n Operates on Local File
System
Design Time and Run
Time separated
n Development
environment
organized in local
âprojectsâ
4. © 2002 SAP Labs, LLC, JAVA101, Karl Kessler 4
Comparison: ABAP / Java: Some highlights
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
Java
Ă Local Development Environment
Ă Editing support: Syntax Highlighting, Code Completion, ...
Ă Offline development
Ă Private test environment (partially)
Ă Support for Standard Technologies
Ă J2SE, J2EE, HTML, XML,...
5. © 2002 SAP Labs, LLC, JAVA101, Karl Kessler 5
SAP Java IDE
Goal: Combine the advantages of both approaches
Ă 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
6. © 2002 SAP Labs, LLC, JAVA101, Karl Kessler 6
Local File System
Tool Integration Platform
Overall Java Development Infrastructure
Design
Time
Repository
(DTR)
Component
Build
Service
(CBS)
Software Logistics
(SL)
Run
Time
J2EE
Server
Deploy
DDIC Web
Dynpro
Web
Service
DTR/CBS/SL
Integration
Generic Model Abstraction Layer
Graphics
Tool Service
Layer
Java J2EE
7. © 2002 SAP Labs, LLC, JAVA101, Karl Kessler 7
Tool Integration Platform
Topics of this presentation
Design
Time
Repository
(DTR)
Component
Build
Service
(CBS)
Software Logistics
(SL)
Run
Time
J2EE
Server
DDIC Web
Dynpro
Web
Service
DTR/CBS/SL
Integration
Generic Model Abstraction Layer
Graphics
Deploy
Tool Service
Layer
Local File System
Java J2EE
8. © 2002 SAP Labs, LLC, JAVA101, Karl Kessler 8
Agenda
ĂšComparison ABAP Workbench /
Typical Java IDE
ĂšEclipse
ĂšThe SAP Framework
ĂšThe J2EE toolset
9. © 2002 SAP Labs, LLC, JAVA101, Karl Kessler 9
Tool Integration Platform
Eclipse
Design
Time
Repository
(DTR)
Component
Build
Service
(CBS)
Software Logistics
(SL)
Run
Time
J2EE
Server
DDIC Web
Dynpro
Web
Service
DTR/CBS/SL
Integration
Generic Model Abstraction Layer
Graphics
Deploy
Tool Service
Layer
Local File System
Java J2EE
10. © 2002 SAP Labs, LLC, JAVA101, Karl Kessler 10
Eclipse
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
u Set of plugins
u Open Source
n Eclipse is the basis of IBMâs IDE WSAD
n Many vendors are providing Eclipse
plugins: Strong Industry drive
11. © 2002 SAP Labs, LLC, JAVA101, Karl Kessler 11
Eclipse: Projects
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
12. © 2002 SAP Labs, LLC, JAVA101, Karl Kessler 12
Eclipse: Perspectives and Views
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
13. © 2002 SAP Labs, LLC, JAVA101, Karl Kessler 13
Java and Debug Perspective
Java
Perspective
Debug
Perspective
14. © 2002 SAP Labs, LLC, JAVA101, Karl Kessler 14
Eclipse: Java IDE
n Refactoring features
u Move/rename classes and
methods
u Repackage
u Extract methods
u Surround with try/catch
n Pretty Printing
u Configurable
n Code completion (IntelliSense)
n Import management
u Configurable
n Search features
u References
u Definitions
u Read/write access
n Javadoc help as tooltip
15. © 2002 SAP Labs, LLC, JAVA101, Karl Kessler 15
Eclipse: Java IDE
n Incremental Build
n Ant based build support
n Support for building
archives
n State-of-the-Art Debugger
uLocal and remote
debugging
16. © 2002 SAP Labs, LLC, JAVA101, Karl Kessler 16
Eclipse: PlugIn Development
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
17. © 2002 SAP Labs, LLC, JAVA101, Karl Kessler 17
Eclipse: Presenting the Workspace
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
18. © 2002 SAP Labs, LLC, JAVA101, Karl Kessler 18
Agenda
ĂšComparison ABAP Workbench /
Typical Java IDE
ĂšEclipse
ĂšThe SAP Framework
ĂšThe J2EE toolset
19. © 2002 SAP Labs, LLC, JAVA101, Karl Kessler 19
Tool Integration Platform
The SAP Framework
Design
Time
Repository
(DTR)
Component
Build
Service
(CBS)
Software Logistics
(SL)
Run
Time
J2EE
Server
Java
DDIC
J2EE
Web
Dynpro
Web
Service
DTR/CBS/SL
Integration
Generic Model Abstraction Layer
Graphics
Deploy
Tool Service
Layer
Local File System
20. © 2002 SAP Labs, LLC, JAVA101, Karl Kessler 20
The SAP Framework
Technological Approach
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, ...)
Drawbacks
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
Service Layer not sufficient
n SWT / JFace UI approach instead of Swing
u Little documentation
u APIs less well-known than swing
21. © 2002 SAP Labs, LLC, JAVA101, Karl Kessler 21
IDE overview
Eclipse Platform
J2SE
Tools
Model Abstraction LayerModel Abstraction Layer
J2EE
Tools
Java
Dictionary
View
Designer
Service LayerService Layer
Application
Modeler
22. © 2002 SAP Labs, LLC, JAVA101, Karl Kessler 22
Example: WebDynpro Application Modeler
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
23. © 2002 SAP Labs, LLC, JAVA101, Karl Kessler 23
Service Layer Example: SAP UI layer
n Convenience layer on top of SWT / JFace
24. © 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, ...)
Service Layer Example: XML Editor
25. © 2002 SAP Labs, LLC, JAVA101, Karl Kessler 25
Agenda
ĂšComparison ABAP Workbench /
Typical Java IDE
ĂšEclipse
ĂšThe SAP Framework
ĂšThe J2EE toolset
26. © 2002 SAP Labs, LLC, JAVA101, Karl Kessler 26
Tool Integration Platform
J2EE Toolset
Design
Time
Repository
(DTR)
Component
Build
Service
(CBS)
Software Logistics
(SL)
Run
Time
J2EE
Server
Java
DDIC Web
Dynpro
Web
Service
DTR/CBS/SL
Integration
Generic Model Abstraction Layer
Graphics
Deploy
Tool Service
Layer
Local File System
J2EE
27. © 2002 SAP Labs, LLC, JAVA101, Karl Kessler 27
J2SE
Tools
J2EE Toolset
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
28. © 2002 SAP Labs, LLC, JAVA101, Karl Kessler 28
J2EE Toolset: Supported J2EE 1.3 features
EJB
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)
Enterprise
n Enterprise Application (EAR)
Standard J2EE 1.3
Support
SAP J2EE Engine
Integration
29. © 2002 SAP Labs, LLC, JAVA101, Karl Kessler 29
J2EE Toolset
J2EE View and Perspective
30. © 2002 SAP Labs, LLC, JAVA101, Karl Kessler 30
J2EE Toolset
Creation wizards for
n Projects: EJB, EJB Assembly, Web, Web Assembly, Enterprise
Application
n Objects: EJB, Servlet, JSP, Filter, Listener, HTML
31. © 2002 SAP Labs, LLC, JAVA101, Karl Kessler 31
J2EE Toolset
Multi-Page Editors for all deployment descriptors
n ejb-jar.xml, web.xml, application.xml
n Full XML editor functionality in Source View
32. © 2002 SAP Labs, LLC, JAVA101, Karl Kessler 32
J2EE Toolset: SAP J2EE Engine Integration
Standard J2EE 1.3
Support
SAP J2EE Engine
Integration
SAP J2EE Engine
Developerâs PC
Deployment
Local testing and debugging
SAP J2EE Engine
SAP J2EE Engine
LAN
Deployment
SAP Java IDE
33. © 2002 SAP Labs, LLC, JAVA101, Karl Kessler 33
SAP Java IDE
SAP J2EE Engine
Developerâs PC
Deployment
Local testing and debugging
SAP J2EE Engine
SAP J2EE Engine
LAN
Deployment
EAR Deployment
n Launching of Visual
Deployment Tool from J2EE
Perspective
n Local storage and editing of
Deployment Configurations
J2EE Toolset: SAP J2EE Engine Integration
34. © 2002 SAP Labs, LLC, JAVA101, Karl Kessler 34
Deployment
35. © 2002 SAP Labs, LLC, JAVA101, Karl Kessler 35
SAP Java IDE
SAP J2EE Engine
Developerâs PC
Local Testing and debugging
LAN
Deployment
SAP J2EE Engine
SAP J2EE Engine
Local Test and Debug
Environment
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
J2EE Toolset: SAP J2EE Engine Integration
36. © 2002 SAP Labs, LLC, JAVA101, Karl Kessler 36
SAP J2EE engine integration
37. © 2002 SAP Labs, LLC, JAVA101, Karl Kessler 37
Q&A
Questions?
38. © 2002 SAP Labs, LLC, JAVA101, Karl Kessler 38
Feedback
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