
181.book Seite 3 Montag, 7. Juli 2008 4:04 16 Alfred Barzewski, Carsten Bönnen, Bertram Ganz, Wolf Hengevoss, Karl Kessler, Markus Küfer, Anne Lanfermann, Miroslav Petrov, Susanne Rothaug, Oliver Stiefbold, Volker Stiehl Java Programming with SAP NetWeaver® Bonn Boston 181.book Seite 5 Montag, 7. Juli 2008 4:04 16 Contents at a Glance 1 SAP NetWeaver ................................................................. 25 2 Overview of the SAP NetWeaver Developer Studio .......... 53 3 SAP NetWeaver Developer Studio — Step-by-Step to a Sample Application .............................. 113 4 Java Persistence ................................................................. 161 5 Web Services and Enterprise Services in the SAP NetWeaver Composition Environment ...................... 211 6 Developing Business Applications with Web Dynpro ....... 245 7 Running Web Dynpro Applications in SAP NetWeaver Portal ...................................................... 331 8 SAP NetWeaver Visual Composer ..................................... 347 9 Developing Composite Applications ................................. 379 10 SAP NetWeaver Development Infrastructure and the Component Model — Concepts ......................................... 453 11 SAP NetWeaver Development Infrastructure — Configuration and Administration ..................................... 535 12 SAP NetWeaver Development Infrastructure — Developing an Example Application Step-by-Step ........... 605 13 SAP NetWeaver Application Server Java — Architecture ....................................................................... 649 14 Supportability of the SAP NetWeaver Composition Environment ....................................................................... 661 181.book Seite 7 Montag, 7. Juli 2008 4:04 16 Contents Preface to the Second Edition ........................................................... 17 Preface to the First Edition ............................................................... 21 1 SAP NetWeaver ............................................................ 25 1.1 Platform for Enterprise Service-Oriented Architecture ..... 26 1.1.1 Enterprise SOA: A Definition .............................. 26 1.1.2 Advantages of a Service-Oriented Architecture ....................................................... 27 1.1.3 Enterprise SOA by Design .................................. 28 1.2 Platform for SAP ERP and SAP Business Suite ................. 29 1.2.1 Enhancement Packages ...................................... 32 1.2.2 Switch and Enhancement Framework ................. 33 1.2.3 Web Dynpro ABAP ............................................ 35 1.3 Platform for Integration and Composition ....................... 35 1.3.1 Integration Within a System ............................... 35 1.3.2 Integration Using Standards ............................... 37 1.3.3 Invoice Verification Integration Scenario ............ 37 1.3.4 SAP NetWeaver Process Integration ................... 39 1.3.5 SAP NetWeaver Composition Environment ........ 42 1.4 Technology Map ............................................................. 45 1.4.1 User Productivity ............................................... 46 1.4.2 Information Management .................................. 48 1.4.3 Lifecycle Management ....................................... 51 1.4.4 Security and Identity Management ..................... 51 1.5 Outlook .......................................................................... 52 2 Overview of the SAP NetWeaver Developer Studio .... 53 2.1 User Interface ................................................................. 54 2.2 Workspace, Projects, and Development Objects ............. 56 2.3 Open Source Initiative .................................................... 59 2.3.1 Eclipse Software Development Kit ...................... 60 2.3.2 Integration of the Web Tools Platform ............... 62 2.3.3 SAP-Specific Extensions (Tools and Infrastructure) .................................................... 63 7 181.book Seite 8 Montag, 7. Juli 2008 4:04 16 Contents 2.3.4 Extensibility by Third-Party Providers ................. 67 2.4 Integration Platform ........................................................ 67 2.4.1 Integrating the SAP NetWeaver Development Infrastructure ..................................................... 68 2.4.2 Integrating the SAP NetWeaver Application Server Java ......................................................... 73 2.5 Tools and Perspectives .................................................... 81 2.5.1 Development Infrastructure Perspective ............. 81 2.5.2 Dictionary Perspective ........................................ 84 2.5.3 J2EE Perspective ................................................. 87 2.5.4 Perspective for Composite Applications .............. 91 2.5.5 Web Dynpro Perspective .................................... 95 2.5.6 Administration Perspective ................................. 98 2.5.7 DTR Perspective ................................................. 100 2.6 Installation and Update — Outlook ................................. 101 2.6.1 Installation and Update Framework .................... 102 2.6.2 Installing and Updating Features ........................ 106 2.6.3 Deinstalling Inactive Feature Versions and Plug-In Versions ................................................. 107 2.6.4 Installation Scenarios .......................................... 108 3 SAP NetWeaver Developer Studio — Step-by-Step to a Sample Application ........................ 113 3.1 Employee Tutorial Application ........................................ 114 3.2 First Steps ....................................................................... 117 3.3 Defining the Data Model ................................................ 119 3.3.1 Creating a Dictionary Project .............................. 119 3.3.2 Defining an Employee Table ............................... 121 3.4 Implementing Access to Table Data ................................ 125 3.4.1 EJB-Creating a Module Project ........................... 126 3.4.2 Defining an Employee Entity .............................. 127 3.4.3 Configuring the Application for Database Accesses ............................................................. 134 3.5 Defining the Business Logic ............................................. 138 3.5.1 Creating a Session Bean ...................................... 138 3.5.2 Implementing the Session Bean Class ................. 140 3.5.3 Adding Business Methods to the Business Interface ............................................................. 146 8 181.book Seite 9 Montag, 7. Juli 2008 4:04 16 Contents 3.6 Creating a JSP-Based Web Application ............................ 147 3.6.1 Creating a Web Module Project ......................... 147 3.6.2 Implementing the User Interface with JSP .......... 148 3.6.3 Descriptions in the Deployment Descriptor web.xml ............................................................. 152 3.7 Defining and Deploying the Java EE Overall Application ..................................................................... 154 3.7.1 Creating the Enterprise Application Project ........ 154 3.7.2 Creating the Data Source Alias ........................... 155 3.7.3 Deployment of the Employee Application .......... 157 3.7.4 Starting the Employee Application ..................... 160 4 Java Persistence ........................................................... 161 4.1 Open JDBC for Java ........................................................ 161 4.2 Persistence Infrastructure of the SAP NetWeaver Composition Environment at Runtime ............................ 162 4.2.1 Vendor JDBC ..................................................... 163 4.2.2 Native JDBC ....................................................... 164 4.2.3 Statement Pooling ............................................. 164 4.2.4 SQL Monitor ...................................................... 165 4.2.5 Table Buffering ................................................... 166 4.2.6 Administration of Data Sources .......................... 166 4.3 Java Dictionary ............................................................... 168 4.4 Development of an Example Application ........................ 170 4.4.1 Project Management Scenario ............................ 171 4.4.2 Implementing the Example Scenario in EJB 3.0 and JPA ............................................. 173 4.5 Programming with Enterprise JavaBeans 3.0/ Java Persistence API ....................................................... 177 4.5.1 Basic Concepts ................................................... 177 4.5.2 Preparing the EJB 3.0 Project ............................. 178 4.5.3 Implementing the Entities .................................. 182 4.5.4 Programming the Application Logic ................... 193 4.5.5 Influence of Open SQL on the JPA Query Language ........................................................... 204 4.5.6 Influence of the Database on the JPA Query Language ........................................................... 207 4.6 Outlook .......................................................................... 210 9 181.book Seite 10 Montag, 7. Juli 2008 4:04 16 Contents 5 Web Services and Enterprise Services in the SAP NetWeaver Composition Environment ................ 211 5.1 Enterprise Services Paradigm ........................................... 213 5.2 Services Registry ............................................................. 214 5.2.1 UDDI Server and Classification Service ..............
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages74 Page
-
File Size-