如何通过GWT执行Unix shell脚本? [英] How to execute a Unix shell script via GWT?

查看:147
本文介绍了如何通过GWT执行Unix shell脚本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



在某个阶段,我们可以创建一个图形用户界面,它可以帮助我的团队在不使用终端的情况下执行一些罐子(包括所有的验证和东西) gui可以从gui中收集参数并执行它们,例如: - start -Xbootclasspath / p:lib / OB-4.3.4.jar:lib / OBNaming-4.3.4.jar --Dmy .property.ns = corbaloc:iiop:localhost:900 / NameService -Dmachine = energie -Dexecutable = MOREventd -DtypeArbo = 1 -jar MOREventd



我想知道我该怎么做,因为Runtime Exec不能与Google Web Toolkit一起工作)



thx任何帮助。

解决方案

GWT模块需要使用 GWT-RPC RequestFactory 或其他通信包上。服务器将代表浏览器客户端执行命令。


Im building an GUI that will help my team mates to execute some jars without going using the terminal (with all the validating and stuff).

At some stage, the gui sould gather params from the gui and execute them, something like : --start -Xbootclasspath/p:lib/OB-4.3.4.jar:lib/OBNaming-4.3.4.jar -Dmy.property.ns=corbaloc:iiop:localhost:900/NameService -Dmachine=energie -Dexecutable=MOREventd -DtypeArbo=1 -jar MOREventd

I was wondering how could i do that since Runtime Exec doesn't work with Google Web Toolkit)

thx for any help.

解决方案

The GWT module will need to send details about the invocation to a server by using GWT-RPC, RequestFactory, or some other communication package. The server will then execute the commands on behalf of the browser client.

这篇关于如何通过GWT执行Unix shell脚本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆