Using Google channel api on the client side by emb

2019-08-16 16:24发布

I am just experimenting about and I want to know whether it will be possible (and if possible how should I go about it?) to create a desktop client which will use javascript embedded in java using rhino or simply the inbuilt libraries(which are rhino again anyway) to successfully open and maintain an instance of the Channel API for google app engine?

1条回答
疯言疯语
2楼-- · 2019-08-16 16:44

It's probably possible, but only with a great deal of difficulty. The javascript library expects to be run in a browser, so it expects things like the DOM to be available; you may have to provide some or all of this in order to get it to run.

查看更多
登录 后发表回答