This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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.
It is sorta covered in the JavaRanch Style Guide.
subject: static variables
Similar Threads
What is Proxy Object?
Configuring tomcat as proxy server
server side proxy in java
Running the application behind proxy
Http proxy