• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

design patterns

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please suggest me some sites where in I can find some good realtime examples on design patterns in Java.

Thanks in advance:):)..


Regards,

Shweta
 
Ranch Hand
Posts: 859
IBM DB2 Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
wikipedia

WP
 
Bartender
Posts: 10780
71
Hibernate Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

shweta dibbi wrote:Please suggest me some sites where in I can find some good realtime examples on design patterns in Java.


What do you mean by a "realtime example"?

Winston
 
Ranch Hand
Posts: 808
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
http://javacamp.org/designPattern/

FWIW, the best writing on design patterns I've ever encountered is still Head First Design Patterns. It costs more than visiting a web site, but the cost is well worth it.
 
Winston Gutkowski
Bartender
Posts: 10780
71
Hibernate Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Dennis Deems wrote:FWIW, the best writing on design patterns I've ever encountered is still Head First Design Patterns. It costs more than visiting a web site, but the cost is well worth it.


@shweta: And if you want The Bible...

Winston
 
Marshal
Posts: 79151
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Winston Gutkowski wrote: . . . What do you mean by a "realtime example"?
Winston

A lot of people in India seem to say “realtime” when they mean “real‑life”.
 
lowercase baba
Posts: 13089
67
Chrome Java Linux
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You shouldn't thing about "design patterns in java". a design pattern is language neutral. Yes, a specific pattern can be IMPLEMENTED in java (or whatever language you choose), but IMHO, you should focus on learning the concepts behind the pattern, rather than study a specific implementation.
 
shweta dibbi
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Campbell Ritchie wrote:

Winston Gutkowski wrote: . . . What do you mean by a "realtime example"?
Winston

A lot of people in India seem to say “realtime” when they mean “real‑life”.



By realtime/real-life I meant non-technical examples..
 
Greenhorn
Posts: 26
Eclipse IDE Chrome Java
  • Likes 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Shweta,

"Real world/life" examples can be taken out of things that you do every day. Like an ATM transaction is something similar to a Singleton design . An EJB architecture - how things work in an EJB can be understood if you look around what happens when you go on a vacation to an unknown place and you have to ask your receptionist for a good restaurant(Home Interface- he gives you the address of the restaurant), you reach there by travelling all the way (remote JNDI Look up ), and you order stuff by looking at the menu (no implementation details just the list of items) and finally out of no where (hidden place - since you are not admitted in ( just like the Bean which you are not allowed to access directly)) you get the tasty food that you have ordered for .

Its up to you to choose the way you would like to learn. But I can safely say that JAVA or any design pattern as a concept is at best were/ are / will be taken out from things that happen around us.
(Please note : the real world examples that I have given are somethings that I imagined for better understanding of the concepts).

Hope this helps

Thanks and regards,
Raghav.V
 
shweta dibbi
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Raghav Viswanathan wrote:Hello Shweta,

"Real world/life" examples can be taken out of things that you do every day. Like an ATM transaction is something similar to a Singleton design . An EJB architecture - how things work in an EJB can be understood if you look around what happens when you go on a vacation to an unknown place and you have to ask your receptionist for a good restaurant(Home Interface- he gives you the address of the restaurant), you reach there by travelling all the way (remote JNDI Look up ), and you order stuff by looking at the menu (no implementation details just the list of items) and finally out of no where (hidden place - since you are not admitted in ( just like the Bean which you are not allowed to access directly)) you get the tasty food that you have ordered for .

Its up to you to choose the way you would like to learn. But I can safely say that JAVA or any design pattern as a concept is at best were/ are / will be taken out from things that happen around us.
(Please note : the real world examples that I have given are somethings that I imagined for better understanding of the concepts).

Hope this helps

Thanks and regards,
Raghav.V



I will try to learn th concepts relating them to the things that happen around us. Thanks a lot for your suggestion..
 
Ranch Hand
Posts: 343
Mac OS X Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Raghav Viswanathan wrote:Hello Shweta,

"Real world/life" examples can be taken out of things that you do every day. Like an ATM transaction is something similar to a Singleton design . An EJB architecture - how things work in an EJB can be understood if you look around what happens when you go on a vacation to an unknown place and you have to ask your receptionist for a good restaurant(Home Interface- he gives you the address of the restaurant), you reach there by travelling all the way (remote JNDI Look up ), and you order stuff by looking at the menu (no implementation details just the list of items) and finally out of no where (hidden place - since you are not admitted in ( just like the Bean which you are not allowed to access directly)) you get the tasty food that you have ordered for .

Its up to you to choose the way you would like to learn. But I can safely say that JAVA or any design pattern as a concept is at best were/ are / will be taken out from things that happen around us.
(Please note : the real world examples that I have given are somethings that I imagined for better understanding of the concepts).

Hope this helps

Thanks and regards,
Raghav.V



@Raghav Nice one!!
 
Raghav Viswanathan
Greenhorn
Posts: 26
Eclipse IDE Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Palak Mathur,

Happy that my post helped you. Kindly do let me know if you would need more help.


Thanks and regards,
Raghav.V
 
Campbell Ritchie
Marshal
Posts: 79151
377
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Palak Mathur wrote: . . . @Raghav Nice one!!

Agree
 
Raghav Viswanathan
Greenhorn
Posts: 26
Eclipse IDE Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Campbell,

Happy to know that my imagination of the concept was right.


Thanks and regards,
Raghav.V
 
shweta dibbi
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I found this link http://www.netobjectivestest.com/PatternRepository helpful.


Shweta
 
dennis deems
Ranch Hand
Posts: 808
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

shweta dibbi wrote:

Campbell Ritchie wrote:

Winston Gutkowski wrote: . . . What do you mean by a "realtime example"?
Winston

A lot of people in India seem to say “realtime” when they mean “real‑life”.



By realtime/real-life I meant non-technical examples..


"Real-life" is the term you want. "Real-time" is a context in which events unfold; the term is used in sports, music & video editing, computer applications such as vital-signs monitors (and I'd guess many other things, maybe GPS). It is distinguished from other contexts in which we can "stop the clock" to focus on a particular event.
 
Creativity is allowing yourself to make mistakes; art is knowing which ones to keep. Keep this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic