• Post Reply Bookmark Topic Watch Topic
  • New Topic

Bert Bates -Design Patterns in HFSJ

 
Niranjan Deshpande
Ranch Hand
Posts: 1277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the chapter Design Patterns, suddonly on page 729, the book says -

"To wrap up discussion on business tier patterns........"

and i got a shock, knowing that design patterns are classified into some types. The book never says you so, neither in the intorductory pages.

This is another case where the book is a bit dangerous.

i did lots of googling, and finally found that ( from a book Core J2EE� Patterns: Best Practices and Design Strategies, Second Edition - by
by Deepak Alur, John Crupi, Dan Malks ) design patterns are of two types -

1) Business Tier
examples are : Business Delegate, Service Locator, Transfer Object
2) Presentation Tier
examples are : Intercepting Filter, Front Controller

Hope this adds to the knowledge of all ranchers
By the way, i have made some notes from the book. i have uploaded the notes here
You can ignore the sequence disgrams, but i personally think that this material increases your comfort level in the topic.

Bert, i personally think that the book should have such first hand information ( the one that i keyed in above ) in it. also we would like to get some description explaining what the above two types means.
 
David Bates
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I too was a little confused when I read that line, but thought that it was easy enough to work out which patterns belonged to which tier. It would still be a good amendment to the book, though.

How would you categorise the MVC pattern? A "cross-tier" pattern?
 
Niranjan Deshpande
Ranch Hand
Posts: 1277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How would you categorise the MVC pattern? A "cross-tier" pattern?


Yes, i too have the same question in my mind.

I think the authors ashould take into consideration the ammendments that we have put above

thanks
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!