|
INTERVIEW QUESTIONS
J2EE
JSP
DETAILS
Question: What is the architecture of JSP?
Answer: Java Server Pages (JSP) are normally used for developing Enterprise Applications and this is called as JEE - Java Enterprise Edition. JEE is an open standard based platform for developing, deploying and managing n-tier, web enabled, component based enterprise applications.1. MVC(Model-View-Container) / Model 2 Architecture: The most commonly used architecture for web applications is the Model 2 Architecture-Model is a component that holds the data (JavaBean)-View is a component that takes care of the presentation (JSP)-Controller is a component that controls and co-ordinates all the activities (Servlet)Advantages of MVC architecture:-MaintainabilityThe business logic and presentation logic are separatedThe architecture is well known-Reusability-SecurityAs all the requests are routed through a single point, the Controller can take care of security instead of each page taking care of the security
|
|
|
Category |
JSP Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.3) By 7734 users |
Added on |
7/17/2011 |
Views |
71799 |
Rate it! |
|
|
Question:
What is the architecture of JSP?
Answer:
Java Server Pages (JSP) are normally used for developing Enterprise Applications and this is called as JEE - Java Enterprise Edition. JEE is an open standard based platform for developing, deploying and managing n-tier, web enabled, component based enterprise applications.1. MVC(Model-View-Container) / Model 2 Architecture: The most commonly used architecture for web applications is the Model 2 Architecture-Model is a component that holds the data (JavaBean)-View is a component that takes care of the presentation (JSP)-Controller is a component that controls and co-ordinates all the activities (Servlet)Advantages of MVC architecture:-MaintainabilityThe business logic and presentation logic are separatedThe architecture is well known-Reusability-SecurityAs all the requests are routed through a single point, the Controller can take care of security instead of each page taking care of the security Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
How to call EJB from JSP.
|
View Answer
|
|
Can a single JSP page be considered as a J2EE application?
|
View Answer
|
|
What is JSP?
|
View Answer
|
|
What are advantages of JSP?
|
View Answer
|
|
What is the difference between include directive & jsp:include action?
|
View Answer
|
|
What are Custom tags. Why do you need Custom tags. How do you create Custom tag?
|
View Answer
|
|
What are the implicit objects in JSP & differences between them?
|
View Answer
|
|
What is jsp:use bean. What are the scope attributes & difference between these attributes?
|
View Answer
|
|
What is difference between scriptlet and expression?
|
View Answer
|
|
What is Declaration?
|
View Answer
|
|
How do you connect to the database from JSP?
|
View Answer
|
|
How do you call stored procedures from JSP?
|
View Answer
|
|
How do you restrict page errors display in the JSP page?
|
View Answer
|
|
How do you pass control from one JSP page to another?
|
View Answer
|
|
How do I have the JSP-generated servlet subclass my own custom servlet class, instead of the default?
|
View Answer
|
|
How does a servlet communicate with a JSP page?
|
View Answer
|
|
Is there a way I can set the inactivity lease period on a per-session basis?
|
View Answer
|
|
How can I set a cookie and delete a cookie from within a JSP page?
|
View Answer
|
|
How can I declare methods within my JSP page?
|
View Answer
|
|
How can I enable session tracking for JSP pages if the browser has disabled cookies?
|
View Answer
|