Sap java

largeman 676 views 38 slides Jan 19, 2015
Slide 1
Slide 1 of 38
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37
Slide 38
38

About This Presentation

ABAP SAP Java


Slide Content

SAP'sIntegrated
Development
Environment for Java
Karl Kessler, SAP AG

ã2002 SAP Labs, LLC, JAVA101, Karl Kessler2
Agenda
èComparisonABAPWorkbench/
TypicalJava IDE
èEclipse
èTheSAP Framework
èTheJ2EEtoolset

ã2002 SAP Labs, LLC, JAVA101, Karl Kessler3
ComparisonABAPWorkbench /TypicalJava IDE
-+
Environment/Infrastructure
-+
Support for SAP
Technology
+-
Private Test Environment
+-
Offline Development
+-
Support for Standards
+-
Local Editing
-+
Large Scale Application
support
JAVAABAP
ABAP
nServeroriented
nDesign Time and Run
TimeObjects storedin
same database
nSAP System
determines„scope“
JAVA
nOperatesonLocalFile
System
Design Time and Run
Timeseparated
nDevelopment
environment
organizedinlocal
„projects“

ã2002 SAP Labs, LLC, JAVA101, Karl Kessler4
Comparison: ABAP / Java:Some highlights
ABAP
ÌOneframe(SE80)forall Design Time Tools
ÌHighly convenient infrastructure environment seamlessly
integrated into Development Workbench
ÌBuild environment,Deployment, SoftwareLogistics, ...
ÌProven environment for large-scale application development
ÌStrong support forSAPTechnologies
ÌStructured„logical“,not physical,presentationof all SAP Design
TimeObjects
Java
ÌLocal Development Environment
ÌEditing support: SyntaxHighlighting, CodeCompletion, ...
ÌOfflinedevelopment
ÌPrivate testenvironment(partially)
ÌSupportforStandardTechnologies
ÌJ2SE, J2EE, HTML, XML,...

ã2002 SAP Labs, LLC, JAVA101, Karl Kessler5
SAP Java IDE
Goal:Combine the advantages ofboth approaches
ÌProvide one frame foralltoolsandas integrationpointforall
infrastructure components
ÌProvide convenient integrated infrastructure environmentto
support large scale application development
ÌPreserve principleoflocalIDE
ÌLocal editing support
ÌOfflinedevelopment
ÌOptimalsupport for standardandSAPtechnologies
ÌLogically structured presentationof all Design TimeObjects
ÌGraphical editing support

ã2002 SAP Labs, LLC, JAVA101, Karl Kessler6
LocalFile System
Tool IntegrationPlatform
Overall Java Development Infrastructure
Design
Time
Repository
(DTR)
Component
Build
Service
(CBS)
SoftwareLogistics
(SL)
Run
Time
J2EE
Server
Deploy
DDIC Web
Dynpro
Web
Service
DTR/CBS/SL
Integration
GenericModelAbstraction Layer
Graphics
Tool Service
Layer
Java
J2EE

ã2002 SAP Labs, LLC, JAVA101, Karl Kessler7
Tool IntegrationPlatform
Topics of this presentation
Design
Time
Repository
(DTR)
Component
Build
Service
(CBS)
SoftwareLogistics
(SL)
Run
Time
J2EE
Server
DDIC Web
Dynpro
Web
Service
DTR/CBS/SL
Integration
GenericModelAbstraction Layer
Graphics
Deploy
Tool Service
Layer
LocalFile System
Java
J2EE

ã2002 SAP Labs, LLC, JAVA101, Karl Kessler8
Agenda
èComparisonABAPWorkbench/
TypicalJava IDE
èEclipse
èTheSAP Framework
èTheJ2EEtoolset

ã2002 SAP Labs, LLC, JAVA101, Karl Kessler9
Tool IntegrationPlatform
Eclipse
Design
Time
Repository
(DTR)
Component
Build
Service
(CBS)
SoftwareLogistics
(SL)
Run
Time
J2EE
Server
DDIC Web
Dynpro
Web
Service
DTR/CBS/SL
Integration
GenericModelAbstraction Layer
Graphics
Deploy
Tool Service
Layer
LocalFile System
Java
J2EE

ã2002 SAP Labs, LLC, JAVA101, Karl Kessler10
Eclipse
nOpenSource project"donated"byIBM
nEclipse is itself writtenin Java
nEclipse is onlyaframework:Everything isaplugin!
nFormally definedExtensionPointsandPlugin dependencies
nVery small kernel(Platform Runtime):The framework itself is
implemented asasetofplugins
nOwnUIapproach(SWT /JFace)
nWorkbench plugin as generic
framework for any tool
nCompleteJava (J2SE) IDEcomes with
Eclipse
uSet ofplugins
uOpenSource
nEclipse is the basisof IBM‘s IDE WSAD
nMany vendors are providing Eclipse
plugins:Strong Industry drive

ã2002 SAP Labs, LLC, JAVA101, Karl Kessler11
Eclipse:Projects
nMultipleprojects can be
openedatthe sametime
nProject dependencies can be
declared
nWorkspace principle: a
workspace defines the scope
ofaccessible resources
nNoworkspace switch
atruntime

ã2002 SAP Labs, LLC, JAVA101, Karl Kessler12
Eclipse:PerspectivesandViews
nPerspective
uIs composedof allvisual components(views)for one aspectofthe
development
uExamples
lJavaperspective:Package view, Javaeditor,Outline pane forJava
source/class files
lDebug perspective: Javaeditor,thread display,breakpointlist, etc.
nQuick andeasy switch
nPerspectives are personalizable
uAdd/remove views
uCompose new perspectives from existing views
nPerspectives allow focussingon acertain aspectofdevelopment

ã2002 SAP Labs, LLC, JAVA101, Karl Kessler13
Java andDebug Perspective
Java
Perspective
Debug
Perspective

ã2002 SAP Labs, LLC, JAVA101, Karl Kessler14
Eclipse: Java IDE
nRefactoring features
uMove/rename classesand
methods
uRepackage
uExtract methods
uSurround with try/catch
nPrettyPrinting
uConfigurable
nCodecompletion(IntelliSense)
nImportmanagement
uConfigurable
nSearch features
uReferences
uDefinitions
uRead/write access
nJavadoc help as tooltip

ã2002 SAP Labs, LLC, JAVA101, Karl Kessler15
Eclipse: Java IDE
nIncremental Build
nAnt based build support
nSupportfor building
archives
nState-of-the-Art Debugger
uLocalandremote
debugging

ã2002 SAP Labs, LLC, JAVA101, Karl Kessler16
Eclipse:PlugIn Development
nRuntime Workbench
udebug possibility
nPlugIn Development
Environment(PDE)
nLazy initializationof
PlugIns
nEasy deployment
n„Everything isaPlugIn“
uPlugIn dependencies
uPlugIn versioning
nExtension Point technology
uEvery PlugIn extends other
PlugInsatpredefined
ExtensionPoints
uEvery PlugIn can provide
ExtensionPoints

ã2002 SAP Labs, LLC, JAVA101, Karl Kessler17
Eclipse:Presenting the Workspace
nDirect presentationoffilesandfolders structure(Resource
Perspective)
nSpecialabstraction layer forJavaPerspective:
package->class->method/attr.
nNogeneric abstraction layer
Resource
Perspective
Java
Perspective

ã2002 SAP Labs, LLC, JAVA101, Karl Kessler18
Agenda
èComparisonABAPWorkbench/
TypicalJava IDE
èEclipse
èTheSAP Framework
èTheJ2EEtoolset

ã2002 SAP Labs, LLC, JAVA101, Karl Kessler19
Tool IntegrationPlatform
TheSAP Framework
Design
Time
Repository
(DTR)
Component
Build
Service
(CBS)
SoftwareLogistics
(SL)
Run
Time
J2EE
Server
Java
DDIC
J2EE
Web
Dynpro
Web
Service
DTR/CBS/SL
Integration
GenericModelAbstraction Layer
Graphics
Deploy
Tool Service
Layer
LocalFile System

ã2002 SAP Labs, LLC, JAVA101, Karl Kessler20
TheSAP Framework
TechnologicalApproach
nUse Eclipse asJava IDE (J2SE)
nUse Eclipse asTool IntegrationPlatform foralldevelopment related
tools
uSAP Technology (WebDynpro, JavaDictionary, ...)
uStandardTechnologies not supported by Eclipse(J2EE, XML, ...)
uInfrastructure(Repository,Build, SoftwareLogistics, ...)
Drawbacks
nLack ofgenericModelAbstraction Layer
uNogeneric support for presentingDesign TimeObjectsin alogical(not
physical) way
uNobasis for generic graphics enabling
ServiceLayer not sufficient
nSWT /JFaceUIapproach insteadof Swing
uLittledocumentation
uAPIs lesswell-known thanswing

ã2002 SAP Labs, LLC, JAVA101, Karl Kessler21
IDE overview
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 Kessler22
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

ã2002 SAP Labs, LLC, JAVA101, Karl Kessler23
ServiceLayer Example: SAP UIlayer
nConvenience layer on top of SWT / JFace

ã2002 SAP Labs, LLC, JAVA101, Karl Kessler24
nValidation against DTD
nSchema based editing support: XMLInsight
nPretty Printer
nUsed in multiple multi-page editors (J2EE, Component Editor, ...)
ServiceLayer Example: XML Editor

ã2002 SAP Labs, LLC, JAVA101, Karl Kessler25
Agenda
èComparisonABAPWorkbench/
TypicalJava IDE
èEclipse
èTheSAP Framework
èTheJ2EEtoolset

ã2002 SAP Labs, LLC, JAVA101, Karl Kessler26
Tool IntegrationPlatform
J2EE Toolset
Design
Time
Repository
(DTR)
Component
Build
Service
(CBS)
SoftwareLogistics
(SL)
Run
Time
J2EE
Server
Java
DDIC Web
Dynpro
Web
Service
DTR/CBS/SL
Integration
GenericModelAbstraction Layer
Graphics
Deploy
Tool Service
Layer
LocalFile System
J2EE

ã2002 SAP Labs, LLC, JAVA101, Karl Kessler27
J2SE
Tools
J2EE Toolset
nJ2EE 1.3support
nDiagramming
nDirect supportof SAP J2EEEngine6.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 Kessler28
J2EE Toolset: SupportedJ2EE 1.3features
EJB
nEJB 2.0
uSession,Entity,Message Driven
nEJBAssembly(EJBJar)
Web
nServlet
nJSP
nFilter
nListener
nHTML
nWeb Archive (WAR)
Enterprise
nEnterpriseApplication(EAR)
Standard J2EE 1.3
Support
SAP J2EE Engine
Integration

ã2002 SAP Labs, LLC, JAVA101, Karl Kessler29
J2EE Toolset
J2EEViewandPerspective

ã2002 SAP Labs, LLC, JAVA101, Karl Kessler30
J2EE Toolset
Creationwizards for
nProjects: EJB, EJBAssembly, Web, WebAssembly, Enterprise
Application
nObjects: EJB,Servlet, JSP, Filter,Listener, HTML

ã2002 SAP Labs, LLC, JAVA101, Karl Kessler31
J2EE Toolset
Multi-Page Editorsforalldeployment descriptors
nejb-jar.xml, web.xml,application.xml
nFull XMLeditor functionalityinSource View

ã2002 SAP Labs, LLC, JAVA101, Karl Kessler32
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

ã2002 SAP Labs, LLC, JAVA101, Karl Kessler33
SAP Java IDE
SAP J2EE Engine
Developer‘s PC
Deployment
Local testing and debugging
SAP J2EE Engine
SAP J2EE Engine
LAN
Deployment
EARDeployment
nLaunchingof Visual
DeploymentToolfromJ2EE
Perspective
nLocal storageandeditingof
Deployment Configurations
J2EE Toolset: SAP J2EE Engine Integration

ã2002 SAP Labs, LLC, JAVA101, Karl Kessler34
Deployment

ã2002 SAP Labs, LLC, JAVA101, Karl Kessler35
SAP Java IDE
SAP J2EE Engine
Developer‘s PC
Local Testing and debugging
LAN
Deployment
SAP J2EE Engine
SAP J2EE Engine
LocalTest andDebug
Environment
nSpecifyServerSettingsin
„Preferences“page
nStart / StoplocalJ2EEEngine
fromJ2EEView
uNormalor debugmode
nDirect testing or debuggingof
servlets/JSPsonlocal server
J2EE Toolset: SAP J2EE Engine Integration

ã2002 SAP Labs, LLC, JAVA101, Karl Kessler36
SAP J2EEengine integration

ã2002 SAP Labs, LLC, JAVA101, Karl Kessler37
Q&A
Questions?

ã2002 SAP Labs, LLC, JAVA101, Karl Kessler38
Feedback
Pleasecomplete 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
Tags