Java Design Question
Java Design Question
- Subject: Java Design Question
- From: James Cicenia <email@hidden>
- Date: Wed, 9 Jun 2004 22:32:09 -0500
Hello -
I have decided to move my various methods which return arrays of
EOObjects to
their own classes. These classes will just look up the EOObjects based
upon
passed parameters and then return an array. If I create a new instance
of this
object and then use it to retrieve my records it seems to work great.
Now my java inexperience questions.
I have the method as being static, i.e.,
public static NSArray pipelineQ4ByType(Portfolio portfolio){
is this correct that it is static?
secondly since the methods are static, wouldn't this be a so called
singleton?
In other words wouldn't I just want one of these objects in memory ever?
If so, how would I make that so in WebObjects?
Thanks,
James Cicenia
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.