Go4Expert Founder
18Jul2008,14:04   #11
shabbir's Avatar
Quote:
Originally Posted by Dean-123
which do you think is most important when design a website?
i recently designed a new website:mytino(you can search it by google)can you give me some advices?
thank you!
Hey thats a too general thing to answer and it would be a classic case of solution probleming where you have a solution and trying to find the problem where it can be applied. I would suggest get your context out and then see which is the most fitting situation and see if you really need it and then apply.
Go4Expert Member
21Jul2008,06:48   #12
Dean-123's Avatar
Quote:
Originally Posted by shabbir
Hey thats a too general thing to answer and it would be a classic case of solution probleming where you have a solution and trying to find the problem where it can be applied. I would suggest get your context out and then see which is the most fitting situation and see if you really need it and then apply.
thank you for your kindly suggestion,it's really useful!
Newbie Member
23Jul2008,17:42   #13
ziad's Avatar
Shabbir great article, thanks very much!

I have a question regarding the strategy pattern. I think I understand it correctly and see the benefit of using it but my question is how will the correct implementation of the interface be instantiated? Would you have to use one of the creational design patterns?

Thanks again.

Ziad
yah
Newbie Member
12Sep2008,07:29   #14
yah's Avatar
hai..
i'm new in Design pattern using Java..
actually i try to find any topic in design pattern to my PHD..
any suggestion from you?
TQ
Newbie Member
18Sep2008,13:33   #15
rmahmood's Avatar
Nice article with very simple examples.

It would be nice if you can share your knowledge to help me out.

I am working on an application where i have recorded ejb method calls with necessary information in XML files as they were called by j2ee client. Now i want to replay these recorded methods using Java reflection.

I am thinking about some design pattern that can be helpful. Important thing for me is
for every method being replayed i have to call ProcessBefore and ProcessAfter methods
to fix some contextual issues if there exist. It is not possible for me to know in advance
which methods will be recorded so that i can write concrete ProcessAfter and ProcessBefore for them.
Newbie Member
25Sep2008,10:13   #16
Nikimathew's Avatar
Design pattern is a widely accepted solution to a recurring design problem in OOP a design pattern describes how to structure classes to meet a given requirement provides a general blueprint to follow when implementing part of a program does not describe how to structure the entire application does not describe specific algorithms focuses on relationships between classes
----------------
Nikimathew

Last edited by shabbir; 25Sep2008 at 12:25.. Reason: Confine links to signatures only.
Newbie Member
10Dec2008,11:36   #17
puviyarasan's Avatar
It is really good article. Thank you very much.
Newbie Member
15Dec2008,16:47   #18
annant's Avatar
Can you pls provide me any good example of Abstract Factory pattern used in a project within database interaction. For example a project in Abstract factory pattern, which also has some database associated with it .
Newbie Member
1Jan2009,05:33   #19
sanc.pec's Avatar
Hi ,
It was a superb collection of DPs.. Really very good man.
I ahve one scenario in my project, like the project is now on LIVE. A sudden requiremnt from customer requires some 400 different objects to behave in a single way. Like he needs a single object called "DOCUMENT" for all those 400 objects !!

Object 1 ->
attr A
attr B

Object 2->
attr C
attr D

Now my DOCUMENT generic object should have
attr A
attr B

when he wants Object1

and similarly for Object 2 and other objects !!! What can be done ?????
Go4Expert Founder
1Jan2009,10:11   #20
shabbir's Avatar
Confused. Is there 2 type of object or one and if 2 type of object like to behave like one then you could probably change the class 2 to have internal implementation taken from object 1.