On Tuesday 22 May 2007 02:55, Juiceman wrote:
> Honestly, I don't know the difference.  I am learning Java through
> experimentation and "static" was how I got rid of the compiler error.
> How would I do this correctly?

Static means it belongs to the class rather than the particular instance of 
the class. For example Logger provides a static interface because it's 
perfectly okay for all nodes etc in the same VM to use a single Logger. Most 
things should be kept on other structures. For example most of the client 
layer has access to an InsertContext or FetchContext.
>
> On 5/21/07, Matthew Toseland <toad at amphibian.dyndns.org> wrote:
> > Static is bad except for stuff that really is universal like Logger. Is
> > this necessary? I suppose it's client layer so it doesn't matter that
> > much... the basic issue is that we want to be able to run multiple nodes
> > in one VM, at least for simulations.


Reply via email to