[go: up one dir, main page]

0% found this document useful (0 votes)
23 views2 pages

X ComponentReuse EXERCISE

The document discusses component reuse in web development. It describes developing two web components, each with their own application. One component provides shared data through a public part, while the other component consumes this data by referencing the public part. The second component is then deployed and run, displaying views from both its own application and the first shared component.

Uploaded by

raisjeu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views2 pages

X ComponentReuse EXERCISE

The document discusses component reuse in web development. It describes developing two web components, each with their own application. One component provides shared data through a public part, while the other component consumes this data by referencing the public part. The second component is then deployed and run, displaying views from both its own application and the first shared component.

Uploaded by

raisjeu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Component Reuse, Exercise

Chapter: Structuring Web Dynpro Applications


Theme: Development Component Reuse

At the end of this Exercise, you are able to:


• Reuse a Web Dynpro development component.

1 Development Objectives

Explore the reuse concepts of the Development Components by developing,


building, and deploy two Web Dynpro Development Components, each of
which is called by a single Web Dynpro Application.

2 Results

Develop one Web Dynpro Application


that has access to information contained
in multiple Development Components.

Once the Application has been deployed,


the NetWeaver developer studio will
launch the web browser and call the
application. You should see a simple
screen that has two views. The first from
development component one and the
second from the second one.

3 Prerequisites
The SAP NetWeaver Developer Workspace installed, J2EE engine
running and familiarity with both the development component
configuration perspective and the Web Dynpro Perspective.

4 Overview: Developing, Building, Deploying, and Running


1 Launch the NetWeaver Developer Studio and switch to the
Development Configurations Perspective.
2 From within the Local DCs view, Create two New Web Dynpro
Development Components: wddc1, wddc2.
3 Create Web Dynpro applications in each of the development
components. When creating the application make sure to also create a
Web Dynpro Component and a View.
4 From within the Web Dynpro perspective, add a new Public Part to
wddc1 that defines the entity that will be shared. This will be our
supplier development component.
5 Declare the Used Development Component to wddc2. This will be our
consumer development component and will need to reference the
public part of wddc1. wddc2 will now have a dependency relationship
with wddc1.
6 Build Development Component wddc1.
7 Deploy Development Component wddc1.
8 Build Development Component wddc2.
9 Add a Used Web Dynpro Component (wddc1Instance) to the Web
Dypro Component you created inside development component wddc2.
10 Integrate the wddc1Instance in to the view window of wddc2. Go to
the default view and create a ViewSet that contains two cells. Embed
the local view in the bottom cell and the view from the first
development component in the upper cell.
11 Deploy New Archive and Run the Web Dynpro application in wddc2.

You might also like