• 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
Page creation and usage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Page creation and usage


  • Subject: Page creation and usage
  • From: Ron Wagner <email@hidden>
  • Date: Sun, 28 Mar 2004 15:03:09 -0500

I have a question about page creation and usage. For pages that get used over and over again I have been creating the page with pageWithName("pageName"), storing the instance, and re-using the instance for multiple request-response loops. I started doing this to save the time of creating the page and to reduce memory footprint for having multiple instances of the same page.

Is this OK to do, or should I be calling pageWithName for each request-response loop? I am wondering if I am affecting backtracking in a bad way or some other negative which I am not considering. If I have instance variables in the java classes for the WOComponents, will I be tromping over them each time the page is used, or are they stored somewhere in a context for each request-response loop?

Any other insights would be appreciated.

Thanks,
Ron Wagner
_______________________________________________
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: Page creation and usage
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: HELP: Problem using WebServices Assistant
  • Next by Date: Re: HELP: Problem using WebServices Assistant
  • Previous by thread: [5.2.3] many to many with exposed attribute on join table
  • Next by thread: Re: Page creation and usage
  • Index(es):
    • Date
    • Thread