Web Dynpro for Java.doc





《Web Dynpro for Java.doc》由会员分享,可在线阅读,更多相关《Web Dynpro for Java.doc(37页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、WEB DYNPRO GUIDE41PREFACE42WHAT IS WEB DYNPRO43PREREQUISITES6Installation6Technical prerequisites7NetWeaver und NetWeaver Developer Studio7NetWeaver Developer Studio settings8Useful Tools8SDM8Visual Administrator8Other tools94NETWEAVER DEVELOPER STUDIO9Perspectives, Views and Editors9Web Dynpro Pers
2、pective considering “Exchange Profile10Web Dynpro Explorer11Diagram View11Outline13Editor Window13“Properties Window155PRINCIPLES16MVC16Model16View17Controller176STARTING POINT OF LEARNING17Web Dynpro introduction JA31017Tutorial from SAP intranet18Virtual class room19Help provided by the NWDS19SDN
3、SAP Developer Network20Inside Web Dynpro for Java20Web Dynpro Developers20Links in the SAP Intranet207ARCHITECTURE OF A WD PROJECT AND NAMING CONVENTION21Root node21Web Dynpro Project22Dictionary22Source Folder22Applications22Web Dynpro Components23component usage24Component Interface29View Assembly
4、24Windows25Interface View30ViewSet25View Area 25Views25Inbound Plug 26Outbound Plug 26Navigation Link 26Controller26Custom Controllers28Component Controller as a special custom controller28View Controller29Component Interface Controller30Model30message pool31model usage308PROCESS FLOW31Visual31Decla
5、rative31Programmatic31Deploying329REBUILD, DEPLOY, CREATE NEW ARCHIVE AND RUNS3210API32IWDMessageManager3211CONTEXT32Context mapping 32Data Binding3312LAYOUT34List of elements343413SPECIAL TOPICS34Debugging34Authentification34Accessibility (siehe Script)34Tree34Table3414ABKRZUNGSVERZEICHNIS35LITERAT
6、URNACHWEIS37LITERATURNACHWEIS37Web Dynpro for JavaManuela Berg1 June 2005Web Dynpro Guide1 PrefaceI tried to make it clear between all of these topics listed in the index of contents. This is for affording the entrance into this lecture at any arbitrary point that is required by any person who start
7、s or improves developing web applications with Web Dynpro.Some terms like “components, “elements, “context, “interface and “view may have different meanings according to the context. I try to emphasize whether the term is used for eclipse or Web Dynpro. Additionally I will make the Web Dynpro term i
8、n bold to avoid ambiguity.There are some Screenshots in this text that do not have the originally size you will find on your screen. Screenshots are usually cropped or resized.Paths or sequences of actions are italic.2 What is Web DynproWeb Dynpro is a GUI technology invented by SAP that delivers es
9、pecially graphical tools for developing web-based applications. It is integrated in the NWDI NetWeaver Developer Infrastructure. Because of Web Dynpros amount of advantages for end-users, developers and even administrators, Web Dynpro will become SAPs GUI technology in the future. Now there exist ma
10、ny mission-critical applications which were programmed with this long-term strategy technology that was firstly introduced to customers and partners of SAP at SAP TechEd 2002. WD provides good support for building ERP applications.Formerly used browser-based technologies at SAP are ABAP/ Dynpro, ITS
11、 Internet Transaction Server, BSP Business Server Pages or JSP Java Server Pages. In certain areas they are still used, but because of their disadvantages they will be replaced by Web Dynpro in the future. JSP is strictly bound to the Java/J2EE platform whereas ABAP Dynpro can not separate between b
12、ackend and frontend. The ITS technology is not as flexible as it is demanded by modern UI design. Web Dynpro has all of these advantages.Figure 1 - Web Dynpro is a GUI technology that separates from arbitrary backend.As for the architectural advantages of Web Dynpro, users and developers benefits fr
13、om the platform and browser independence. Web Dynpro is also independent from the database and the client technology (see Figure 1).Concerning the platform, the application can be created with Java or ABAP, as the developer prefers. According to this decoupling of JSP and Java, this is only possible
14、 inside a homogeneous Java world. The platform for .NET is planned, too.As for the client-technology, HTML, XML and WML-enabled devices are able to act as front-end. Furthermore WD can be rendered with HTML, SWING or mobile technologies (see Figure 2). Only those parts of the screen that has been ch
15、anged, will be rendered again. That avoids a full page reloaded and enables a flicker-free web UI. This is in addition to a performance optimized protocol between client and server also good for a significant performance. Better utilization of network bandwidth, minimal refreshes and caches provides
16、 faster response times and therefore there is a better user experience.If the user installs a standard browser which is Internet Explorer (as of Windows 5.5) or Netscape Navigator (from Windows, Mac OS or Linux), the Web Dynpro application Figure 2 - Web Dynpro Applications can be rendered on differ
17、ent device types.would be implemented in HTML and JavaScript is used for making the client-server application interactive. The user can work with Smart Client or Mobile Device, too. In addition the user benefits from the advantages of internet innovations like zero installation, worldwide access, in
18、tegration of arbitrary content via hyperlink, zero-footprint and client-side dynamics.Web Dynpro integrates open non-J2EE standards. A great benefit for SAP is that Web Dynpro can be easily integrated in the Java development infrastructure and the software development logistic of SAP. WD supports mu
19、lti-user development like the R/3 system because WD is built on the top of the SAP Web AS. Beside WD provides a DTR for centralized version control and a Component Build Service for automated builds.One of the biggest advantages of the GUI technology that was invented by SAP is the MVC Model View Co
20、ntroller paradigm approach. That means that Web Dynpro is model-driven. Furthermore this paradigm makes it possible to separate the business logic in the WD model from the layout logic in the WD view. That allows developers to concentrate on the presentation and interaction without knowing anything
21、about the backend with the business data. Moreover the backend is reusable in a certain degrees for other graphical user interfaces, if it is needed for instance for another platform. The developer can use Web Services, ESI Services, Java and ABAP backend as a model.Web Dynpro provides some more adv
22、antages that can not be provided by the above mentioned web-based technologies, except the original ABAP/ Dynpro. The application developer may utilize useful helps and tools to create input checks, input helps, easy to use error handling and support for multiple languages, which is supported by the
23、 Web Dynpro framework. Web Dynpro also offers a dictionary and that enables field validation and Data Dictionary integration (automatic value help, type support, reuse of central, localization-dependent texts, short-texts, table headings and so on).WD was also designed to have a high reusability amo
24、ng the projects. Therefore, you can easily reuse and modify WD components. The developer therewith can create cost-effective, reactive and maintainable applications. Some more features of Web Dynpro are personalization, customization and portability. The declarative approach of WD concerning the lay
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- Web Dynpro for Java

限制150内