Portal Development using JSF & Struts

Can some one explain about the feasibility of developing portals using JSF and Struts? What are the advantages and disadvantages of doing so? Is it a right decision to develop portal servers using these?

Yes I am familiar with all those links. Let me break down scenario and ask specific questions.
Server version: Netweaver 7.0 (2004s) SP18
1. Created External Library DC (i.e. ebuslib)
         - added 3rd party JARS (e.g. hibernate, Spring)
         - created two public parts - one for compilation, one for assembly (deploy)
         - activated activity
2. Create J2EE Server Component - Library DC (i.e. ebuslib2)
          - added "ebuslib" assembly PP as Used DC (build only)
3. Built "ebuslib2"
          - can see jars in the resulting sda file.
          - activated activity
          - confirmed on J2EE engine deployed library containing the jars.
Scenarios
A. EP Project DC
           - needs access to 3rd party jars
           - QUESTION: What do I need to reference? The External Library DC or the J2EE Server Component Library DC?
                         - I read that you should reference the J2EE Server Component BUT the jars are not available in the PP of that DC.
                         - One developer one talked to referenced the compilation PP of the External Library DC (i.e. "ebuslib").
                                 - this seemed to work but then I wondered how the project finds the JAR at runtime?
QUESTION: Does SAP load all the classes that have been deployed via the J2EE Server Component Library DC method and hence those JARs are globally available at runtime hence no need to reference them during development except for compilation? What if > 1 J2EE library contain the same jar or same API but different versions (e.g. Hibernate 2 vs 3).
Thanks for any clarifications. I want to understand the underlying technology and how it works. I have seen alot of information out there but some of it is confusing and conflicting.
Dean Cyril Wood

Similar Messages

  • Should we use JSF?

    I'm new to JSF.
    Can anyone comment how flexible it is to use JSF ? Is it expandable to other Java technologies as well in future or it will tie us down to JSF environment?
    Another thing is what is the tools that most of you use to develop using JSF? Are you using Java Studio Creator? Any issue of using this tool in terms of future expandability?
    Please advise.
    Thank you.

    stew_mic,
    I have a question for you since you use Java Studio Creator 2 (JSC2) before.
    Anything that we drag and drop to the form, JSC2 will actually create the code for the component in the jsp right? This include the positioning of the component.
    My question is:
    1. Is it only JSC2 can be used to update this position (let say we wan to update visually) ? How do you update the layout previously?
    2. I came across some resource on Internet that some JSF JSP page that I see does not contains the positioning information like what JSC2 is generating. They still have html codes and just that certain part of the JSP page contains some JSF scripting. How is this different from the one with JSC2?
    Your advice in this is very very much appreciate. : )
    Thank you.

  • SSL implementation on portal development

    Hi, All
    I have implemented SSL on QA using the standard port 443 and it is working fine.I did the same SSL implementation on portal development using the same port 443 and it doesn't work.When I call up the https url from IE for my portal development it seems like it's not connecting it just stays blank and it is not displaying anything.
    However when I change the port to 50001 it works fine nad everything on the web page is displayed but I want it to work on the standard port 443.Please help on rectifying this or any Ideas on how to solve this.
    Thank you

    You need to change the http provider service on your DEV portal dispatcher to use port 443 instead of 50001.
    Also, make sure there are no other web servers using that portal number on the same host as the DEV portal.
    Cheers
    Message was edited by:
            Michael Nicholls

  • Web Sites Using JSF

    Could you please point to some web sites URL that have been developed using JSF? This would help me to convince my manager that there are some live projects running built on JSF.
    M Ashikuzzaman (Fahim)
    SCJP, SCWCD, IBM WebSphere AppServer & XML Developer

    I've signaled them some days ago, but I re-post
    them:
    http://www.istitutodeglinnocenti.it (there is an
    english section)
    http://www.biblioteca.istitutodeglinnocenti.it (here
    too, only forms are jsf)
    http://www.emozionifotografiche.it (fully jsf, but in
    italian only, sorry)FYI, JSF Central will be starting a series on JSF projects this month, and these sites will be the subject of the first article :-).
    Kito D. Mann
    Author, JSF in Action & Member of JSF 1.2 EG
    http://www.JSFCentral.com - JSF FAQ, news, and info

  • Oracle portal using JSF, JSP, Struts framework

    Hi ,
    Can anyone tell me how to build an oracle portal using JSF,Jsp and Struts Framework.
    Also please provide any manual or documentation for developing oracle portal.
    Thanks in Advance,
    Raghav

    At present, i think the best thing to do is to look at the example provided with the struts-faces integration taglib. I don't know any documentation about it.
    http://cvs.apache.org/builds/jakarta-struts/nightly/struts-faces/

  • Why should i use JSF rather than Struts?

    What makes JSF useful than Struts? In my project I am using like
    <h:commandButton action="#{loginbean.execute}" actionListener="#{loginbean.handleEvent}" ..../>
    In the above commandButton as you can see that i am not exposing the beanName. However i am exposing the beanMethod which are execute and handleEvent. Is there any other way to hide the name of the method because
    From what i understand is Presentation Layer should be shielded from whatever is going on in the backend. So, this doesn't do good right?
    Please suggest.
    How does Component and Renderers help. I am using encodeEnd() method in Renderer to render what the input or the output should look like. Do we need to switch to JSF from Struts just because of this... I don't see how and why components and renderers could help me..

    srikanthradix wrote:
    What makes JSF useful than Struts? In my project I am using like
    <h:commandButton action="#{loginbean.execute}" actionListener="#{loginbean.handleEvent}" ..../>
    In the above commandButton as you can see that i am not exposing the beanName. However i am exposing the beanMethod which are execute and handleEvent. Is there any other way to hide the name of the method because
    From what i understand is Presentation Layer should be shielded from whatever is going on in the backend.You can use "binding" and define everything in Java code if you want. You can rename your method to reflect what you want to see in the front end if you want. You can use JSFTemplating to use handlers which can be mapped to any name you want to see and do not have to match the method name of the java class (although I suspect this is the opposite direction from what you are suggesting you want).
    EL in jsf (i.e. #{bean.login}) is meant to do the mapping in JSF pages rather than externalize this in a separate file and force the page developer to edit multiple files for simple tasks. Although in some cases navigation is broken out into a separate file (i.e. faces-config.xml file using the default NavigationHandler navigation rules), this can also be done inline. It's a different way of doing development and has its pros and cons (easier, but mixes up presentation and controller somewhat). That said... JSF is very flexible, it CAN externalize any of this information, it just requires you to provide a different ViewHandler information that allows you to enter the data the way you like to see it (imo, you won't realize any benefit from the separation, though -- I used to think it was worth doing but have changed my opinion).
    So, this doesn't do good right?Perhaps in theory... but in practice, I don't think it really has a drawback. One caveat, I like how I implemented event handling in JSFTemplating as opposed to action/actionListener attributes which are not configurable and are more opaque than I prefer. My parameterized handlers allow for better code-reuse, but arguably mix up presentation and controller code even more (depending on how they're used).
    Please suggest.
    How does Component and Renderers help. I am using encodeEnd() method in Renderer to render what the input or the output should look like. Do we need to switch to JSF from Struts just because of this... I don't see how and why components and renderers could help me..The idea of a component helps tremendously as someone else can create a component for you and you can benefit from it. There are many great component sets available on the market (for free and for purchase). For example: Woodstock (which has drag/drop support inside NetBeans), RichFaces, IceFaces, Tomahawk, Scales, etc.
    Renderers allow you to cleanly separate the presentation of a component with the data of the component. You can then switch out the presentation to support multiple markups (i.e. client devices). In addition, JSF's rich lifecycle provide logical places for certain types of operations to occur, the renderers participate in this so that they are performing their tasks at a well defined time. And finally, many different components may re-use the same renderer, or a single component may use one of several renderers. The separation of data and display (model and view) makes this very clean.
    JSF is not Struts. If you expect it to be struts, you may be disappointed (or if you expect struts to be JSF, you'll be disappointed). JSF has a lot to offer (as does struts), you have to decide what is important to you and your organization. Some things to consider wrt to JSF: very strong vendor support; many large set of components to choose from; multiple standards-based tools to choose from; very flexible (most parts of the framework are pluggable); active growing development community; component-based model which encapsulates complexity for things like Ajax, pagination, and other things (often complicated in a non-component architecture); good integration with other frameworks.
    I don't know if this makes your decision any easier, but hopefully it helps clarify how you should be viewing JSF & Struts.
    Good luck!
    Ken Paulsen
    https://jsftemplating.dev.java.net

  • Weblogic Portal 10.3.5 using JSF 1.2 portlets with ADF faces

    We are developing Portal site using Weblogic Portal 10.3.5 with JSF portlet 1.2 and ADF faces (ADF Application runtime 11.1.1.5 ). But the JSF portlets not supporting ADF faces. Please let me know how we use ADF faces in JSF portlet 1.2 in Weblogic Portal.

    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

  • Portlets developed in JDev 10.1.2 and using JSF

    Hi,
    Is it possible in JDeveloper 10.1.2 to create a portlet that uses the standard JSF libraries (not using Oracle ADF Faces libraries etc...), which can then be consumed by Oracle Portal 10.1.4, without having to use the JSF-Portlet bridge that is part of the WebCentre Suite ?
    The reason I ask is that I would like to develop portlets in JDeveloper 10.1.2 using JSF but I don't have a WebCentre Suite license. I don't think there is much point in moving to JDeveloper 10.1.3.2 to develop my portlets as I would still be in the same situation, I would ultimately need a WebCentre Suite license in order for them to be consumed by Oracle Portal 10.1.4, or am I missing something ?
    Thanks.

    Is it possible in JDeveloper 10.1.2 to create a portlet that uses the standard JSF libraries (not using Oracle ADF Faces libraries etc...), which can then be consumed by Oracle Portal 10.1.4, without having to use the JSF-Portlet bridge that is part of the WebCentre Suite ?
    The JSF Portlet Bridge is available separately.
    https://jsfportletbridge.dev.java.net/

  • Using JSF and Struts

    I am a bit of a newbie in terms of UI applications on the JEE platform, so I apologize up front if this question seems silly. I was wondering if someone could comment on the approach below. Is this something that's possible or am I barking up the wrong tree?
    We have a vendor application that is written using Struts. We want to add a section of our own pages to this application, but we would rather use a more strategic approach in our pages, so we would like to use JSF for those.
    The original web.xml file in the vendor app uses a dtd of version 2.3 as shown below:
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    When I use JSF, I use a DTD version of 2.5 as shown here:
    <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
    The problem is that when I use version 2.3, the elements needed to support JSF are invalid. When I use 2.5, the elements needed to support struts are invalid.
    Could someone comment in that, if you had this vendor app and you needed to add your own pages, is it not possible to use JSF in this scenario or if you can, what is the best approach to resolving this issue?
    Thank you in advance

    First make sure that your application server supports Servlet API 2.5. Whether the desired Servlet API version is supported or not solely depends on the application server implementation and version used. For example Tomcat 5.5 is a Servlet API 2.4 implementation which only supports the API versions up to with 2.4. If you want to use Servlet API 2.5, then you obviously need a Servlet API 2.5 implementation, for example Tomcat 6.0.
    Consult the website and/or documentation of the application server in question.

  • Using JSF in a Portal

    I've got an application developed in JSF, and would like to include it into the SAS Information Delivery Portal(Which many of you have probably never heard of...) but here is the issue. When running an what is called external portlet we only render fragments of the html and not the entire html page. But now the context is for the portal, so certain assets like images and css are not picked up by the application. Also since JSF only puts a relative action in the form (action="MyApp/MyJSFPage.faces;jsessionid=GsMqF9JRgfr.....) so now the form post doesn't post back to my app.
    Any suggestions? I'm new to portals.
    Summary, need to have assests paths fully qualified along with form actions.

    what is the stack trace of the exception?

  • Using jsf with struts

    hi;
    i am trying to understand the proper architecture when using jsf and struts together.
    i think i understand the differences between the technologies . it seems to me that instead of justifying jsf there should be a focus on how the two technologies actually collaborate.
    specifically, i would like to know or see examples of things like replacing the view portion of struts and plugging in the jsf framework instead or how to i replace the struts actions with jsf commands or maybe they are totally different things.
    where can i get information like this?
    thanks.

    At present, i think the best thing to do is to look at the example provided with the struts-faces integration taglib. I don't know any documentation about it.
    http://cvs.apache.org/builds/jakarta-struts/nightly/struts-faces/

  • Links needed for portal development on oracle10g appserver using Jdevelope

    hi,
    i'm relatively new to portals so wud like to hav sum knowledge of doing basing request & response stuff using jsp's as my UI while developing portlets using Jdeveloper.
    If anyone could come up with tutorials about portal development on Jdeveloper.
    i'm using oracle 10g AS app server(release 10.1.4) with oracle jdeveloper( version 10.1.2.0.0 build 1811).
    wud like inputs on wsrp & jsr-168 compliant portlets

    Hi,
    You could try starting with the Portal Developers Guide - http://download-west.oracle.com/docs/cd/B14099_19/portal.1014/b14135/toc.htm
    You should also find alot of useful info on the Portal Development page on OTN - http://www.oracle.com/technology/products/ias/portal/portlet_development_10g1014.html
    Cheers,
    Mick.

  • How to Develop Static page using JSF/Creator

    Hi,
    I am a newbie trying to understand how one develops static pages in JSF. I fear I am going to require a hybrid development environment; that is, I will need two IDE's. For example, Dreamweaver AND Creator.
    I'd like to just use one as it is more convenient, and the static pages will be configured as necessary as fully integrated pages. But I'm not sure how to use JSF/Creator to develop "plain vanilla" HTML/JSP pages.
    I appreciate any feedback and "education". :-)
    Sam

    I dont use it much, but im pretty sure there is a tabbed pane allowing you to swith between a HTML/JSF code view and a visual view, a little like dreamweaver. I currently hand code my JSF pages in a standard IDE, its not too tricky once you understand the tags, and it gives you flexible control which I like. Maybe this approach will work for you

  • Can I use IIS for flex portal development?

    I want to use IIS for flex portal development. As we can user
    jboss portal server to deploy flex portlets.
    Is it possible ?
    Thanks

    Hello,
    pulling 10-25 million rowsYou will never want to show that many records on a page or html based report, the page weight would be absolutely huge along with your network load (this would be the case in any web enviroment), even google which I will have to assume has many more records than you do only shows 10 records returned at a time.
    Results 1 - 10 of about 3,510,000,000 for htmlApplication Express can handle sql queries against that data, the question you really should be researching is what it takes to create queries that perform well against such a dataset
    http://forums.oracle.com/forums/search.jspa?threadID=&q=query+large+datasets&objID=c18
    Carl

  • Help required regarding webCenter Portal Development

    Hi Sir ,
    I'm a Student doing Software Engineering and Developing Software Project Portal (automation of Institutional(university Final Year Software Projects Process)
    Previously My university was not allowed me to develop Final Year Degree project on PLATFORM.. so I've tryed to develop it using Java Portlet AAI and other methodologies .. but unfortunately I've fielded to develop that Portal
    now my university has allowed me to develop on WebCenter Portal Development Framework... I've little know ADF ... now I only have 12 day to develop and deliver .I'm following
    Yannick Ongena website www.yonaweb.be/using_multiple_navigation_models_template_webcenter_11g_ps3_0
    and following multiple blogs
    BUT THE PROBLEM IS THAT
    these blogs and website are not very much responsive .. I've very less time .. I need urgent reply for my problems that I'm facing throwout development
    I've Installed
    Jdeveloper 1.1.1.1.6.0
    Xe 11g db 11.2.0.2.0
    WebCenter Portal Development Framework
    As I mention I've NOT MORE THAN 12 days, Please respond to My REQUEST .. Also Refer me To a PERSON WHO CAN HELP ME FOR ABOUT 10 days
    and
    share me BLOGS / WEBSITE / REFERENCE MARTIAL .. that will help me
    one of problem is that I think DEV schema is Created when we install RCU , I've Created UCM and PORTAL schema through RCU .. But mistalenly I've Removed the DEV schema as well
    and facing the below problem
    I’ve Created DEV , UCM and PORTAL schema from RCU. and Then try to install UCM ,when schema password screen appear for LOGIN and Create weblogic domain , It tell me INCORRECT PASSWORD, SO , I’ve DROP these 3 schema using RCU , during DROP schema, different errors appeared , and I’ve DELETED the middle ware\rcu_Home folder and Unzip the rcu.rar fresh file to the same directory
    NOW
    when I RUN rcu.bat and selected CREATE SCHEMA then RCU WOULD NOT ALLOW ME TO CREATE SCHEMA FOR PORTAL , DEV , UCM ..and also they appear in combo box to select
    BUT I’ve ALREADY DROP THAT
    I think it only droped not DELETED
    tell me the sqlplus commands fro DELETE schema. and also tell if it is DANGEROUS to delete some schema(example DEV schema) as I’m developing portal via WEB CENTER -Jdeveloper(integrated weblogic) , Xe , RCU, UCM )
    WAITING FOR REPLY
    BEST REGARDS
    ]|_|(¯`·._)a¿])

    @ngsankar @Nasir thanks for Reply
    NO Sir I have to deliver some functionality (basic functionality) on 5 Nov. and then they'll give us 1 more month if our work is satisfactory
    AND I'm not a very Beginner to ADF and WebCenter ..I've Installed the environment and Following Yanic website and parallel implementing my requirement .. It is rapid app dev. I think I cant develop satisfactory app in hours if any I can tell me that HOW TO IMPLEMENT THAT SPECIFIC Requirement AND FEATURE .. its easy I think ..and I will InshaALLAH .. its do or die for me
    Sir in 1 day I can finalize and develop UI ..(JSF pages and this bindings and template )
    for its Content I was Started UCM and then I stuck ,
    I Basically need to provide JSF Pages and portlets for Users (Student groups - Project Supervisors - Project Coordinator )
    I have to create Users and their Pages(Project Coordinator - Project Supervisor and STUDENT Group's)
    1)Project Coordinator is the Head Who Allocated Project Supervisors to the Student Group in response to Messages(sent from the portlet at home page)from the students that desire to make group and want desire supervisor . in response to this message the Supervisor can Reply and ASK FOR MEETING and the the coordinator has the authority to ALLOCATE
    2)Project Coordinator Create PLAN (1 year Plan) in tabular form (for example Project Group Supervisor and Its STUDENT GROUP has to Deliver 20 MILESTONE Deliverable throughout the year(Project group Supervisor can Divide Each MILESTONE into TASK and SUB TASKS...and Student Group has to Upload )
    Supervisor can give the task to student group and student group has to upload /Submit the required Deliverable /(task file ) supervisor within the given period MARK THIS TASK AS AN OK AND GIVE ANOTHER TASK OR ASK FOR METING
    in this way We achieve/provide
    Provide Central Repository for the Whole Software Projects that are Valuable ..
    ALSO DOCUMENT TRACEABILITY is achieved
    Workflow management (Task given and submission and meetings and attendance etc)
    This Functionality plus Basic ADF and WebCenter built in Functionality can also improve Collaboration and Productivity and Performance
    I've very less time AND willing to work.... waiting for Help and suggestions

Maybe you are looking for

  • ATG search 2007 and case in-sensitive search sorting

    Any one please tell me , how can we do the case in-sensitive sorting in ATG search 2007 ? please find below my current sort properties to search engine for the alphabetical sorting of the products/skus : docSortProp="displayName" docSortOrder="ascend

  • How to find the last update on the datafile  ?

    Hi All, Is there any way where I can find out the last update (DML) that was done on the datafile. Thanks in advance, Hussain

  • Edit in iPhoto when in photobook mode when have external editor

    I have not figured out a way to edit in iPhoto when in photobook mode. No matter what, it jumps me to the external editor. Sometimes I just want to crop my photo into a portrait orientation from landscape or vice versa so the photobook treats it that

  • Template SQL for EIS Drill-Through

    I am trying to figure out the command that I need to add to my template SQL in an EIS drill-through report that will exclude all rows that have a 0 value in my data column when the report is executed. Does anyone have an example of how this can be do

  • CIsco ISE NFR

    Hi All i have just got ISE NFR 1.2 and i couldn't find document that show the credentials or even how it is preconfigured , After search i found a threat that tells ISE credential is admin\default1A but didn't work for me and i had to break it but i