aspose file tools
The moose likes Jobs Discussion and the fly likes Reg design patterns used Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Careers » Jobs Discussion
Reply Bookmark "Reg design patterns used" Watch "Reg design patterns used" New topic
Author

Reg design patterns used

Raghuraman Guruswamy
Ranch Hand

Joined: Aug 10, 2008
Posts: 100
I often come across this question in almost all interviews.. What is the design pattern used in your application and why you went for that?
I am bit confused with this as many of the times as developers we were being told to work upon individual modules or components
In my current project,the architecture is as follows:
UI layer(JSP) --> controller --> Controller Helper --> Facade --> Service --> Business --> DAO

In this case,what design pattern my application is using??
Any idea would be greatly appreciated..

Thanks a lot for your time
Sumit Bisht
Ranch Hand

Joined: Jul 02, 2008
Posts: 272

Google search parts of your architecture (after appending with patterns)
Raj Kamal
Ranch Hand

Joined: Mar 02, 2005
Posts: 400
To my knowledge, "Design Patterns" are generalized solutions catering to commonly occurring problems/issues in Software Development. Meaning they provide general solutions to general problems and they can be used as building blocks to address these problems.

It is not such that any application can or will use only 'one' design pattern. Multiple combinations of Design Patterns can be used in any application. In your application the following being used:-

MVC (J2EE pattern)
Facade
DAO

N.B. Ranchers, please add any pattern I missed.

Raj.
 
 
subject: Reg design patterns used
 
Threads others viewed
converting database tables into POJO
Final review. Planning to submit this weekend. Please comment.
What are the differences btw MVC and Front Controller design patterns?
Part 2 design doubt:SCEA help
MVC question
IntelliJ Java IDE