On Thu, 12 Dec 2002 06:02, Dennis Kang wrote:
> Is there any design principle when to use components
> and when to use general classses?

In a word - no ;)

A rule I uses is that if an object is;
* never going to be pluggable
* does not have a separate work interface
* does not need the resources of a component (or can be reworked to be like 
that). Example resources; logger, servicemanager, configuration etc

-- 
Cheers,

Peter Donald
-----------------------------------------------------
When a stupid man is doing something he's ashamed of, 
he always declares that it is his duty.
                                        George Bernard Shaw 
-----------------------------------------------------


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to