Resource Lookup

Hi Jigsaw'ers,
  I just want to make sure that I got everything right:
When I make Jigsaw Resources, I would like to have a references to
other Resources. Now I have strange behaviour when I leave the server
alone - doing the things he wants to do - for a while and then waking
it up again, making HTTP-GET on my Resource. Now in the get() method
I want to use my reference to the other resource, to make things as
fast as they can be.
1. Can this kind of programming course trouble and if so what kind of
trouble ? (I thought that there as long as I have the Java-Object I
also have the Resource in memory)
2. Would this be the right way: Always lookup a Resource and never use
a reference to the resource that I got from an earlier lookup
3. Could this kind of program course
java.net.SocketException: Too many open files
(I dont think so, but what could lead to such an Exception) ?

Thank you


Christoph.

Received on Wednesday, 26 February 1997 04:32:20 UTC