my dog learned polymorphism
The moose likes Beginning Java and the fly likes static variables Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic

static variables

Sonia Gun

Joined: Oct 15, 2004
Posts: 10
I am writing an application server. As a part of that i want to access certain on a remote server. My question: Can i read the required information (like proxy server, port, username, password) from the d/b once, store it in cache (some how !!) and reuse them. I want to use a database because i dont want to bounce the server if i need to modify the proxy server.
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
nutojava jav,

Welcome to JavaRanch!

We ain't got many rules 'round these parts, but we do got one. Please change your display name to comply with The JavaRanch Naming Policy.

Thanks Pardner! Hope to see you 'round the Ranch!

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
Round these parts, posting the same question in multiple forums is bad practice. It can make it rather difficult to follow a conversation, plus folks spend time saying things that were just said.

Please continue this conversation in the duplicate thread. I'm closing this thread.
I agree. Here's the link:
subject: static variables
It's not a secret anymore!