>These are clients
> so they can talk to the service AddressBook from any machine, and it will
be
> initialized (with 0 records, if you've removed the addEntry lines) as soon
as
> any client does so.

I guess this is what I was trying to get around, I wanted the initialisation
to occur before the client made contact. Its not a major thing, but was just
trying it to understand the code better.

>    It might be better to edit the AddressBook constructor so it calls on
your
> utility code, though, to populate the address book within the same JVM.
Surely
> in anything realistic you'd be using a database of some sort?

Absolutely. Thanks for the help. (Again!)

Cheers.

Reply via email to