|
INTERVIEW QUESTIONS
J2EE
SERVLET
DETAILS
Question: What is difference between Design Pattern and FrameWork.
Answer: A Framework is a skeleton of code used for developing an application with ease.It could have used several design patterns to implement the skeleton upon which we generally build applications.Eg. Struts Framework uses MVC2 architecture, various design patterns like Front- Controller,Composite,Command patterns.
Such design patterns used in the framework also helps to build applications with simplicity eg.. struts-config.xml makes ur app configurable ,resuable,fewer impacts on changes to functionality (Command pattern)Can go thru Struts architecture for further details.
|
|
|
Category |
Servlet Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.3) By 7424 users |
Added on |
7/17/2011 |
Views |
70069 |
Rate it! |
|
|
Question:
What is difference between Design Pattern and FrameWork.
Answer:
A Framework is a skeleton of code used for developing an application with ease.It could have used several design patterns to implement the skeleton upon which we generally build applications.Eg. Struts Framework uses MVC2 architecture, various design patterns like Front- Controller,Composite,Command patterns.
Such design patterns used in the framework also helps to build applications with simplicity eg.. struts-config.xml makes ur app configurable ,resuable,fewer impacts on changes to functionality (Command pattern)Can go thru Struts architecture for further details. 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 |
|
What is the difference between servlet context and servlet config
|
View Answer
|
|
Whats meant by struts?how to use struts in IBM websphere appli. ? and how to managed with struts?(plz answer simply just an intro. don't go very deep)
|
View Answer
|
|
I have linux OS.I installed Tomcat 4. in Linux. Now, i have to deploy My web application into that using WAR file.
Please tell me steps....and also steps for the creating the WAR file too.
|
View Answer
|
|
What is the difference between Apache struts and Jakarta Struts?? why there are 2 names??
|
View Answer
|
|
Why we use static method in Business Logic?
|
View Answer
|
|
Explain Struts Framework flow? and How JSP file can be processed?
|
View Answer
|
|
What is super class of Action and ActionForm?
|
View Answer
|
|
What is ActionMapping ?
|
View Answer
|
|
Is there any way to define a default method for every in the action mapping of Struts-Config.XML file? If yes then how? Give a piece of code demonstrating the same.
|
View Answer
|
|
Can we go one page to other page using java script or action Mapping ?
|
View Answer
|
|
What is the diffrence between Apache struts and jakarta struts ?
|
View Answer
|
|
Can we make Action class,DAOclass without Formclass
|
View Answer
|
|
What is the diff between perform() and execute() method?
|
View Answer
|
|
Why is the action class is singleton in nature? Isn't this creates a bottleneck for the requests?
|
View Answer
|
|
type="com.test.LoginForm"/>
path="/login" type="com.test.user.login.LoginAction" name="loginForm" validate="false">
Question: Assuming the class LoginForm contains a String property named "password", how does the LoginAction class access the attribute called "password" in the above request? Explain why.
|
path="/login" type="com.test.user.login.LoginAction" - Servlet Interview Questions & Answers">
View Answer
|
|
What is the correct syntax for removing ActionMessages from the session context?
|
View Answer
|
|
What is the action mapping
|
View Answer
|
|
What is the request processor in struts? how it works?
|
View Answer
|
|
In struts why we use jsp as view( presentation)? what happen if we use servlet as view?
|
View Answer
|
|
What is the servlet?
|
View Answer
|