cancel
Showing results for 
Search instead for 
Did you mean: 

How to read a register data base key

tony_morellet
Participant
0 Kudos

Hi.

I need to read some key of the base of register Windows.

Could you help me please.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Tony

where do you want to access to the windows-registry?

In a J2EE-Application (in your w2k3 server?) ? (i.e. EJB?)

And in which version? (allready JEE 5?)

Or simply in a J2SE program?

A usefull API for accessing the windows-registry is the following:

<a href="http://www.trustice.com/java/jnireg/">Windows Registry API Native Interface</a>

Marco

tony_morellet
Participant
0 Kudos

Hi Marco

I need to access to the windows registry with a webdynpro application.

My J2EE version is 1.5.0_09

Answers (1)

Answers (1)

Former Member
0 Kudos
tony_morellet
Participant
0 Kudos

Hi tummuru,

Thanks for this link.

This solution run in java application but not in webdynpro.

Former Member
0 Kudos

Hi Tony

firstly you have to add an external library to your webdynpro containing the windows-registry API of the Java-Application (for example the jar which you can find here und bin: http://www.gjt.org/download/time/java/jnireg/registry-3.1.3.zip)

Then I think it should be possible to access the windows-registry of the server.

Have a look @ this blog, it describes how to add an external lib:

/people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro

Regards

Marco