This is the distribution of Prosys OPC UA Java SDK.
See the LICENSE.txt document ('license' folder) for license information.
The SDK requires Java SE 6 (Java Runtime Environment 1.6) or later. It is tested with Java SE 6, 7 and 8.
You also need to install JDK 6 (jdk1.6) or later to be able to compile your applications.
The latest available version is usually recommended. The downloads are available from
http://www.oracle.com/technetwork/java/javase/downloads/index.html
INSTALL
Add the libraries provided in the 'lib'-directory of the SDK distribution package to the Java classpath
in your environment. You can then use them in your applications.
Some of the libraries are optional, please see DEPLOYMENT section of this README for more information.
See the Starting Guide in the 'tutorial' folder of the SDK distribution package for tips and
step-by-step instructions on setting up the SDK for use in your application development.
SAMPLES
It is recommended that you import the samples to a proper development environment (see the Starting Guide).
However, you can also launch each sample using the provided batch or shell script in the sample folder,
assuming that you have installed the JDK and set up the JAVA_HOME environment variable to the JDK directory.
The Java compiler should be located at %JAVA_HOME%\bin\javac.exe (Windows) or $JAVA_HOME/bin/javac (Linux).
TUTORIALS
The tutorials for client and server application development are found in the 'tutorial' folder
of the SDK distribution package and will help you get started with using the SDK.
DEPLOYMENT
When you deploy your applications, you will also need to deploy the respective libraries.
But you won't necessarily need them all. The table below lists the available libraries with descriptions and
use cases:
(lib folder)
prosys* SDK classes Necessary for all applications
opc-ua-stack*.jar UA communication Necessary for all applications
slf4j-api-*.jar SLF4J Logging Facade Necessary for all applications
slf4j-log4j12-*.jar SLF4J-to-Log4J bridge If you wish to use Log4J version 1.2 for logging (see below for more)
log4j-1.2.17.jar Apache Log4J If you wish to use Log4J version 1.2 for logging
http-*.jar HTTP Core components Necessary for all applications that support HTTPS
commons-logging*.jar Commons Logging Necessary for all client applications that support HTTPS
bc*.jar Bouncy Castle security Optional, but recommended in Java SE for OPC UA Security support:
If SunJCE libraries are not included, Bouncy Castle will be used.
Note that the SunJCE based security has not been tested as much as BC.
(lib-android folder)
*.jar Spongy Castle security Necessary for Android applications to support OPC UA Security.
You should bundle the SDK classes to your own application (to create a 'merged' or 'uber' .jar out of it).
Obfuscation techniques are also recommended to guard it against illegal usage. ProGuard is a recommended tool,
for example.
NOTE! The Bouncy Castle library must not be repackaged into your application.
It is a signed security library and must be linked to your application via the original bc*.jar
files in the classpath, otherwise it will not work.
Also note the respective licenses for each library, as mentioned in LICENSE.txt
USAGE OF SECURITY LIBRARIES
OPC UA Security is implemented in the OPC UA Java Stack component, provided by the OPC Foundation.
The Stack will pick an available security library automatically, but if necessary, even a custom
library can be plugged in.
The following is copied from the 'readme' section of the Stack and describes the library usage
in detail:
"Security libraries are used as they are available. If no extra libraries are available,
the Sun JCE implementation will be used. Testing has so far based on the Bouncy Castle
library and it is therefore recommended in normal applications.
The current implementation, since version 1.02.337.0, is based on a flexible CryptoProvider
model. There are several implementations of this interface available in the stack and you
can also implement your own, if you have a custom security framework that you need to use.
The stack will pick a default CryptoProvider automatically as it finds them from the class
path. Alternatively, you can define the provider that you wish to use by setting it with
CryptoUtil.setCryptoProvider() or with CryptoUtil.setSecurityPoviderName().
In the same manner, custom certificate framework can be used by implementing interface CertificateProvider
and setting it with CertificateUtils.setCertificateProvider().
Current CryptoProvider implementations:
BcCryptoProvider (default, if Bouncy Castle is in the class path: uses Bouncy Castle directly)
ScCryptoProvider (default in Android, if Spongy Castle is in the class path)
SunJceCryptoProvider (default if Bouncy Castle or Spongy Castle are not available)
BcJceCryptoProvider (uses Bouncy Castle via the JCE crypto framework)
ScJceCryptoProvider (uses Spongy Castle via the JCE crypto framework)
If any of the ...JceCryptoProvider is used, you will have to install the JCE Unlimited Strength
Jurisdiction Policy Files, from Oracle (for Java 6, 7 or 8, respectively), to enable support for
256 bit security policies:
JRE6: http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html
JRE7: http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html
JRE8: http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html
Android includes a limited version of Bouncy Castle and the standard Bouncy Castle cannot
be installed there. It also does not include the Sun classes. However, the Spongy Castle
libraries will provide the same functionality as Bouncy Castle in Android, so these
libraries should be used in Android, unless the application can do without security altogether.
Current CertificateProvider implementations:
BcCertificateProvider (default, if Bouncy Castle is in the class path)
ScCertificateProvider (default in Android, if Spongy Castle is in the class path)
SunJceCertificateProvider (default if Bouncy Castle or Spongy Castle are not available)"
LOGGING LIBRARY SELECTION
The SDK uses SLF4J logging facade for message logging. This enables each application
to use any specific logging library because SLF4J is just used to direct logging to a selected library.
'slf4j-api' must always be included in the application build path.
The actual library selection is done by picking one of the SLF4J bridges and the actual library.
The sample applications of the SDK use log4j, so it is included in the 'lib' folder - and therefore the
'slf4j-log4j12' bridge is also included. For other logging alternatives, see http://slf4j.org.
ANDROID DEVELOPMENT
See REAME-android.txt
CODE GENERATION
The SDK contains the Code Generator, which can be used to create Java classes based on various OPC UA
type definitions provided in information models (in the NodeSet2 XML format). The Code Generator is in
the 'codegen' directory of the SDK package. See the manual in there for more details on how to use it.
KNOWN ISSUES
The following issues are known problems with the OPC Foundation OPC UA Java Stack:
- TLS 1.2 policy required by OPC UA does not work (required ciphers not supported by JSSE)
- TLS 1.2 with PFS is supported and is currently the only one suggested by OPC Foundation. For interoperability issues
the other TLS versions are still included in the default configuration of the samples, for example.
- HTTPS testing is not finished yet with the other stacks and interoperability depends on the availability of
th
没有合适的资源?快使用搜索试试~ 我知道了~
OPCUA2018年10月开发包3.1.6
共100个文件
java:38个
xml:17个
jar:17个
4星 · 超过85%的资源 需积分: 38 29 下载量 120 浏览量
2018-10-28
11:06:21
上传
评论
收藏 40.04MB ZIP 举报
温馨提示
从官网下载的OPCUA2018年10月最新版。 内含java开发所需要的资源及教程 lib:OPCUA的jar samples:例程 tutorial:教程(英文,官方提供) 另外还有 lib-android:用于安卓的sdk codegen:不明用法,内有commandline和maven-integration两个文件夹,估计是用于web开发的。此处还有一份教程,也是英文的。
资源推荐
资源详情
资源评论
收起资源包目录
OPCUA2018年10月开发包3.1.6 (100个子文件)
LICENSE.apache2.0 11KB
codegen.bat 2KB
sampleconsoleclient.bat 916B
simpleclient.bat 902B
sampleconsoleserver.bat 859B
LICENSE.bouncycastle 1KB
prosys-opc-ua-java-sdk-codegen-standalone-3.1.6-177.jar 5.44MB
prosys-opc-ua-java-sdk-codegen-maven-plugin-3.1.6-177.jar 5.37MB
bcprov-jdk15on-1.54.jar 3.13MB
core-1.54.0.0.jar 2.59MB
prosys-opc-ua-java-sdk-client-server-evaluation-3.1.6-542.jar 2.35MB
opc-ua-stack-1.3.345-183.jar 1.71MB
prov-1.54.0.0.jar 1.26MB
pkix-1.54.0.0.jar 743KB
httpclient-4.5.2.jar 719KB
bcpkix-jdk15on-1.54.jar 658KB
log4j-1.2.17.jar 478KB
httpcore-nio-4.4.4.jar 348KB
httpcore-4.4.4.jar 319KB
commons-codec-1.9.jar 258KB
commons-logging-1.2.jar 60KB
slf4j-api-1.7.7.jar 29KB
slf4j-log4j12-1.7.7.jar 9KB
SampleConsoleClient.java 84KB
SampleConsoleServer.java 26KB
MyBigNodeManager.java 23KB
MyNodeManager.java 22KB
FileFolderType.java 19KB
NonUaNodeComplianceNodeManager.java 16KB
MyHistorian.java 14KB
ComplianceNodeManager.java 13KB
FileNodeManager.java 11KB
ValueHistory.java 11KB
MyEventManagerListener.java 9KB
StaticData.java 9KB
MyNodeManagerListener.java 7KB
EventHistory.java 5KB
MyUaClientListener.java 5KB
AnalogData.java 4KB
MyMethodManagerListener.java 4KB
MyCertificateValidationListener.java 4KB
MyIoManagerListener.java 4KB
MyEventType.java 4KB
MyEnumType.java 3KB
AttributeUtil.java 3KB
MySubscriptionNotificationListener.java 3KB
Util.java 3KB
SimpleClient.java 2KB
AnalogItemListenerTemplate.java 2KB
MyUserValidator.java 2KB
NonUaNodeDataItem.java 2KB
MyCertificateValidationListener.java 2KB
MySubscriptionAliveListener.java 2KB
MyServerStatusListener.java 2KB
TwoState.java 1KB
MultiState.java 1KB
MyAnalogItemListener.java 1KB
MyMonitoredEventItemListener.java 1KB
MyMonitoredDataItemListener.java 905B
CommonComplianceInfo.java 464B
package-info.java 135B
Prosys_OPC_UA_Java_SDK_Starting_Guide.pdf 994KB
Prosys_OPC_UA_Java_SDK_Migration_Guide.pdf 200KB
Prosys_OPC_UA_Java_SDK_License.pdf 54KB
Prosys_OPC_UA_Java_SDK_Server_Tutorial.pdf 2.03MB
Prosys_OPC_UA_Java_SDK_Client_Tutorial.pdf 855KB
Prosys_OPC_UA_Java_SDK_Codegen_Manual.pdf 310KB
prosys-opc-ua-java-sdk-codegen-maven-plugin-3.1.6-177.pom 3KB
log4j.properties 1KB
log4j.properties 1KB
codegen.sh 3KB
sampleconsoleserver.sh 358B
sampleconsoleclient.sh 296B
simpleclient.sh 282B
LICENSE.slf4j 1KB
LICENSE.opc.ua.stack 6KB
README-android.txt 1KB
LICENSE.txt 1KB
LICENSE.txt 849B
README.txt 396B
README.txt 8KB
Opc.Ua.NodeSet2.xml 1.59MB
Opc.Ua.NodeSet2.xml 1.59MB
Opc.Ua.Adi.NodeSet2.xml 450KB
Opc.Ua.Adi.NodeSet2.xml 450KB
Opc.Ua.Gds.NodeSet2.xml 199KB
Opc.Ua.Gds.NodeSet2.xml 199KB
Opc.Ua.Di.NodeSet2.xml 96KB
Opc.Ua.Di.NodeSet2.xml 96KB
SampleTypes.xml 82KB
SampleTypes.xml 82KB
Opc.Ua.Plc.NodeSet2.xml 18KB
Opc.Ua.Plc.NodeSet2.xml 18KB
pom.xml 4KB
sampletypesconf_advanced_genalways.xml 1KB
sampletypesconf.xml 1KB
pom.xml 1KB
sampletypesconf_advanced_genonce.xml 1KB
prosys-opc-ua-java-sdk-client-server-evaluation-3.1.6-542-javadoc.zip 12.94MB
opc-ua-stack-1.3.345-183-javadoc.zip 3.9MB
共 100 条
- 1
资源评论
- sun8382020-09-02资料还没看就删了 ,重新下载
曾经我是菜
- 粉丝: 202
- 资源: 26
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功