Docstoc

Creating Web Applications for SAP BW and SAP Enterprise Portal with the SAP Java IDE

Document Sample
Creating Web Applications for SAP BW and SAP Enterprise Portal with the SAP Java IDE Powered By Docstoc
					Creating Web Applications
for SAP BW and SAP
Enterprise Portal with the
SAP Java IDE
(A Sneak Peek!)




Sam Tingleff
Technology Product Management

SAP Labs
              Agenda


                        SAP Java IDE Overview

                         Web Dynpro and the J2EE Toolset
               
                         Java Dictionary
                        The Portal Development Kit

                        Conclusion




 SAP AG 2003, slide 2
              Agenda


                        SAP Java IDE Overview

                         Web Dynpro and the J2EE Toolset
               
                         Java Dictionary
                        The Portal Development Kit

                        Conclusion




 SAP AG 2003, slide 3
              What Is the SAP Java IDE?

              New tool from SAP for developing enterprise applications
                          Fulldesktop application – does not use SAPGUI
                          The Java development tool for SAP


              Released with SAP Web Application Server 6.30

              Will be used for
                          Web  application development on Web AS 6.30
                          Portal component development
                          Other   Java development




 SAP AG 2003, slide 4
              ABAP Workbench vs. SAP Java IDE

  ABAP                                                     ABAP   JAVA
   Server-oriented

   Design and runtime
                              Environment/Infrastructure    +     -
    objects stored in same
                              Large Scale Application
    database

   SAP System determines
                              Support                       +     -
    “scope”                   Local Editing                 -     +
  Java
   Operates on Local File
                              Support for Standards         -     +
    System

   Design and runtime
    objects separated
                              Support for SAP Technology    +     -
   Development environment
    organized in local
                              Offline Development           -     +
    “projects”
                              Private Test Environment
                                                            -     +
 SAP AG 2003, slide 5
              ABAP vs. Java: Some Highlights

              ABAP
                             One frame (SE80) for all design-time tools
                             Logistics seamlessly integrated into the Development
                              Workbench
                                Build environment, Deployment, Software Logistics, etc.
                             Supports     SAP technologies
                                Structured “logical,” not physical, presentation of all SAP design-
                                 time objects

              Java
                          Local Development Environment
                             Editing   support: Syntax Highlighting, Code Completion, etc.
                             Offline   development
                             Private   test environment (partially)
                          Support for Standard Technologies
                             J2SE,   J2EE, HTML, XML, etc.



 SAP AG 2003, slide 6
              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 for
               large-scale application development
              Preserve the principle of local IDE
              Provide local editing support
              Enable offline development
              Support standard and SAP technologies
              Logically structure the presentation of design-time objects
              Enable graphical editing




 SAP AG 2003, slide 7
              Overall Java Development Infrastructure


           Tool Integration Platform                       Software Logistics
                                                                 (SL)


                                                          Component
                                                             Build
                                  Web                      Service                        Run
          Java           J2EE                                                   Deploy
                                                                                          Time
                                           DTR/CBS/SL
                                 Service    Integration
                                                            (CBS)
                DDIC        Web                                                          J2EE
                           Dynpro
                                                                                         Server
                          Tool Service
        Graphics
                             Layer

        Generic Model Abstraction Layer                   Design-time
                                                           Repository
                                                            (DTR)
                   Local File System


 SAP AG 2003, slide 8
              IBM’s Eclipse Is the Foundation

              Open Source project "donated" by IBM
                          Written   in Java
              Eclipse is only a framework
                          Very   small kernel (Platform Runtime)
                          Everything   is a plug-in!
                          Own    UI approach (SWT/JFace)
              Eclipse comes with a full Java (J2SE) IDE comes with Eclipse




 SAP AG 2003, slide 9
              IDE Overview: Java and Debug Perspective

                                              Java
                                           Perspective
                                                           Debug
                                                         Perspective




 SAP AG 2003, slide 10
              IDE Overview: IDE Features

                                            Refactoring features
                                               Move/rename     classes and
                                                methods
                                               Repackage

                                               Extract   methods
                                               Surround   with try/catch
                                            Pretty printing
                                               Configurable

                                            Code completion
                                             (IntelliSense)
                                            Import management
                                               Configurable

                                            Search features
                                               References

                                               Definitions
                                               Read/write    access
                                            Javadoc help as tooltip

 SAP AG 2003, slide 11
              SAP Java IDE: Benefits & Considerations

              Java will not replace ABAP!

              Our goal is to provide maximum flexibility to customers
                           Currently   3-4 million registered Java developers
                           Often   taught as a first language in schools



              When should you use Java?
                           ABAP    still recommended for core business logic
                           Javaexcels at user interfaces, integration, etc.
                           Depends on the project and your development team




 SAP AG 2003, slide 12
              SAP Java IDE: Prerequisites & Availability

              Prerequisites
                           SAP Web Application Server 6.30
                           Sun JDK 1.3.1/1.4
                           Java knowledge and experience




              Will be available via the service marketplace




 SAP AG 2003, slide 13
              Agenda


                         SAP Java IDE Overview

                          Web Dynpro and the J2EE Toolset
               
                          Java Dictionary
                         The Portal Development Kit

                         Conclusion




 SAP AG 2003, slide 14
              What is Web Dynpro?

              One component of the SAP Java IDE
                           Graphical design tool for building Web-based business
                            applications
                           Conversion tool to Web-enable ABAP/Dynpro programs


              Key features
                           Complete  toolset based on the Eclipse IDE
                           Graphical design of view composition and navigation flow
                           WYSIWYG view designer
                           Standard   Java editor for implementing event handlers
                           Efficient development cycle (edit – build – deploy – run)




 SAP AG 2003, slide 15
              What is Web Dynpro?               (cont’d)



       Web Dynpro User interfaces are
                Professional looking
                Easy-to-use
                Highly interactive

       Web Dynpro IDE
                Model and develop presentation logic
                                                            Web Dynpro
                Design and compose user interfaces
                Backed by usability patterns                         Tag libraries
                Based on business datatype information                   BSP, JSP*

       Runtime services
                                                           Presentation
                Open standards, runtime infrastructure    Layer
                 Java and ABAP (JSP and BSP*)
                                                           Business Layer
                Tag libraries
                Device independence                                 J2EE/ABAP
                Internationalization
                Easy to deploy and maintain
                                                           SAP Web Application Server
           * ASP planned
 SAP AG 2003, slide 16
              Web Dynpro Benefits

    Improves User Experience
                                             Web Dynpro          Web Dynpro
            Browser-based front end
                                               Tools              Metadata
            Flicker-free screen, minimal
             refreshes
            Minimal response times
                                                  Web Dynpro Runtime
            Built-in personalization
            508 accessibility compliance      .NET       J2EE      ABAP

    Strategic development
            Web Dynpro components can be
             reused
            Supports Web Services & Data-
             binding
            Separate Layout & Programming
             Logic

    Independence
            From platform
            From UI technology                   Multi-Device Internet

 SAP AG 2003, slide 17
              What is the J2EE Toolset?

       Contains creation wizards for
                           Projects:   EJB, EJB Assembly, Web, Web Assembly, Enterprise
                           Apps
                           Objects:   EJB, Servlet, JSP, Filter, Listener, HTML




 SAP AG 2003, slide 18
            What is the J2EE Toolset?                (cont’d)



          LAN                                       Includes a Local Test &
                                                     Debug Environment
                          SAP J2EE Engine              Specify server settings in the
                                                        “Preferences" page
                                                       Start/stop the local J2EE
                                                        Engine from the J2EE View
                                 SAP J2EE Engine          Normal or debug mode
                                                       Directly test or debug servlets /
                          Deployment                    JSPs on your local server
                          Developer’s PC


                              SAP Java IDE

           Local Testing and Debugging


                              SAP J2EE Engine


 SAP AG 2003, slide 19
              Demo: J2EE Toolset




                            Demo




 SAP AG 2003, slide 20
              Agenda


                         SAP Java IDE Overview

                          Web Dynpro and J2EE Tools
               
                          Java Dictionary
                         The Portal Development Kit

                         Conclusion




 SAP AG 2003, slide 21
              What is the Java Dictionary?

              Similar to the ABAP data dictionary

              Will be part of Web AS 6.30

              Will contain a datatype repository

              Independent of application code

              Content can be used in various places
                       Database persistence
                       Fields of a Web Dynpro form




 SAP AG 2003, slide 22
              Simple Type Example

                                                   <simpleType name='Airline'>
                             SimpleType
                    Core datatype information      <restriction base='string'>
                                                     <maxLength value='3'/>
                            Restriction base         <enumeration value='LH '/>
                                                     <enumeration value='UA '/>
                          Restriction base           <enumeration value='AA '/>
                          Restriction base
                            Constraints
                                                   </restriction>

                                                    <annotation>
                          UI-related information     <fieldlabel value='Airline'/>
                                                     <col_label value='Airline'/>
                                                    </annotation>
                 Database-related information
                                                    <annotation>
                                                     <notNull value='true'/>
                                                    </annotation>
             Web Service-related information
                                                   </simpleType>



 SAP AG 2003, slide 23
              Java Dictionary – Benefits

              Datatypes can be used in all layers of application development

              Enhanced application portability
                       Development platform (Web Dynpro for ABAP, Java, .Net)
                       Database platform

              Centralized source definition and maintenance
                       Reuse
                       Central points for extension/modification
                       Services are attached centrally

              Seamless integration into the Java IDE
                       Java IDE based on Eclipse
                       Local, component-based development process

              Fits well into declarative frameworks like Web Dynpro



 SAP AG 2003, slide 24
              Database Layer – SAP’s Goals

              Support several RDBMSs
                       Platform-independent access to data
                       Platform-independent definition of database objects

              Performance
                       Caching of data
                       Caching of statements
                       SQL trace

              Fit into local development process
                       Definition and deployment of database objects
                       Checked usage of database objects

              Support relational persistence + object relational persistence




 SAP AG 2003, slide 25
              Database Layer – Open SQL for Java

                                                                       Java program
                                                     Relational Persistence                     Object Relational Persistence


                                                                                                EJB CMP
                                                                                                                 JDO
                                                                                  Open SQL/
                                                                                    SQLJ




                                                                                                                                portable SQL
                                                                 Open SQL/
                                                                   JDBC

                                                   Open SQL/
                          unchecked SQL




                                                   Native SQL            Open SQL Engine                     Table buffer

                                                                              SQL Processor                  Table catalog


                                                                              DB access layer              Statement cache

                                                                                                              SQL trace

                                          Vendor                   Open SQL for Java
                                           JDBC


                                     RDBMS

 SAP AG 2003, slide 26
              Database Layer – Defining DB tables




 SAP AG 2003, slide 27
              Database Layer – Defining DB tables   (cont’d)




 SAP AG 2003, slide 28
              Database Layer – Defining DB tables   (cont’d)




 SAP AG 2003, slide 29
              Database Layer – SQLJ (Embedded SQL)

                                Test.sqlj                                SFlight.dbtable
        String from, to, conn_id;                               FieldName IsKey    Type    Length
        String carr_id;
                                                                 CARRID     True Airline     3
        #sql { SELECT CITYFROM, CITYTO
                                                                 CONNID     True String      4
                 FROM SFLIGHT
                 INTO :from, :to                                 FLDATE     True   Date
                 WHERE CARRID = :carr_id                          ...
                   AND CONNID = :conn_id };
        System.out.println (from + ", " + to);


                            SQLJ Translator                         SAP SQLJ Checker

              SAP-specific SQLJ checker
                      Uses database object metadata instead of the database catalog

              IDE integration
                      Displays translation errors (-> SQL syntax errors)
                      Navigates to the position of errors in the code

 SAP AG 2003, slide 30
              Agenda


                         SAP Java IDE Overview

                          Web Dynpro and J2EE Tools
               
                          Java Dictionary
                         The Portal Development Kit

                         Conclusion




 SAP AG 2003, slide 31
              What Is the Portal Development Kit?

                                                        Offline development &
                                                         runtime environment for
                                                         customer-specific iViews in
                                                         Java
                                                        Java API for Enterprise
                                                         Portal
                                                        HTML Business for Java


      upload iViews to PDK

     Supports full iView
      development cycle
               Code & test
               Deploy



                              test iViews in the PDK

 SAP AG 2003, slide 32
              Java IDE Apps Can Be Deployed via SAP Enterprise
              Portal
                                           Server          Client




                                            IRJ WebApp
                                                    Test


                                   PAR File
                                Developed with IDE                  local computer


                                               Deploy


                                Enterprise Portal



 SAP AG 2003, slide 33
              Demo: Building Portal Apps with the SAP Java IDE




                                                Demo


                                   See
                          iviewstudio.com for
                             specific how-to
                              instructions




 SAP AG 2003, slide 34
              Agenda


                         SAP Java IDE Overview

                          Web Dynpro and J2EE Tools
               
                          Java Dictionary
                         The Portal Development Kit

                         Conclusion




 SAP AG 2003, slide 35
              For More Information

       SAP resources
                 Portal Development Kit - http://www.iviewstudio.com/
                 SAP NetWeaver - http://www.sap.com/solutions/netweaver/
                 SAP NetWeaver Software – http://service.sap.com/netweaver

       Java & J2EE
                 http://java.sun.com/docs/overviews/java/java-overview-1.html
                 http://java.sun.com/j2ee/tutorial/

       Other Java development resources
                 Flashline (http://www.flashline.com/)
                 Java Developer's Journal (http://www2.sys-con.com/java/)
                 the serverside.com (http://theserverside.com/home/index.jsp)
                 JavaWorld (http://www.javaworld.com/)
                 O’REILLY (http://www.oreilly.com/)




 SAP AG 2003, slide 36
              For More Information              (cont’d)




              With Web AS 6.30 SAP will offer a full-featured Java IDE
                       Based on the open source Eclipse platform
                       Used for all NetWeaver Java development (Web AS, EP, etc.)
                       Will include tools for Dynpro screen conversion and generation

              Web AS 6.30 will include a Java Dictionary
                       Similar to the ABAP Dictionary
                       Will provide a data type concept

              The Portal Development Kit can be used to develop IDEs
                       Can also be used to deploy Java IDE apps via Enterprise Portals




 SAP AG 2003, slide 37
              Questions?




                           Q&A


 SAP AG 2003, slide 38

				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:1
posted:1/15/2013
language:English
pages:38
About