I am not able to see scripts folder and chatter.sh file inside the Tutorial folder
所创建的是OpenSpliceDDS教程的精确副本,在$OSPL_HOME/examples/dcps/standalone/Java/Tutorial
发现Tutorial
文件夹。在resful-dds README
和本教程中的描述之间似乎存在不匹配,因为确实没有chatter.sh
。然而,有Tutorial
目录,说明如何运行Chatter
内README.txt
:
Chatter [userid] [username]
userid: an integer number that uniquely identifies the sender of a message
(Transmit a message with userid = -1 to terminate the MessageBoard.)
username: the user-name other chatters will see when they receive one of your
chat messages.
The executables classes are located in the chatroom package, but should be
started from the current directory in the following way:
...
java -classpath $OSPL_HOME/jar/dcpssaj.jar:bld chatroom.Chatter 1 Bill
根据这一程序,你应该能够运行Chatter
。当然,您应该先运行ospl start
来初始化基础架构。
顺便说一句,您不需要运行本教程的java版本 - 任何支持的语言都应该这样做。 OpenSpliceDDS安装本身应该为您提供有关针对不同语言运行Chatter
的更多信息。宁静的DDS web服务将接收在DDS总线上找到的任何数据,并通过HTTP公开它,无论使用何种语言编写原始进程。
当我尝试运行restful-dds-1.1内部的构建文件时显示一些运行时错误,如“java.lang.incompatibleclasschangeerror:found interface com.google.gwt.core.ext.typeinfo.jclasstype,but class was expected”error occurred。 – Bathakarai 2012-07-24 11:38:21
好的,我对此一无所知。我从答案中删除了这个评论。 – 2012-07-24 12:30:50