• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Java Design Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Java Design Question
      • From: Art Isbell <email@hidden>
  • Prev by Date: Re: WOHyperlink Passing a value back...
  • Next by Date: Re: Fetch Only Non-Empty To-Many
  • Previous by thread: Re: Java question..
  • Next by thread: Re: Java Design Question
  • Index(es):
    • Date
    • Thread