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                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Core Java  >>  Java J2EE  >>  Java Related
 
 


 

 
 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
Why would you desing a J2EE application so user data is 
entered by way of a JSP page and managed by an underlying 
Java Beans class?
 Question Submitted By :: Raviraja N
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Why would you desing a J2EE application so user data is entered by way of a JSP page and managed by an underlying Java Beans class?
Answer
# 1
you can use mvc1 to implement the such requirement.
 
Is This Answer Correct ?    4 Yes 3 No
Sandeep
 
  Re: Why would you desing a J2EE application so user data is entered by way of a JSP page and managed by an underlying Java Beans class?
Answer
# 2
As per my understanding, Java Bean exposes the properties 
of the JSP page in a consistent way. 

Also it represents the jsp page as a simple java object
(POJO) which is having certain state. and it is easy to 
handle java beans.
 
Is This Answer Correct ?    0 Yes 2 No
Rajesh
 
 
 
  Re: Why would you desing a J2EE application so user data is entered by way of a JSP page and managed by an underlying Java Beans class?
Answer
# 3
Its always better to seggregate/seperate the duties of
components. Its correct way to implement MVC architecture.

JSP takes care of View Component and Bean Object will be
used as Transfer Object in application.
 
Is This Answer Correct ?    1 Yes 1 No
Nash
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
Without creating a new object, How you can retrieve a String or other object?  1
how to handle http request in struts Polaris2
System.out.println(101/14) what is the output? a)6 b)14 c)7.14 d)0 Accenture6
What will happen inside init() in servlet. my interviewer asked servlet lifecycle. i said "once servlet is loaded in to memory init() will be called which performs servlet initialization " . Again interview asked what values will be initialized . what is difference between init() and init(ServletConfig config). Infinite-Computer-Solutions1
Default layout of panel and frame?  2
How to transfer data from an Applet to Servlet ?  1
In which way does a Primitive data type is passed ? Sun-Microsystems2
int a=10,b=20,c=30 a= b+c;b=a+c;c=a+b; System.out.println("The value is"+a+b+c; Honeywell16
Which containers may have a MenuBar?  1
how can u create the object with out new operator  2
Differentiate Vector and ArrayList? Wipro4
What are the parameters used in Connection pooling? IBM1
what is polymorphism with example?types of polymorphism? HP6
Functionality of JVM? Infosys4
List interface?  2
how you will prevent method overriding? HCL4
which one is performance wise advantageious from List,Set,Map?  5
What is a class ?  8
What is a deadlock ?  5
Explain, why the constructor is required in implemented class?  2
 
For more Core Java 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