Hi, I am working on a requirement to retreive the Registry data from a Remote computer and the environment we are using is J2EE on Unix WAS Servers. I did a lot of research but didn't find any information on directly implementing this requirement in J2EE. One of the alternative that came to my mind is to write a c# component with registry reading logic from remote computer, expose it with Web Services and then use it in J2EE environment.
Can anyone please let me know whether this is the only possible solution for the above requirement or is there any way of implementing this directly in J2EE without using Microsoft C# component ?
Thanks, Madhavi
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35252
7
posted
0
Hello Madhavi-
Welcome to JavaRanch.
By "registry", do you mean the Windows registry or a registry in the sense of UDDI/JAXR? If the former, then you will likely need some Windows-specific code, either through JNI or C#. A small part of the registry is accessible to the Java Preferences API, but in general, Java can't access it.
I am also looking at the possibility of one more option. Can we write a C# component, install it on Win2k server and call it from a J2EE application on WAS Unix server?
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35252
7
posted
0
That depends on what you mean by "call" - you won't be able to make a remote method call RMI-style, but a socket connection, even a web service call if you don't mind the overhead, is possible.