ALLInterview.com :: Home Page KalAajKal.com
 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                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Java J2EE  >>  Java Related  >>  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
Is Struts Action class Thread Safe?
 Question Submitted By :: Guddu
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Is Struts Action class Thread Safe?
Answer
# 1
I think Struts Action class is not Thread Safe
For more of these, please visit
http://freesourceutilityhelp.googlepages.com
http://question2answer.googlepages.com
http://context2designpatterns.googlepages.com

Thanks
 
Is This Answer Correct ?    2 Yes 1 No
Guddu
 
  Re: Is Struts Action class Thread Safe?
Answer
# 2
as my nowladge Actionclass is thread safe.
 
Is This Answer Correct ?    0 Yes 3 No
Syed
 
 
 
  Re: Is Struts Action class Thread Safe?
Answer
# 3
Struts 1 Actions are singletons and must be thread-safe
since there will only be one instance of a class to handle
all requests for that Action. The singleton strategy places
restrictions on what can be done with Struts 1 Actions and
requires extra care to develop. Action resources must be
thread-safe or synchronized.


Struts 2 Action objects are instantiated for each request,
so there are no thread-safety issues. (In practice, servlet
containers generate many throw-away objects per request, and
one more object does not impose a performance penalty or
impact garbage collection.)
 
Is This Answer Correct ?    3 Yes 1 No
Vijay
 
  Re: Is Struts Action class Thread Safe?
Answer
# 4
Yes struts is not only thread safe but also thread 
dependent.Because its run in light weigth component and 
from the orignial action class.
 
Is This Answer Correct ?    2 Yes 0 No
Kumaravelu
 
  Re: Is Struts Action class Thread Safe?
Answer
# 5
Yes struts is threadsafe. and light weight component also
 
Is This Answer Correct ?    1 Yes 0 No
Sreenivasula Reddy
 

 
 
 
Other Struts Interview Questions
 
  Question Asked @ Answers
 
if u r using eclipse tool how can u debbaging u r application? plz explain with sample code Tech-Mahindra3
What is Struts Frame Work Architecture(With Diagram) ? CMC1
How to depoly your struts application in JBOSS Satyam1
What is the difference between RequestProcessor and RequestDispatcher? Ness-Technologies8
How do you customize ActionServlet? Ness-Technologies2
what are tiles in struts? Wipro2
Which parser is used in Struts to parse the Structconfig.xml file. iFlex16
What is MVC Architecture? HCL4
what is mean by custom tag? Wipro4
How Struts will follow the MVC? HCL4
what is BUSINESS DELIGATE PATTERN,DAO,VO,DTO? TCS6
What are Struts properties? VI-eTrans2
How do you know what to give for the "path " under in struts-config.xml ?  1
what are componeents presents in Strutsconfig.xml? HCL2
Is form beans are serializable or not? Magna-Infotech6
explain method overridding method overloding with examples? IBM3
what is request processor class ? Fidelity4
how you implement and maintain your struts project by using MVC2 arch? Wipro2
how can you switch onemodule to another module by switch action class plz explain with exapmle? Satyam1
can anyone help me to send the code for Jasper Reporting in java?plz CSC2
 
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 © 2007  ALLInterview.com.  All Rights Reserved.

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