Check out the RMI docs. Especially the part about the Naming service.
Should answer your question.
If ya have JDK docs installed, check the RMI guide.
Christopher Rowan wrote:
>
> Heya Hiya Ho!
>
> I want to make a database connection pool class that starts up,
> preconnects n jdbc connections, then waits to be called by various apps.
>
> How do I make Java wait without exiting and without putting it into a
> cycle sucking loop?
>
> I've checked the API docs and a few books (my due dilligence) but can't
> find an answer.
>
> It's got to be ez - I just can't find it.
>
> Also, is CORBA/RMI the only way to call the connections? Is this even
> possible?
>
> Suggestions?
>
> Chris Rowan
> This mail is CopyLeft
--
_________________________________________________________
| "Come to me all you who are weary and burdened, and I |
| will give you rest." |
| |
| -- Jesus Christ (Mt. 11:28) |
|_________________________________________________________|
| Ernst de Haan | email [EMAIL PROTECTED] |
| Java programmer | web members.xoom.com/znerd/ |
| Utrecht University | icq# 21871778 |
|_______________________|_________________________________|