What is MySessionUtil all about?  If it consists of utility methods,
consider making the class abstract and the methods static.  Also, you might
think about some sort of containment strategy, where an instance of ClassA
is given an instance of ClassB, which it stores in a private instance
variable, then implements various public methods by passing them through to
the ClassB object.

-- Curt Springer, �quipe ND


At 08:46 AM 7/14/99 -0500, Troy Mckinnon wrote:
>Hey all,
>
>I was wondering if someone can help me out.  I have been been creating my
>own classes such as MYButton, MyPage etc..
>What I am having trouble with though is trying to superclass 2 or more
>modules.
>
>i.e.  I have 3 modules:  MyPage, MyJSPage,MySessionUtil
>
>Problem occurs when I want to give pg_MyPage the properties of 2 or more of
>these modules.
>
>I end up having to superclass pg_MyPage --> MySessionUtil which I must then
>superclass to MyJSPage which is then superclassed to MyPage
>
>This implementation works fine... but then I lose the ability to implement
>only MySessionUtil or MyJsPage by themselves.
>
>I know I have probably gone about this the wrong way and I would really
>appreciate any suggestions.
>
>
>
>Thanks,
>
>Troy
>
>Troy McKinnon
>Technical Team Leader
>Integrated Quality Management System
>Nortel Networks - GHCT  (Dept. 1J11)
>(613) 765-7685  or  ESN (395) 7685
>
>_________________________________________________________________________
>
>For help in using, subscribing, and unsubscribing to the discussion
>forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
>
>For dire need help, email: [EMAIL PROTECTED]
> 
_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to