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   SiteMap shows list of All Categories in this site.
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
how many design pattern r there? and wht design pattern u 
use and why ?
 Question Submitted By :: Smrutiranjan_sahoo
I also faced this Question!!     Rank Answer Posted By  
 
  Re: how many design pattern r there? and wht design pattern u use and why ?
Answer
# 1
23
MVC - separation of presentation and business logic
DAO- Abstracts and hides data access code from business
logic code
 
Is This Answer Correct ?    1 Yes 0 No
Smitha
 
  Re: how many design pattern r there? and wht design pattern u use and why ?
Answer
# 2
In case of sun technology, we can categories in two type 
java design pattern and j2ee design pattern.
java design pattern is divided into three category futher
creational pattern, structered pattern and behavioral 
pattern.
in J2ee there is 15 types of design pattern
 
Is This Answer Correct ?    1 Yes 0 No
Ravi Ranjan Kumar Rajnish
 
 
 
  Re: how many design pattern r there? and wht design pattern u use and why ?
Answer
# 3
Design pattern is the solution for a recurring problem.
Mvc-2 design pattern---For the sake of seperation between 
presentation logic and business logic
Data Access Object-----For maintaining databae logic 
seperatly
Data Transfer Object---To Maintain Getters and setters for 
database columns
 
Is This Answer Correct ?    1 Yes 0 No
Ravikiran
 
  Re: how many design pattern r there? and wht design pattern u use and why ?
Answer
# 4
so many design patterns are used for solving the reoccurs
problems.Mainly these design patterns are used for EJB
Application.They are
1.Front Controller - handling all the requests form client.
2.Application Controller/Business deligate - this is used
for delgate the request to appropriate method in business class.
3.Service Locater -- this is used for the get the reference
of home object.
4.Data Access Object -- It is uesd for connecting with the
databases like hibernate,jdbc connections,JNDI and Etc.
5.Data Transfer Object/Value Object --- if you want to
transfer the data from bean to client and vice-versa.We
create one helper class.In this class we r writing some
setters and getters are used for data transfer.
 
Is This Answer Correct ?    3 Yes 1 No
Hima Bindu
 
  Re: how many design pattern r there? and wht design pattern u use and why ?
Answer
# 5
23
 
Is This Answer Correct ?    0 Yes 0 No
Sampath
 

 
 
 
Other Core Java Interview Questions
 
  Question Asked @ Answers
 
what is the Use of throws exception?  2
How do u provide security in java  1
How to transfer data from an Applet to Servlet ?  1
what is difference between String buffer and String builder? Benchmark2
class A{ m2(){ } } class B extends A{ m2(){ } } class c extends B{ m2(){ } } class my_class extends c{ m2(){ } pulic static void main(){ ...My_class a = new my_class(); super.super.super.m2(); is this is leagal if not find what is the legal procedure in order to call A's version of m2(); } Logica-CMG8
What JNDI(Java Naming and Directory Interface) provides?  4
wahts is mean by thread? HCL14
What is I/O Filter? TCS1
wht is mean by dirty read?  1
why interfaces are faster than abstract classes?  2
where do we use init()  2
Is java is a fully object object oriented language? TCS15
what is the difference between a java object reference and c++ pointer?  3
Explain method overloading and overriding?  6
which class to use when concatenating strings in a loop. IBM2
What is lazy activation? CMC1
What are the Object and Class that classes used for?  3
what is diff bet iterator and enumeration?  2
what is wrapper class and its uses?  2
how to connect one jsp page to another jsp page???? Symphony4
 
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