30
CD213 Using Open Source Frameworks on SAP NetWeaver

Using Open Source in SAP

Embed Size (px)

DESCRIPTION

Open source

Citation preview

  • CD213 Using Open Source

    Frameworks on SAP NetWeaver

  • SAP AG 2007, SAP TechEd 07 / CD213 / 2

    Disclaimer

    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.

  • SAP AG 2007, SAP TechEd 07 / CD213 / 3

    Contributing Speaker

    Goran

    Stoiljkovski Solution Architect, SAP AG

  • SAP AG 2007, SAP TechEd 07 / CD213 / 4

    Learning Objectives

    As a result of this lecture, you will be able to:Understand how to use some best of breed Open Source development frameworks and products with NetWeaver Java EE technology

    Hibernate

    Struts

    Axis

    Ant

    Tomcat

    Joram

    Log4J

    Spring

  • Key Findings

    and Recommendations

    SAP is

    Open

    Open Source

    Based

    Apps

    on NetWeaver

  • SAP AG 2007, SAP TechEd 07 / CD213 / 6

    SAP is Open

  • SAP AG 2007, SAP TechEd 07 / CD213 / 7

    How is SAP Open?

    We invite you to join in and learn about

  • SAP AG 2007, SAP TechEd 07 / CD213 / 8

    What

    Does

    Openness

    Mean

    to SAP

    Openness

    with SAP NetWeaver

    Support of all major Open Source Java

    frameworks

    Support of all major standards (WS-I,

    WS-Management, ..)

    Benefits

    for Developers, Partners

    and

    Customers

    Robustness

    for Enterprise Business

    Applications

  • SAP AG 2007, SAP TechEd 07 / CD213 / 9

    SAPs

    Commitment to Open Source

    SAP Global Open Source OfficeEstablished in 2004Cross-Organizational team to coordinate all Open Source related activities

    Strategic competence hub for our partnersGenerate joint concepts and Go-To-Market strategiesLong-term partnership projects

    The operational focal point for the field and our customersRoll-In/Roll-Out from/to customer through SAPs field organization

  • SAP AG 2007, SAP TechEd 07 / CD213 / 10

    Open Development

    Environment

    SAP NetWeaver Developer Studio embeds the eclipse development framework and extends this framework with hundreds of plug-ins providing developers with productivity tools that accelerate development and increase agility.

    SAP is a board member and major sponsor of the Eclipse foundation

  • SAP AG 2007, SAP TechEd 07 / CD213 / 11

    SAP Leverages Open Source Internally

    SAPs

    internal development and services both leverage Open Source software where appropriate

    SAP hosted solutions run LinuxSAPs internal development uses

    JUnit

    Python

    gcc

    Ant

  • Key Findings

    and Recommendations

    SAP is

    Open

    Open Source

    Based

    Apps

    on NetWeaver

  • SAP AG 2007, SAP TechEd 07 / CD213 / 13

    Typical Open Source Development Scenario

    Development

    Change & Release

    ManagementConnectivity & Backend

    JMS Provider

    Backend Systems

    Web Services

    extensions

    Runtime

    http://struts.apache.org/index.html

  • SAP AG 2007, SAP TechEd 07 / CD213 / 14

    SAP & Open Source Development Scenario

    Web Dynpro

    NetWeaver

    Development Infrastructure JMS

    Provider

    SAP Backend Systems

    Web Services

    extensions

    Development

    Change & Release

    Management RuntimeConnectivity & Backend

    http://struts.apache.org/index.html

  • SAP AG 2007, SAP TechEd 07 / CD213 / 15

    Java EE Open Source Based Applications and SAP

    extensions

    SIMPLE and EASY

    Leave your Open Source BasedApplication as it is

    Deploy the Open Source Libraries

    Runtime

  • An Example

    The

    Employee Management Demo App

  • SAP AG 2007, SAP TechEd 07 / CD213 / 17

    An Example

    Employee Management Demo Application

    JMS receiver stand alone client

    Hosted Web

    Service

    JMS Destinations

    View

    Struts JSPs

    Controller

    Struts Actions

    Model

    Hibernate POJOs

    Employee Department

    Custom Libs

    Hibernate APIJoram APIAXIS APILog4JHelper libsetc.

    2

    1 deploy

    SAP Deployment API

    deploy

    SAP Deployment & ANT API

    App ServerPersistent data

    Deployment Runtime

    AXIS API

    consume

    sendmessage

    consume

    message

    http://struts.apache.org/index.htmlhttp://struts.apache.org/index.html

  • SAP AG 2007, SAP TechEd 07 / CD213 / 18

    Struts Parts of the Demo Application

    View

    Struts JSPs

    Controller

    Struts Actions

    Model

    Hibernate POJOs

    Custom Libs

    App Server

    RuntimeStruts JSPs as View componentsController components

    Struts

    Web Service Beans

    Action Servlets

    and Action Mappings

    Action Form Beans

    Action BeansDeploy struts.jar in the applicationcontext (WEB-INF/lib)No SAP specific configurations needed

    SIMPLE and EASY

    Hibernate APIJoram APIAXIS APILog4JHelper libsetc.

    http://struts.apache.org/index.htmlhttp://struts.apache.org/index.html

  • SAP AG 2007, SAP TechEd 07 / CD213 / 19

    Hibernate Parts of the Demo Application

    Deploy Hibernate package (Hibernate API and helper libraries as shared librariesDeploy your own JDBC driver for thedatabase you are running atDeploy your own Data Source with

    vendor_sql

    SQL Support Layer

    or

    native_sql

    SQL Support Layer

    SIMPLE and EASY

    View

    Struts JSPs

    Controller

    Struts Actions

    Model

    Hibernate POJOs

    Employee Department

    Custom Libs

    App ServerPersistent data

    Hibernate APIJoram APIAXIS APILog4JHelper libsetc.

    Runtime

    http://struts.apache.org/index.htmlhttp://struts.apache.org/index.html

  • SAP AG 2007, SAP TechEd 07 / CD213 / 20

    Axis Parts of the Demo Application

    View

    Struts JSPs

    Controller

    Struts Actions

    Model

    Hibernate POJOs

    Custom Libs

    App Server

    Hosted Web

    Service

    AXIS API

    consume

    Deploy the Web Service on TomcatAxis API calls are in the Struts parts

    SIMPLE and EASY

    Runtime

    Hibernate APIJoram APIAXIS APILog4JHelper libsetc.

    http://struts.apache.org/index.htmlhttp://struts.apache.org/index.html

  • SAP AG 2007, SAP TechEd 07 / CD213 / 21

    View

    Struts JSPs

    Controller

    Struts Actions

    Model

    Hibernate POJOs

    Custom Libs

    App Server

    The JORAM Parts of the Demo Application

    JMS receiver stand alone client

    JMS Destinationssendmessage

    consume

    message

    JORAM API calls are in the Struts partsImplement your Message Receiver

    SIMPLE and EASY

    Hibernate APIJoram APIAXIS APILog4JHelper libsetc.

    Runtime

    http://struts.apache.org/index.htmlhttp://struts.apache.org/index.html

  • SAP AG 2007, SAP TechEd 07 / CD213 / 22

    Deployment of the Demo Application using ANT

    2

    1 deploy

    SAP Deployment API

    deploy

    SAP Deployment & ANT API

    Deployment Runtime

    extensionsUse an SAP Deployment ClientClient invocation in an ANT taskDownload from SDN

    Sample Deployment

    Client Package

    Utility Libraries

    Sample ANT project

    Leverage

    your

    existing build

    and deployment

    infrastructure

  • SAP AG 2007, SAP TechEd 07 / CD213 / 23

  • Key Findings

    and Recommendations

    SAP is

    Open

    Open Source

    Based

    Apps

    on NetWeaver

  • SAP AG 2007, SAP TechEd 07 / CD213 / 25

    Summary

    Key Findings

    and Recommendations

    Deploy STRUTS as part of a Web Module within the application context (WEB-INF/lib)No SAP specific

    configurations needed

    Deploy AXIS API within the application context

    Deploy Hibernate API and required libraries as shared libraries or a separate application

    Configure the DataSource

    SQL support layer according to your application needs (e.g. native_sql)

    Using open _sql

    could collide with Hibernates

    primary key generation

    Deploy Spring libraries as shared libraries whenever possible. Alternatively put them in WEB-INF/lib

    Deploy JORAM API within the application contextUse the SAP Deployment API to deploy on NetWeaver

    check SDN for download of the deployment clients

    = Recommendation

    = Note

    KEY FINDING:

    SAP NetWeaver

    Application Server is an open platform for Open Source

    frameworks

    Visit the Java Knowledge Center on SDNhttps://www.sdn.sap.com/irj/sdn/java

    https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/

    uuid/e081a4b6-0801-0010-7fa4-c3c7a0454815

    http://struts.apache.org/index.htmlhttps://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/e081a4b6-0801-0010-7fa4-c3c7a0454815https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/e081a4b6-0801-0010-7fa4-c3c7a0454815

  • SAP AG 2007, SAP TechEd 07 / CD213 / 26

    SAP NetWeaver, Development Subscription

    The SAP NetWeaver, Development Subscription offers a cost effective total solution for developers to build applications for the SAP NetWeaver platform.

    Subscription gives you one year access to SAP NetWeaver platform software, patches, and updatesDevelopment license for SAP NetWeaver to evaluate, develop and test Standard software maintenanceOnline sessions from SAP TechEdAccess to SAP Enterprise Services Workplace for testingPremium presence in forums

    Purchase the SAP NetWeaver

    Development Subscription today at the TechEd Community Clubhouse, or online at https://www.sdn.sap.com/irj/sdn/subscriptions

    Show us you are a subscriber and get a reward!

    https://www.sdn.sap.com/irj/sdn/subscriptions

  • SAP AG 2007, SAP TechEd 07 / CD213 / 27

    Further Information

    SAP Public WebSAP Developer Network (SDN): www.sdn.sap.comJava Knowledge Center: https://www.sdn.sap.com/irj/sdn/java

    J2EE DevelopmentJ2EE Migration and Third-Party Integration

    http://www.sdn.sap.com/https://www.sdn.sap.com/irj/sdn/java

  • SAP AG 2007, SAP TechEd 07 / CD213 / 28

    THANK YOU FOR YOUR

    ATTENTION !

    Q & A

    QUESTIONS

    SUGGESTIONS

    DISCUSSION

  • SAP AG 2007, SAP TechEd 07 / CD213 / 29

    Please complete your session evaluation.

    Be courteous

    deposit your trash, and do not take the handouts for the following session.

    Feedback

    Thank You !

  • SAP AG 2007, SAP TechEd 07 / CD213 / 30

    SAP Certifications Related to SAP TechEd

    Topics

    Topic Exam Level Certificate Title Solution BasisABAP Professional SAP Certified Development Professional -

    ABAP System Interfaces with SAP

    NetWeaver

    7.0SAP NetWeaver

    7.0

    ABAP Professional SAP Certified Development Professional -

    ABAP System Interfaces with SAP

    NetWeaver

    7.0SAP NetWeaver

    7.0

    ABAP Associate SAP Certified Development Consultant

    ABAP Dev with NetWeaver

    2004 SAP NetWeaver

    2004

    ABAP Associate SAP Certified Development Associate

    ABAP with SAP NetWeaver

    7.0 SAP NetWeaver

    7.0

    ADM Professional SAP Certified Technology Professional

    NetWeaver

    7.0 Platform SAP NetWeaver

    7.0

    ADM Professional SAP Certified Technology Professional

    NetWeaver

    7.0 Security SAP NetWeaver

    7.0

    ADM Associate SAP Certified Technology Associate

    SAP Web AS Platform with Oracle SAP NetWeaver

    2004

    ADM Associate SAP Certified Technology Consultant

    NetWeaver

    7.0 SysAd

    with Oracle SAP NetWeaver

    7.0

    BI Associate Solution Consultant SAP NetWeaver

    04s

    SAP BI SAP NetWeaver

    7.0

    E2E Associate SAP Certified E2E Application Management Expert

    Change Control Mgmt SAP NetWeaver

    7.0

    E2E Associate SAP Certified E2E Application Management Expert

    Root Cause Analysis SAP NetWeaver

    7.0

    Java Professional SAP Certified Development Professional

    JAVA with NetWeaver

    7.0 SAP NetWeaver

    7.0

    Java Associate SAP Certified Development Associate

    JAVA with NetWeaver

    7.0 SAP NetWeaver

    7.0

    MDM Associate SAP Certified Application Associate

    Master Data Management 5.5 (SP04) SAP NetWeaver

    2004

    SM Associate Solution Consultant SAP Solution Manager 4.0

    Implementation Tools SAP NetWeaver

    7.0

    SOA Associate SAP Certified Associate Enterprise Architect Enterprise SOA

    XI Associate Certification Development Consultant SAP NetWeaver

    2004s SAP NetWeaver

    7.0

    For a complete listing of certifications, please go to www.sap.com/services/education/certification

    http://www.sap.com/services/education/certification

    CD213Using Open Source Frameworks on SAP NetWeaverDisclaimerContributing SpeakerLearning ObjectivesSlide Number 5SAP is OpenHow is SAP Open?What Does Openness Mean to SAPSAPs Commitment to Open SourceOpen Development EnvironmentSAP Leverages Open Source InternallySlide Number 12Typical Open Source Development ScenarioSAP & Open Source Development ScenarioJava EE Open Source Based Applications and SAPSlide Number 16An Example Employee Management Demo ApplicationStruts Parts of the Demo ApplicationHibernate Parts of the Demo ApplicationAxis Parts of the Demo ApplicationThe JORAM Parts of the Demo ApplicationDeployment of the Demo Application using ANTSlide Number 23Slide Number 24Summary Key Findings and RecommendationsSAP NetWeaver, Development SubscriptionFurther InformationQ & AFeedbackSAP Certifications Related to SAP TechEd Topics