cancel
Showing results for 
Search instead for 
Did you mean: 

iViews based on J2EE

Former Member
0 Kudos

Hi all,

Being new to the EP platform,I have a few simple queries:

As far as I know,one can develop iViews in two methods:

1)using java(JSP Dynpage packaged as .PAR files) and

2)using webdynpro.

But my question is:

can I develop iViews with a J2EE application which contains JSPs,EJBs,Servlets(packaged as .EAR files in SAP Netweaver Studio)?

If yes,pls tell me how do I do it?

If no,can anybody explain how else can a J2EE application be used in portal platform.

thanx in advance.

regards,

Prasanna.

Accepted Solutions (0)

Answers (1)

Answers (1)

detlev_beutner
Active Contributor
0 Kudos

Hi Prasanna,

this needs some clarifying concerning wordings:

1.) An iView is an "instance" of a portal component. Within the Portal, you have deployed different applications, each app consists of one ore more components (and/or services, but services are faceless).

2.) The "traditional" way to implement such a component is to do it directly via HTMLB, JSPDynPages etc. Deploy this app within the portal and then you can create an iView build directly on this component.

3.) Alternatively, you have components at hand, which import other applications / or web stuff. The most simple for example is an URL-iView. This is an iView using a component which just retrieves the content from some URL given. A more complex example is the ApplicationIntegrator, which does the same plus passing login params etc.

4.) One possibility is to integrate WebDynpro-Applications via a specific WebDynpro iView. The combination of this has the added value that from WebDynpro Applications you are able to use the Portal Services, so you have a far more tight integration.

5.) With all this at hand, the rest should be self declaring: Yes, you can develop "normal" J2EE-Apps, based on "good old JSP/Servlet + EJB" technology and integrate it via URL/AppIntegrator iViews. But you can also use WebDynpro for your frontend and EJB's for your backend with the advantage of tighter integration.

Hope it helps

Detlev

Former Member
0 Kudos

Hi Detlev,

Thanx a ton for the detailed answer.

I would be grateful if u can let me know how to develop a portal component(using JSP and DynPage in .par files) with SAP Netweaver Studio.I know how to do so using PDK5.0 but have not been able figure out how to do it using the studio.

detlev_beutner
Active Contributor
0 Kudos

Hi Prasanna,

most time I'm still on EP6 SP2 with Eclipse + plugins, but from my somehow old NWDS 2.0.4 installation, it should be quite analogous: New Project -- Portal Application -- Create a Portal Application Project. After having created the project, New -- Other... - Portal Application -- Create a new Portal Application Object -- [choose created project] -- eg Portal Component - JSPDynPage -- [choose names etc.]

Just straight forward.

Hope it helps

Detlev

PS: Please consider awarding points for helpful answers by just pressing the yellow star button on these answers and choosing the corresponding amount of points. Thanks in advance!

Former Member
0 Kudos

Thanx Detlev,done(the yellow star!!).

regards,

prasanna

Former Member
0 Kudos

One more question..When I export the par file,it asks the target server name and passwd.If I have to deploy the par file in the local Tomcat,what userid and passwd do I give?

thanx,

Prasanna.

detlev_beutner
Active Contributor
0 Kudos

Hi Prasanna,

local Tomcat??? From your postings so far it seems that you are on EP6 SP3++ - there is no tomcat, even not for development. This has been the case for EP5, but on EP5 again, you don't have WebDynpro (you don't have this up to WAS J2EE Engine 6.20, ie EP6 SP2).

For the case you are in fact working on PDK for EP5, just use userID / pwd you also use to log on manually ad admin on PDK.

Hope it helps

Detlev

Former Member
0 Kudos

Hi Detlev,

Well,here is my setup:

I have SAP Netweaver Developer Studio(SNDS)Installed on my PC.Then I have WAS6.40 installed on another machine(only the WAS6.40 sneak preview,not the EP6).I want to test out the par file developed in my SNDS on the WAS6.40 on the remote machine.

Now when I try to test my par file on the remote WAS6.40 by exporting ,it asks for the user id/passwd of the WAS.How do I know the userid/passwd of the passwd.

I also have local Tomcat installed on my machine.Alternatively I want to test out my par file on this local Tomcat server.Can I do that?If yes,what do I give as userid/passd when I export the par file.?

I hope I have made my problem clear.Pls help me out if u can.

regards,

detlev_beutner
Active Contributor
0 Kudos

Hi Prasanna,

you cannot deploy a PAR ("Portal ARchive") on a WAS 6.40 where no EP in running on. And on tomcat, you cannot install an EP6.

Beneath that, deploying a PAR on an EP6 needs UserID/PWD of a Portal User with corresponding rights.

Hope it helps

Detlev

Former Member
0 Kudos

Right..Got it,Detlev.

thanx a ton,

prasanna

Former Member
0 Kudos

Hi Prasanna,

I am new to EP and started on my EP project recently. I have very similar set of questions as you asked in this Forum, and the answers given by Detlev for your questions gave me a sneak insight on how i should proceed further.

As part of my Project, i have to develop a BSPapplication to be ported to EP. You have any idea on how should i approach? Thanks.

Praveen.

Former Member
0 Kudos

Hi Praveen,

Welcome to the world of EP!!.

Well,I am not sure what exactly do u mean by 'porting' a BSP application to Portal but when one tries to create a iView in the Portal,the subsequent dialog box gives an option to create an iView from BSP application and u can follow the subsequent dialog boxes to develop an iView out of the BSP application.

Of course,I assume that u know how to develop a BSP application.

Hope it helps,

prasanna.