JSP/JSF and ALBPM Question - Business Process Management Suite

I would like to use JSPs with JSF/backing beans and ALBPM. Since JSF and ALBPM each have their own special FORM tags, how is this typically accomplished?
i.e.: Can JSF be used in ALBPM? If so, how?
Thanks.
Message was edited by:
jabize

Related

Migrating Servlet to Portlet Web Application

Hi,
The client planning to build a Spring based Potlet application in Weblogic Portal 10.2.
Due to knowledge/skill set availability; they are proposing a plan of developing pure Servlet based web application with Spring.
And future they want to migrate in to Portlets.
They asked me to come up with plan for this.
I feel it is going to be more as rework kind of (except service and DAO layer), since both are diff API and diff coding methodology.
Please advice me.
Thanks,
Lakshmi 
Hi Lakshmi,
What your client wants is a Web Application but to run it in a Portal container instead of Weblogic Server container.
What you can do is follow standard J2ee Design patterns of MVC and keep your presentation layer totally decoupled. In this case it will be JSPs for you.
When you guys have to move to portlet simply port these JSPs to Portlets. You dont have to necessarily use Page Flows or simlar portal technologies.
In that case your servlets/Spring classes will have no impact including configuration files.
Thanks
Vishnu 
Vishnu,
Thanks for the response.
I understood completely first 2 points of yours.
As you mentioned i will be developing Spring/Servlet based pure application; using JSPs for presentation layer.
Up to this is fine.
Now; i didnt understand porting JSPs to Portlets. Can you throw little more light on this.
The View of the.jsp file is coupled with Spring URL mapping. And the navigation from one .jsp to another also depends on the spring controllers only.
then how come i change .jsp to portlets?. (Especially they need JSR 168 compliant portlets).
Spring based JSR 168 portlets has diffent handler mapping syntax compare to servlets.
I used to create with java portlets (JSR 168) and intergrate with weblogic portlets/portals.
The java Portlets inturn has the .jsp rendering and navaigations (using spring).
I don't know how to port JSPs to Portlets.
Thanks,
Lakshmi.
Edited by: Lakshmi Narayanan on Sep 30, 2008 9:39 AM 
I don't know if i understand what you don't understand, but you have t create a portlet based on an existing jsp?? if i'm ok you should use WorkSpace studio, create your project add application with your jsp files and then search the wizard of a new portlet, choose jsp portlet, locate your jsp and it is all done It's all in weblogic portal documentation 
Oscar,
Thanks for the update.
I think JSP/Portlet option is not JSR 168 potlet.
Update me if i am not making any sense.
Thanks,
Lakshmi. 
No it's not. But i think it is a very good solution unless you want to add some other functionatllity besides showing a jsp 
Oscar,
I totally agree of creating JSP protlets and it is good solution.
But they ask me to let them know the impact to effort and schedule if we pursue a pure web application deployment in scheduled date using a design that will support a minimum of effort to migrate into JSR168 and the portal infrastructure later.
I need to tell them whether it is feasible with minimum effort or rework except service and DAO layers.
Advice me.
Thanks,
Lakshmi. 
Lakshmi,
Your initial Q was not for a JSR 168 complaint portlet.
Vishnu

portal 8.1 vs portal 7

Hi:
Does anyone know taht is there a component in portal 8.1 similar to what portal.wf component does in portal 7. thanks.
Regards,
Qiang Guo 
WebFlows were not standard. In Portal 8, BEA has moved to a more standards model. The new technologies that replace WebFlows are JPF (java page flows) - based on struts. 
Also - u assemble portals and portlets as XML files, using the Workshop IDE. 
you could say JPFs replaces WF files they do something similiar ....if that is what you were looking for 
Thanks for you all kindly help. however that is not what I am looking for. probably I do not explain very clear about my question. in portal 7.1, the portal.wf like a main controller component which invoke webflow defined in portlets, but also specify the finally exit node is portal.jsp which give developers more flexibility to add some customerize components such as implementing thread management for each web flow (This is not recommanded in bea document, but in some case, we have to do in this way to meet with system performance). so the question I put here is to ask if anybody know in portal 8.1 , is there any similar component like portal.wf in portal 7 ?
Thanks.
Regards,

Struts

Hi All,
I guess struts and pageflow are the same.IT usning the same architecture.IS there
any difference.Pls let me know if there is any.
Thanks
Sougata
Sougata--
Page Flow is a programming model and webapp runtime that is built atop the Struts 1.1 framework.
There are quite a few differences / enhancements that the JPF runtime provides; perhaps this
article will help some:
http://dev2dev.bea.com/products/wlworkshop81/articles/wlw_javaflows.jsp
That being said, you can always use the Struts merge features described in this article to
leverage un-tooled Struts features in JPFs:
http://dev2dev.bea.com/products/wlworkshop81/articles/wlw_javaflows.jsp
And, you can always just write a pure Struts webapp in Workshop.
Hope that helps...
Eddie
Sougata wrote:
Hi All,
I guess struts and pageflow are the same.IT usning the same architecture.IS there
any difference.Pls let me know if there is any.
Thanks
Sougata

New portal implementation guide ??help

hi, I going to implement portal solution but as oracle recommend not to use beehive and try to use JSF portlets & disc & rest API.
So I am selecting JSF portlets & disc & rest API & Event model & NetUI tags as my WLP implementation.
I am not using Beehive pageflow & controls.
Is it correct inorder to follow the WLP road map .
If yes the kindly can you tel me how then i will accesses the personalization information and manage profile which i was using controls to access like ProfileControl, UserLoginControl, UserProviderControl etc .
My background is from JSF J2EE based not portal now working on wlp
Thank you in advance
Edited by: tahirm2000 on 01-Mar-2010 03:19 
Dear tahirm2000,
This is my personal opinion.
It would take Oracle ages to totally eliminate NetUI framework from WebLogic Portal. Infact I am not sure if it is possible.
My opinion is WebLogic Portal's features are built and NetUI gives control on top of it for ease of use. If you dont want to use NetUI Controls, look through documentation on the core feature and the classes (EJBs) which is used underneath by WebLogic Portal. You can use them directly if you need.
For example ProfileControl must be a NetUI control to access the ProfileEJB which is a part of P13N Framework and not NetUI.
Thanks and regards,
Pazhanikanthan. P

ADF, JSF in Weblogic Portal 10.3.2

Hi,
We are designing new portal application on weblogic portal.
Per Oracle recommendations, use ADF, JSF instead of using legacy JPF, NetUI (BEA technologies).
If we use ADF, JSF; My questions are
(1) How do we add ADF taskflows, JSF in to weblogic portal desktop/pages? Do we create portlet out of JSF, and display on desktop/page? If this is the case, what about ADf task flows?
(2) How do we integrate weblogic user profiles and UUP (unified user profiles) with ADF and JSF?
(3) Can anybody shed some light which this better?
(a) weblogic portal with JPF (Java page flows), NetUI --Legacy approach
or (b) weblogic portal with ADF, JSF?
Thanks,
Murthy 
Hi Murthy,
We did a detailed analysis.
(1) How do we add ADF taskflows, JSF in to weblogic portal desktop/pages? Do we create portlet out of JSF, and display on desktop/page? If this is the case, what about ADf task flows?
--> Taskflows can be deployed as WSRP2.0 portlets. Note 2 options are there JSF page as portlet or taskflow itself as portlets.
(2) How do we integrate weblogic user profiles and UUP (unified user profiles) with ADF and JSF?
--> ADF Security can use Weblogic Server realm as the security provider. Entitlements in WLP will have to be provided based on Weblogic Server roles. In case you are using external LDAP then both can be integrated withe external LDAP
(3) Can anybody shed some light which this better?
(a) weblogic portal with JPF (Java page flows), NetUI --Legacy approach
Pros:
-Easy Development
-Well tested integrated
Cons:
-Future support
-Enhancements may not be available
-Not really portable or standards based
(b) weblogic portal with ADF, JSF?
Pros:
-If your on Oracle stack then great
-Standards based
Cons:
-JSF Portlet bridge issues
-ADF Faces does not work on IE6!
Well what we are going for is JSR 286, Trinidad components (Supports IE6), JSF.
Difficult choice.
Venkat 
Thank you, Venkat for detailed response.
In this case of ADF, JSF approach; do we need to use both jDeveloper, and Workshop?
because, for portal specific, use workshop (adding portlets to page, developing uup etc.,) and for ADF, JSF, we should use jdeveloper right?
using ADF, JSF approach; is thre any impact for development, that is, cost, timeline etc?
Thanks,
Murthy
Edited by: murthyp on Jun 30, 2010 5:01 PM 
Hi Murthy,
Yes you are correct. JDeveloper for ADF/JSF & Workshop for Weblogic Portal.
You can use Workshop for ADF/JSF but you will not have support for declarative mode.
Also some eclipse plugins for ADF are available:http://www.oracle.com/technology/products/enterprise-pack-for-eclipse/index.html . But no clue how good it is.
ADF/JSF approach is good when developing. Reduced development effort. But more effort on making it work with portal than if you used JPF. So i think it should cancel out interms of effort & cost.
Its a no win situation!
Venkat 
Thank you, Venkat for your expert advise.
We opened SR with oracle on this, and will keep you posted if we got something new from oracle.
Thanks,
Murthy. 
You had mentioned Oracle recommended using JSF based portlets. Have you done any analysis on the pros and cons of JSF? You also mentioned about opening an SR with Oracle. Did you get any feedback
Cheers
San

Categories

Resources