Masters Project:  Comparing Struts and JSF

I'm doing a research paper for my MSCS degree at Rensselaer at Hartford, comparing the efficiency/effectiveness of using Struts alone, vs. adding JSF. I'm learning both as I go, but with a decent base in J2EE web apps.
Would you consider sharing your experience and opinions, in a response to my questionnaire? It's in development, and I expect it will ask 5 questions on your background, and 10 -15 question on your experiences with the Struts/JSF comparison.
The questionnaire should be available later today. Results need to be compiled in 7-10 days.
Can you help? If so, I'll send you the questionnaire, either as a forum reply or direct email - your choice.

Thank you, Sergei -- that is a helpful reference.
In addition, though, I am obliged to analyze questionnaire responses as part of my research paper. Would you like to participate?

Similar Messages

  • Struts and JSF Integration in OPDk-java based portlet

    Hi,
    thanks in advance for your help.
    I'm developing a PDK java based portlet. For some reasons I cannot use the JSF bridge but I would like to integrate Struts and Jsf in my portlet, using Struts to manage actions and navigation and JSF (with ADF Faces components) for the view. I'm using the Strus-Faces library.
    When I try to submit my portlet form, I receive the error "request URL not found on this server". I'm posting some exstracts of my code.
    It's made of three pages: the main one "Integration1ShowPage", "error" and "result". The MainAction.java displays my mainPage, where there's a form. To keep it easy, when the user submits this form, the ActionName returns "success" and the "result" page should be displayed.
    The MainAction works properly: the portlet is displayed but when I tried to submit the form I receive
    The requested URL /provaDeploy/htdocs/integration1/integration1ShowPage.do was not found on this server.Could you please suggest me something?
    Many many thanks,
    B.
    <struts-config>
    <action-mappings>
      <action path = "/mainAction" type = "strutsjsfintegration1.MainAction">
        <forward name = "success" path = "/faces/htdocs/integration1/integration1ShowPage.faces"/>
      </action>
      <action path = "/nameAction" name = "nameForm"
      input = "/faces/htdocs/integration1/integration1ShowPage.faces" scope = "request"
      type = "strutsjsfintegration1.NameAction">
        <forward name = "success" path = "/faces/htdocs/integration1/result.faces"/>
        <forward name = "failure" path = "/faces/htdocs/integration1/error.faces"/>
        <forward name = "again" path = "faces/htdocs/integration1/integration1ShowPage.faces"/>
      </action>
    </action-mappings>
    <controller>
      <set-property property = "processorClass"
       value="org.apache.struts.faces.application.FacesRequestProcessor"/>
       </controller>
    <message-resources parameter="definitiveStrutsPortlet.ApplicationResources"/>
    </struts-config>

    Hi,
    have a look at this whitepaper for how to use JavaScript in ADF.
    http://www.oracle.com/technetwork/developer-tools/jdev/1-2011-javascript-302460.pdf
    This link here (http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html --> see sample 71) shows an integration sample between a Java Applet and ADF. Its a similar use case to yours
    Frank

  • Can Struts and JSF coexist?

    I have a Struts based application and now I want to build an additional module on top of that using pure JSF. My question is, can Struts and JSF co-exist in the same application? If yes, what are the cons of that approach? What are the places I need to tweak in the configuration files so that they work together?
    thanks,

    Hi,
    Yes they can coexist. Actually that's the approach recommended by Craig McClanahan. I have developed a full enterprise application (80% completed) which uses JSF in front and Struts in the back using Struts-Faces integration library (developed by Apache).
    So far I haven't faced any major issues with this approach. However, I haven't try using Struts validator on JSF objects.
    Read the article below on how to integrate JSF w/ Struts.
    http://www.oracle.com/technology/pub/articles/masterj2ee/j2ee_wk8.html

  • Struts and JSF

    I have an Action from Struts. This controls the data in the code behind bean.
    After I call submit, how do I go Back to the Struts actions? the JSF navagation does not allow navigating to a servlet.

    Hey Shay,
    We have quite a large application based entirely on Struts. There is a keen interest in migrating to JSF, but in an incremental fashion. I did a fair amount of googling and almost everything i came up with , was purely theory oriented, are there any resources online , which clearly give examples/tutorials for doing a step by step migration to JSF from Struts. Couple of other questions that i dont seem to find an answer to with regards to the Integration of struts and JSF
    1) I understand BC4J, struts and JSF can be integrated together, does the same hold for ADF ? there was a similar forum post back in 2005 , where they said this is yet to be done, do we have this integration with Jdev 10.1.3 ?
    2) If i were to use only the jsf UI component tags as a first step in my struts application , what is the equivalent for the page definition file of JSF in struts, as in how would i achieve the binding ?

  • Urgently!! Deploy project using Struts and Toplink

    Hello. I want to make a deploy of a project in wich I'm using Struts and Toplink technologies.
    I'm using JDeveloper 10g for Windows and my production server is a SUN V880 with Soloaris 8 and I make it ok, but when I run it since a PC in the intranet the following errors appears (obviously those don't appear before):
    java.lang.NullPointerException     at org.apache.struts.taglib.html.JavascriptValidatorTag.doStartTag(JavascriptValidatorTag.java:309)     at jsp.login._jspService(_login.java:50)     [SRC:/jsp/login.jsp:5]     at com.orionserver[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)     at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:567)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)     at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)     at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)     at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)     at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)     at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)     at java.lang.Thread.run(Thread.java:536)
    Thank you so much for help.

    NOO!! :( I don't install any libraries in the server, but in the WAR file of the application, in the lib folder, there was the jars corresponding. I thought that those libraries, in the WAR file, was "local" to the project, anyway, the Struts and Toplink libraries must be global at server level, 'cause I will use it sure once agian, and now I'm trying to install those in the server...
    Thank you so much!!

  • Difference between struts and jsf

    hi
    which one you have to prefer and why?
    Please helpon this
    Thanks,
    Vijay

    Hai Vijay.
    Struts is liek dosa and JSF is liek alooparantha.
    okey?Now I'm not making fun of our brown friends here, but
    can someone recast that explanation, using only items
    that can be purchased at a Kentucky Fried Chicken, so
    that I can understand it better?Brown friends? I prefer to think of myself as "melanin-enhanced" and others as "melanin-challenged." Nonetheless, Struts can be thought of a Kentucky Fried Chicken whereas JSF is one pound of fresh, boneless chicken and a bottle of barbeque sauce.
    How's that? ;-)

  • Comparing JSP and JSF, which 1 better?

    Currently i need to run a new project. Now i need to choosing 1 of the language to coding my project. Which 1 is better to use?
    In this project i have to include the web page that using JSP scriptlet to code because this project is create a dynamic menu to link up all web application. Is the JSF can link to JSP and JSP can link back to JSF?

    Welcome to SCN.
    Please read forum rules (you'll see that you must search the forum first (your question is already answered))

  • Which is better Struts or JSF?

    I've been investigating the use of JSF for use in upcoming projects. Up until now I've been using struts as it's a very straight forward approach to implement.
    Looking at JSF however it apperars that the process is somewhat slightly different such that you can't run certain JSP's related to a faces-config outside the faces context.
    Anyone know of some article comparing Struts vs JSF?
    Anthony

    Loks like i found what I was after:
    [url http://www.jsfcentral.com]JSF Central
    Anthony

  • Moving from Struts to JSF

    Hello,
    We have a struts based application running on OAS and are trying convert our projects to JSF. Using Jdeveloper 10.1.3.1, I have created a JSF JSP and
    would like to call that from a struts based Data Action.
    How do I go about doing this? Do I need to integrate the "Struts-Faces Integration Library". (http://www.oracle.com/technology/pub/articles/masterj2ee/j2ee_wk8.html)
    Thanks!

    Hi,
    since there is no native integration between Struts and JSF, the integration library is needed. Note that the two are so different by design and functionality that I am not sure if this integration could be a recommended approach
    Frank

  • Struts-faces & JSF commandLink bug in RI 1.1

    Hello,
    There was a bug with JSF, multiple forms and commandLink as discussed in thread: http://forum.java.sun.com/thread.jsp?thread=526788&forum=427.
    This bug is now fixed for JSF h:form form type.
    I personnally use Struts and JSF with the struts-faces JAR and this issue is still not fixed when you create a form using the s:form tag, in fact as long as there is a s:form on the page the commandLinks do not work the same way as first reported for pure JSF apps.
    Will this be fixed anytime soon in the struts-faces library? I hope so because I do need it.
    Thanks
    Xav

    hi,
    i guess [email protected]
    or
    http://issues.apache.org/bugzilla/enter_bug.cgi?product=Struts
    might be a better place for that.
    regards.

  • Petstore and JSF

    I look into petstore and JSF recently, and have two questions about those.
    1. What application framework does the petstore application use, Sun's own framework or similiar to Struts, or something else?
    2. JSF has been a part of the J2EE and become a standard, will the petstore implementation reflect the development soon?
    Can someone give me some ideas please?
    Thank you in advance.

    I look into petstore and JSF recently, and have two
    questions about those.
    1. What application framework does the petstore
    application use, Sun's own framework or similiar to
    Struts, or something else?Something else, and again, it's just an example! ;-)
    2. JSF has been a part of the J2EE and become a
    standard, will the petstore implementation reflect the
    development soon?JSF is not yet part of J2EE. It may be part of J2EE 5.0 (the one after 1.4). Note that JSF is part of the J2EE 1.4 SDK (Sun Java System App Server 8) though.
    Note also that one of the great differences between Struts and JSF is that the later was build to be tools-friendly from day one. So if you use Java Studio Creator (http://www.sun.com/jscreator) for instance (it relies heavily on JSF), you don't need to know the goory details of the MVC implementation in JSF.
    -Alexis
    >
    Can someone give me some ideas please?
    Thank you in advance.

  • For a new web application project - Struts OR JSF ?

    Hi ,
    We are starting a new web application project and want to decide whetehr to us Struts or JSF ?
    Currently, mots of the other development teams are using Struts .
    We need to know pros and cons of each to decide one way or the other.
    Any help is appreciated .
    Thanks

    Those are the articles and presentation about this topic:
    http://homepage1.nifty.com/algafield/barcia.html
    http://www.jroller.com/comments/dgeary/Weblog/top_ten_reasons_to_prefer
    http://websphere.sys-con.com/read/46516.htm
    http://www.pjug.org/JavaServerFaces.pdf
    Sergey : http://jsfTutorials.net

  • I would like to use GarageBand to remaster downloaded music files that are in iTunes.  Poorly mastered files keep clipping and damaging my speakers.  When I try to use an iTunes file as a new project, it greys out the iTunes songs so I can't select them.

    I would like to use GarageBand to remaster downloaded music files that are in iTunes.  Poorly mastered files keep clipping and damaging my speakers.  When I try to use an iTunes file as a new project, it greys out the iTunes songs so I can't select them.  Any ideas?

    As I said - look whether your original file is damaged or not. If not, I wouldn't change it and find out what in your system makes it sound like it's clipping.
    Good sound file, with volume maxed out. No need to change anything.
    The same song clipped - no chance to repair.

  • Project "Compare and Adjust" Functionality

    We have created a template project that we are using to capture all the business processes we have implemented.  When we have a project we create an implementation project and pull in the associated business processes from the template project. If we are adding a new business scenario/process/step, then it is first put on the template project and then added to the implementation project.
    We then associate our documentation and objects in the project documentation tab, transaction, configuratino, and development tab.  After I run the project "compare and adjust" in SOLAR_PROJECT_ADMIN, I expect to see the differences between these tabs in SOLAR01/02.  This is not the case.  When I go to the tab and click "adjust to origina" I can see there is a difference between the template and implementation project.  I want to have the difference e.g. document be adjusted/copied to the template project through the copy command.  Unfortunately this is not working.  Any ideas????
    Thanks!!

    Thanks Andreas!
    I checked the user settings and they are set as you described.  It is a rather odd problem.  Sometimes the "yellow icons" appear but not consistently.  It is almost as if something must be "re-set" before I can see the changes.  I did find an relevant OSS note so we are in the process of applying that to see if our problem will be resolved. 
    For the second issue, when I do the "yellow icons", I click the adjust button and there are differences visible on the two sides of the pop up.  However, I am not able to complete the adjust functionality.  So to give more context here is what I am doing... I have created a template project - let's call it master and an impementation project.  I have created the business scenario/process/steps in the master plan.  I then have created the same business scenario/process/steps in the implementation project with the "master" template project as the source.  I then had added documentation to the project documentation and development tab.  In addition, I have added items to the configuration tab.  I want to be able to reflect the documents back to the "master" project so others can reuse.  How can I do this?  I have been running the compare in solar_project_admin by selecting the implementation project and entering the master template project on the selection screen.
    Any additonal thoughts would greatly be appreciated.
    Thanks!!!
    Janice

  • Tiles 2 and JSF integration in tomcat 5.5.25

    hi all,
    "Tiles 2" is a new project extracted from Struts and is now integrated with various frameworks...
    I'm wondering if anyone here succeed to run Tiles 2 with JSF on tomcat 5.5.25.
    I'd downloaded a test from maven: (The test application is not working in my environment... i'll be happy to hear about any success from one of you...
    http://repo1.maven.org/maven2/org/apache/tiles/tiles-test/2.0.5/
    File name: tiles-test-2.0.5.war
    This test application should work on java 5.0.
    I will be glad to here some advice,
    thanks
    Edited by: buz_word on Nov 19, 2007 6:50 PM

    Are you sure that a new session is being created in step 6? Tomcat can be configured to persist sessions between restarts. Maybe check getCreationTime() on the session?
    --Jon                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • Data Federator Steps

    Hi, I need some help in Data Federator. How to create Projects etc and connections? What are the steps and how does it work with InfoView, WebI and Universe? I will appreciate steps and charts besides guides. Thanks Bashir Awan

  • Trouble with Skype

    i have wiped my hd and reinstalled windows 7 3 times and each time come up with the same problem. Installing skype there was no problem. I logged in using my microsoft account credentials. It logged in the freezes. stopped running . microsoft trouble

  • When i updated my iPod to IOS 6 my ipod freezes every 5 secs why?

    When i updated my iPod touch 4g to IOS 6 after 1 day my iPod started crashing every 5 seconds or start freezing. I still have that problem and i cannot use my iPod for nothing anymore. I try to play so music is crashes the iPod and sometimes when i t

  • Table that have link between mblnr and belnr

    HI, i need the table which had link between mblnr(material doc no) and belnr(miro document no) i need help regards siva shanmugam.A.V.

  • Big Red X on my Ipod screen

    my ipod is a ipod classic. the issue that I am having is that it was fully less than half of the battery wasted and it turned off. Every time I press the menu button it shows and red X and it says to go to the apple website. does not work, what can I