This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

source code of J2EE Patterns  RSS feed

 
sarah Marsh
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello:
Is there any website or book have the complete source code of the following patterns:
Session Facade, Value Object/Value Object/Value List Handle
BTY, Is there any other pattern name for Value Object/Value Object/Value List Handle ?
Thanks in advance.
 
john smith
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
www.theserverside.com - all the ones you ask for and many more.
 
Vishwa Kumba
Ranch Hand
Posts: 1066
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I remember the old version of petstore sample at Sun's site used to have Value Object and Session facade patterns.
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Patterns aren't about code. Patterns are about describing solutions to recurring problems in software design. They are about communication... thinking about them in terms of code is missing the point completely. Patterns (even the J2EE Patterns) are not tied to any single technology or any single implementation... it is the abstraction that is important.
Learn to understand the Patterns that you use... anything else is just Cargo Cult Programming.
 
Eusebio Floriano
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I disagree ...
Source code can perfectly iluminate how the patterns works.
www.theserverside.com has a lot of examples.
[[[]]]�s
-------------
Vinicius Boson
SCJP 1.4
Belo Horizonte - Minas Gerais - Brazil
 
sarah Marsh
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you all, guys.
So far, I'm not that good at coding only by the descriptions of pattern. So I'd better read the source code as well. I don't know other people's experience. Maybe it'll take time to me.
On www.theserverside.com, there's a section talking about pattern. Where's source code? In the discussions?
Thanks for more reply!
 
john smith
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
// Where's source code? In the discussions?
Depends on the poster. Many are just high level discusions about the pattern, some include code. Have a dig around, its educational if nothing else - helps you understand why you might use a particular pattern in the first place.
[ March 10, 2004: Message edited by: john smith ]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!