aspose file tools*
The moose likes Java in General and the fly likes Registry Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Registry" Watch "Registry" New topic
Author

Registry

John Lark
Ranch Hand

Joined: Feb 08, 2010
Posts: 72
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: 18993
    
    8

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

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

Joined: Oct 14, 2005
Posts: 18993
    
    8

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: 11499
    
  16

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


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18993
    
    8

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://aspose.com/file-tools
 
subject: Registry