shweta dibbi wrote:Please suggest me some sites where in I can find some good realtime examples on design patterns in Java.
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
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.
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
A lot of people in India seem to say “realtime” when they mean “real‑life”.Winston Gutkowski wrote: . . . What do you mean by a "realtime example"?
Winston
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Campbell Ritchie wrote:
A lot of people in India seem to say “realtime” when they mean “real‑life”.Winston Gutkowski wrote: . . . What do you mean by a "realtime example"?
Winston
Better late than never.
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 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
Better late than never.
AgreePalak Mathur wrote: . . . @Raghav Nice one!!
Better late than never.
shweta dibbi wrote:
Campbell Ritchie wrote:
A lot of people in India seem to say “realtime” when they mean “real‑life”.Winston Gutkowski wrote: . . . What do you mean by a "realtime example"?
Winston
By realtime/real-life I meant non-technical examples..
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
|