cancel
Showing results for 
Search instead for 
Did you mean: 

webdynpro complete application

Former Member
0 Kudos

Hi Friends,

Java WebDynpro scenario:-

1.

I want to understand how to integrate different WebDynpro applications as a complete solution?

In a complete client assignment... should I develop only one project (one ear file)and deploy it on server? and then I should access the WebDynpro applications in this one project file?

in J2EE project, we make one ear application and deploy on server, is it same way here also?

2. how to integrate different WebDynpro iView's created in portal ? Should I make one page for one WebDynpro applications? How to arrange it?

3.Hwo to assign different roles for different WebDynpro ivies,created in a portal?

4.where do I need to combine PDK and WebDynpro?

Navin

Accepted Solutions (1)

Accepted Solutions (1)

Murali_Shanmu
Active Contributor
0 Kudos

Hi

1. It goes like this. You are requested to develop couple of independent applications on your portal that may access data from a backend system. So what you should do is, create seperate Webdynpro Applications(Projects). Each application will have their own set of screens.

2.Once this WD Application is ready, from the portal create a <b>WebDynpro based Iview</b> pointing to this application. Whether to make a page having one or more such kind of Iviews depends on your requirement. You can also have one page having 4 WebDynpro Iviews each of these Iviews referring to different applications. But make sure that Iviews Isolation properties are set accordingly.

3.Create a Role from Content Admininstration. Create a workset and assign it to this page. Now create a page and attach it to this Workset. Finally if you want one Iview on a page, attach this Iview to this page. You can similarly create many pages and attach them to this workset.

4.Why do you need to comibe PDK and WebDynpro. Do you have a requirement. Each Iview on a Page can be created in different ways. It may be a BSP Iview, WebDynpro Iview or PDK based Iview or even some Transactional Iview. There may be places where on one page there is already an Iview which was done using PDK and now another requirement has come to develop another Iview in WebDynpro on the same page. Now In this scenario, there may be a necessity for both Iviews to Interact.Please refer to documentation of - Eventing in Webdynpro and PDK in help.sap.com.

Regards,

Murali.

Former Member
0 Kudos

Hi Murali, Thanks for the reply.

so, is it okay to create different projects ,webdynpro applications for different fucntionaltities?

.. in this case how to make sure about global properties like login for entire applications as a whole? does portal take care of it?

2. Is it also one solution that I can create only one project hirarchy..means one ear file and having different applications inside it? Liek one project A. having 5 different webdynpro applications inside it each for one functionality?

How to design a complete solution? should I create different projects hirarchy, having different .ear files deployed on server? or having only one .ear file.. with multiple webdynpro applications inside it?

Former Member
0 Kudos

Naveen,

The global propeties like login for all applications is taken care by Portal by means of SSO. You do it by means of User id , Password or Logon tickets. Also, you create JCo Destinations in the portal for this purpose of SSO.

Second thing is that, in Web Dynpro you work by the concept of Components. You create more than one components and have one application. So, the usual scenario is you have only one Application in a project with one or more number of components.

Check this link on how to integrate Web Dynpro applications to portal.

http://help.sap.com/saphelp_nw04/helpdata/en/74/d5e7418192c717e10000000a155106/frameset.htm

Hope this helps,

Kumar

Former Member
0 Kudos

Hi Kumar,

so is it like having one page for one component created?

then:- how to take care of global properties?

Former Member
0 Kudos

Well,

No, you dont have one page for one component. It is like this (just an analogy ) , for example imagine Web Dynpro application as one Main in a C Program and Components as Functions. You can have as many number of functions as you can. You can use one function in another, similarly with components also, you can reuse a component.

So, ultimately, you will have one page for the complete application. Here page in the sense, you create an iView and place it in a page.

What global properties ? can you explain ?

Kumar

Former Member
0 Kudos

ok,

I am still confused.

as you said one page for one application.

so does it mean that one application is one functionality?

and..suppose I have 10 different funtionality then should I have 10 different applications?

for example:-

suppose its jobsite regrsitration website.

1.login registration as job seeker

2.login registration as employer

3. sarch the resume

4. search job

5.send comments

so, these looks like different pages.

so, for these different funitonalities, do you want me to create 5 projects and 5 applications?

or:- I should create one project structure and 5 components in one project structure in the studio?

here, global data means:- the data which is common for all these 5 funcitonalities..

Former Member
0 Kudos

Not really, You can have all of them in a page. You just add UI Controls add Controller Logic, assign actions for them. You dont need to create 5 components also. You can have only one component and 5 Views and make one view visible at one point of time based on user action of clicking a button or search condition. For gloabal data use global context.

Hope this helps,

Kumar

Former Member
0 Kudos

Hi Kumar,

I have a confusion again.

can I do it for entire project? creating only one component and havng all screens as iviews?

will it be ok?

The project willl have about 25 screens or even more.

and:-

when to and hwo to use Interface Controller,context etc? where to and how to use development components etc?

Naveen

Message was edited by: Nav

Former Member
0 Kudos

Development Components is when you have NWDI setup.

For your Scenario, I really dont recommed to have one component. DCs is a best option. Just read some material on it.

Did you do the Quiz application that I previously posted ? If not do it once. You will understand a lot of concepts. It will take some time but worth doing it. If you are looking for doing a large scale project, first do the basics then you will have idea of the small intricacies involved.

Kumar.

Former Member
0 Kudos

Hi Kumar,

thanks!

I read quiz application,I have to execte it also soon.

I am thinking that do I need to create multiple project hirarchy?

we will soon have NWDI setup for this project, so multiple people will be working on the project.

Murali_Shanmu
Active Contributor
0 Kudos

Hi Navin,

Phew!!! You seem to be more confused. All I can say is ,Before starting to code in WD, better finish off all ur doubts about the architecture. Coz, WD is not not a programming language like C or Java. Its more of a modelling approach.

If I was in ur place, for this Job Search application, I would create only one Project. This project will be used by different people. Ok..

Now I have an Employer coming in, an Job seeker coming in etc..

Basically all the 5 screens that you listed will be Views put inside a window. Now I would create 2 applications each for an employer and Job seeker. I will create two links in my portal (WebDynpro Iviews) each referring to these Applications.

Now when the Job Seeker logs in, his corresponding application will be called. Accordingly the start View for that Application can be called. Note that there may be cases where a View needs to be shown for both applications, with just minor changes. So again each application may use the same view with cosmetic changes(controlled dynamically based on the aplication triggering it).

I believe I made myself clear.

Pls close the Thread.

Murali.

Former Member
0 Kudos

Thanks Murali,

one more question:-

Then how more than one developer can work on this assignment if I dont use DC approach?

Murali_Shanmu
Active Contributor
0 Kudos

Hi

Yes, If it is a huge application, then you have to use JDI setup, where you can do a checkin & checkout for each individual objects like Views.. If you want to know more about it, do a search on JDI. Lot of threads are there on it.

Hope it helps.

Murali,.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Kumar,

I tried quiz application, it does not say any information about multiple component scenario.

Former Member
0 Kudos

No it doesnt have that concept. What I meant was you will really understand the basic concepts of Views and Navigation. Multiple Views, etc.

Anyways, I cant get your scenario exactly.

Why dont you post a new thread so that others might help.

Kumar

Former Member
0 Kudos

Thanks Kumar