Results 1 to 4 of 4

Thread: JSF versus Struts

  1. #1
    Join Date
    Apr 2010
    Posts
    28

    JSF versus Struts

    I am just doing some researching about JSF and Struts and they seems identical.And it assumes as the designer of JSF just took Struts and configured the adjustment of wording mechanism. What I mean is:

    struts-config.xml became faces-config.xml
    ActionMappings and Actions became NavigationCases and NavigationRules
    FormBeans became ManagedBeans
    MessageResources became MessageBundle
    ActionServlet became FacesServlet (in web.xml)
    Both have validators and converters.
    So am I just missing out little bit ? One more thing , are there any performance benchmarks which JSF/Struts helps with the response times?

  2. #2
    Join Date
    May 2008
    Posts
    1,196

    Re: JSF versus Struts

    Yeah , you are just missing out some very necessary things in this case like : FormBeans are FormBeans, ManagedBeans are ordinary JavaBeans.Plus, you lost the User Interface Components, UIForms, UICommands, UIGraphic, UIInput, UIOutput,UIMessage, UIMessages, UISelectOne, UIPanel, UIColumn, UIData, UISelectItems, UISelectItem, form, commandButton, commandLink,graphicImage, inputText, inputSecret, inputHidden, inputTextArea, outputText, outputLabel, outputFormat, message, selectBooleanCheckbox, selectManyCheckboxList,selectManyMenu, selectManyListbox, selectOneRadio, selectOneMenu,panelGrid, panelGroup, dataTable, column, selectItems, selectItem, renderers,ActionEvent, Action, ValueChangeEvent, and bindings.

    According to me ,you require to go for much more research ..

  3. #3
    Join Date
    Apr 2010
    Posts
    28

    Re: JSF versus Struts

    Thanks for the replies about the UI elements , I think , I don't get. What is the benefits over working with the JSF UI component upon the corresponding HTML tag when the JSF and Struts compatible server side navigation via the struts/faces-config file?It looks as working with a JSF UI component over a HTML element is just associating different layer and evaluating in a slower experience for the user, am I still not receiving this ? Is the only benefits is the ability to indicate the renderer? And if it is like that, would someone here actually take the time to generate their own renderers versus working with the default?

  4. #4
    Join Date
    Jan 2009
    Posts
    85

    Re: JSF versus Struts

    Hi Daksha, I know little bit about the programming in the same section and when I got this thread then I remember my previous problem that was same as you are stating about .. I spent near about couple weeks trying out jsf. I got the jsf framework a little simpler and more direct to work in comparison to the struts action-jsp-formbean-strutsconfig.

    I don't want to go for the jsf tags at all. Specifically , I don't need the datatable tag. It's a lot more complex to work with than the regular struts iterate tag. The struts iterate tag, or the JSTL same as provide me the easy and reliable control of how I would be the structure and format of an html table. Indexed features and single option radio buttons were no issues at all. When I used to perform that what we have been performing within the struts for ages (implementing jsf)..

Similar Threads

  1. RAID 0 - SATA versus SSD versus SAS
    By Augustine in forum Hardware Peripherals
    Replies: 4
    Last Post: 07-04-2011, 02:01 AM
  2. Struts 1 VS Struts 2
    By PsychoVillan in forum Software Development
    Replies: 6
    Last Post: 29-03-2011, 12:23 AM
  3. Beginning with the Struts 2
    By Ronchi in forum Software Development
    Replies: 4
    Last Post: 19-03-2011, 06:32 AM
  4. How to mix Eclipse, WTP, Struts, and Hibernate
    By Efigenio in forum Software Development
    Replies: 5
    Last Post: 21-02-2010, 05:34 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,859,450.31888 seconds with 16 queries