Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Confusion with Design Pattern names

 
Reema Patel
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
I'm little comfused about different names for the same design pattern. Here is a list that I have prepared, pls correct me I i'm wrong:

1. MVC- Model View Controller/Component (after all a servlet is a web component!)
2. DTO- Data Transfer Object, I hope the other name is Value Object (VO), Transfer Object and Replicate Object
3. Front Controller/Component (controller or a component is one and the smae thing!)
4. The Data Access Component (also known as the Data Access Object- DAO)


Thanks
Reema
 
Gaurav Gambhir
Ranch Hand
Posts: 256
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1.MVC -- Model View Controller is right, as Model is also a component, view is also a component and controller is also a component
Three components are working together to perform specific functionality.
But cannot say the name of pattern as
Model View Component(which component)

2. DTO- Data Transfer Object, I hope the other name is Value Object (VO), Transfer Object and Replicate Object

Yes all refer to same pattern

3.Front Controller/Component (controller or a component is one and the same thing!)

Here yes we can refer to Front Controller as Front Component, as we are specific to particular component

Check this

4.The Data Access Component (also known as the Data Access Object- DAO)

Pattern is Data Access Object, not Data Access Component

Is this a part of Exam

Experts Comments Please ???
 
Reema Patel
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Gaurav,
Thanks for the prompt reply.

Although DAO pattern is not mentioned in cert objectives, but I have come across some mock exams covering this pattern.

Thanks,
Reema
 
Shivani Chandna
Ranch Hand
Posts: 380
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Infact when I read HFJS I saw only 5/6 patterns.

There was a question at the end of pattern chapter which talked of Composite Entity etc. - something which was not talked of in the chapter.

My question is - are we supposed to study all the J2EE Design Patterns?

:
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Shivani Chandna:
My question is - are we supposed to study all the J2EE Design Patterns?

For the exam you only need to know the "Big 6", as listed in the objectives:
Intercepting Filter, Model-View-Controller, Front Controller, Service Locator, Business Delegate, and Transfer Object

Other patterns (even fake ones) may be listed as answer options, but only the Big 6 will ever be correct answers.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic