ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
   
 
Categories  >>  Software  >>  Java Related  >>  Java J2EE  >>  Struts
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
Difference between JSF Framework and Struts Framework.
 Question Submitted By :: Nateshg
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Difference between JSF Framework and Struts Framework.
Answer
# 1
Both these Frameworks are used for forcing the
implementation of MVC-2 pattern.

Struts Framework is implemented by apache, where as JSF
is implemented by Sun Microsystems.
 
Is This Answer Correct ?    80 Yes 34 No
Bhoopesh Alladi
 
  Re: Difference between JSF Framework and Struts Framework.
Answer
# 2
Struts is JSP and Tag centric and with a fixed dependecy on
being deployed in a conventional Servlet HTTP request /
response environment.
JSF is somewhat more generic. It is component centric and
has no specific dependency on HTML markup / tags apart from
the fact that the renders for most components are tailored
for conventional browser output via HTML.
 
Is This Answer Correct ?    52 Yes 13 No
Meera Tolia
 
 
 
  Re: Difference between JSF Framework and Struts Framework.
Answer
# 3
both will implement mvc2 design pattern,and struts given by
apache ,jsf given by sun,instead of actionservlet we can
find facelet asa acontroller in jsf
 
Is This Answer Correct ?    18 Yes 21 No
Karnakar
 
  Re: Difference between JSF Framework and Struts Framework.
Answer
# 4
Both will implement mvc2 design pattern, struts given by
apache, jsf given by sun.
Struts didn't provide any use implementations but JSF we
can implement our own implementations like UI-components,
JSF provides the Converters also
 
Is This Answer Correct ?    15 Yes 11 No
Kiran
 
  Re: Difference between JSF Framework and Struts Framework.
Answer
# 5
The main difference is the UIComponent of JSF. Developers
can define their own components and also the way it should
be rendered. A component having a particular behavious can
be rendered in different ways.
Eg: UISelectOne. This components behaviour is to select one
value, but can be rendered as a List, Menu or Radio.

More we can develop RenderKit's appropriate to the client,
ie html, wml, etc. So a single JSF application can be used,
and using different renderers can be rendered to different
clients...
 
Is This Answer Correct ?    21 Yes 4 No
Krishna
 
  Re: Difference between JSF Framework and Struts Framework.
Answer
# 6
JSF - Component centric; Struts - Bean centric.

JSF - Deffered expresson; Struts - Immediate expression.

JSF - Event driven; Struts - Model driven.

JSF - Value binding; Struts - Bean binding

JSF - Spec by JCP and several implementations including
SUN's; Struts - Apache.
 
Is This Answer Correct ?    51 Yes 4 No
Anup
 
  Re: Difference between JSF Framework and Struts Framework.
Answer
# 7
Jsf is component based frame work which concentrates on
UIComponents look and feel(view layer) where as struts
concentrates more on the controller part not on the
userinterface but both follow model-2 architecture
 
Is This Answer Correct ?    9 Yes 3 No
Ravi
 
  Re: Difference between JSF Framework and Struts Framework.
Answer
# 8
Configuration wise both are same and supports the
internalization. JSF is more developer friendly why because
to validate mandatory filed in JSF we can specify attribute
like require is true and we can use mandatory filed id in
message tag. But in struts we have to include
validation-rules.xml in struts-config.xml and form has to be
specified in validation-rules.xml.

Even for condition statement in JSF is better than struts.
No need to overwrite any method like execute in JSF.

navigation is very easy in JSF.
 
Is This Answer Correct ?    10 Yes 2 No
Kollu Sreenivasa Rao
 
  Re: Difference between JSF Framework and Struts Framework.
Answer
# 9
Struts is a "Component" Framework, whereas Struts is
an "action" Framework.

JSF using Navigationcase and NavigationRules instead of
Actionmapping and action which is in Struts.

Struts framework give you the ability to map URLs to
activities and code on the back end, whereas JSF rendered
on the page are initially developed as individual
components, much like in modern GUI.
 
Is This Answer Correct ?    12 Yes 7 No
Sujeev Kr Singh
 
  Re: Difference between JSF Framework and Struts Framework.
Answer
# 10
jsf is a component framework which concentrates on view
componets creation,binding and rendering where as struts is
a action frame work which concentrates on creating and
calling the action methods
 
Is This Answer Correct ?    5 Yes 4 No
Sunilkumar Kakollu
 

 
 
 
Other Struts Interview Questions
 
  Question Asked @ Answers
 
session menagement in servlets explaion briefly?  1
can anyone help me to send the code for Jasper Reporting in java?plz CSC3
What is the DynaActionForm? How we implement the dynaactionform ? can u please tell me the way to implement? in understandable way? JBA-Infotech8
what is the difference between model1 and model2 architecture in struts?  3
why do we use logic tag library in struts? Polaris1
Hi Friends, why struts introduced in to web application. Plz dont send any links . Need main reason for implementing struts. Thanks Prakash  4
Wat is Difference between Mvc1 architecture and Mvc2 Architecture? HCL20
Please can you tell me ,where can we used the MVC other than web applications.  1
What is Request Dispatcher and What is reuest Processor??  2
What is meant by portals???  9
i have list of values(e.g 100). using logic:iterate, how can i print the multiples of 5th element? how the logic:iterate will understand the multiples of 5. CTS2
What is the use of ActionErrors in Struts? HCL2
 
For more Struts Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2012  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com