0

I am implementing 'JMXMP Connectors With Simple Security' example from 'Java Dynamic Management Kit 5.1 Tutorial' Oracle documentation. Where can I find the source code of the examples?

Also, which jar contains the jar com.sun.jdmk.security.sasl.Provider or is it deprecated.

Ashay Batwal
  • 5,415
  • 7
  • 25
  • 30

2 Answers2

1

First;

bean-validator-4.0.0.Alpha3.jar

includes com.sun.jdmk.security.sasl.Provider class and also com.sun.jdmk.* package context.

Also open-dmk downloads have this class(com.sun.jdmk.security.sasl.Provider).

Second; On Oracle's documentation explained as;

These tutorials are based on the example programs shipped with the Java DMK. Each example is a set of Java source code files in a separate subdirectory. The following table gives the location of the main examples directory:

But I think this documentation(it seems same as which you are reading) is not up to date. Maybe documentation was moved from old sun's java site and not updated. After Java DMK sources opened as open source Open DMK, It seems example directories not published or shipped with Open DMK.

Yusuf K.
  • 4,195
  • 1
  • 33
  • 69
0

You will have to use 'bean-validator-4.0.0.Alpha3.jar' file. download it from

'http://www.java2s.com/Code/Jar/b/Downloadbeanvalidator400Alpha3jar.htm'

bean-validator-4.0.0.Alpha3.jar

Anurag Kumar
  • 555
  • 1
  • 4
  • 9