This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Java in General and the fly likes Registry Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Registry" Watch "Registry" New topic
Author

Registry

John Lark
Ranch Hand

Joined: Feb 08, 2010
Posts: 67
Hey Guys,

I have an issue involving multiple war files. When I make a change to the registry for a variable used in one ware the second war isn't picking it up... would it be possible to put a listener in the second war file so that when I change the registry it would see the change and pick up the new variable?

Thanks,
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 16483
    
    2

Registry? What's a registry?
John Lark
Ranch Hand

Joined: Feb 08, 2010
Posts: 67
Windows Registry
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 16483
    
    2

I'm sorry, I still don't understand. You're putting something in the Windows registry for a variable in a WAR file?

Actually I don't understand the concept of a variable in a WAR file. Perhaps you could step back a bit and tell us the context of this question.
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 9946
    
    6

How do you expect your code to work on *nix or MacOS if you put your variable in the registry?


Never ascribe to malice that which can be adequately explained by stupidity.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 16483
    
    2

Fred, it's possible that John is using the Preferences classes. But of course that's just a guess because we haven't been given any details at all yet.
 
I agree. Here's the link: http://jrebel.com/download
 
subject: Registry
 
Similar Threads
Preferences does not load from file
use of assinment operator with String
RMI Server becoming unreferenced
Create 2 registry under different port?
desktop's wall paper - program to change it