gSoap 可以与 Google 应用引擎集成吗?
我们正在使用GAE来托管我们的Web服务,据我所知GAE目前仅支持Java和Python,但是我们这里的大多数工程师更熟悉C/C++,所以我想知道是否有一种方法可以集成gsoap 与 GAE 根本没有关系。感谢您的帮助!
We are using GAE to host our web services, as far as I know GAE only support Java and python at the moment, however most of our engineers here are more comfortable with C/C++, so i was wondering if there is a way to integrate gsoap with GAE at all. Thanks for your help!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
尽管我不是 Google App Engine 方面的专家,但您不太可能在应用程序引擎中使用本机 C++ 代码。根据Tomcat等应用程序引擎的经验,应用程序引擎的目的是让您的应用程序在自己的小沙箱中的共享服务上运行,以便它不会影响其他共享服务。使用 C++,您可以获得指向进程内存开头的指针,并根据需要开始写入零。事实证明,这在共享计算环境中效果不佳。
应用程序引擎页面指示 Java 和 Python 运行时环境可用。我已经使用 C++ 多年,并且是 gSoap 的忠实粉丝,但我认为这些工具目前最好在有限的情况下使用。无论如何,Java 的 Web 服务在启动时间方面与 gSoap 没有太大区别。
我已经将 Axis2 用于 Java Web 服务,并且使用起来并不困难。然而,我认为它过于复杂且记录不足。我在 PHP 下使用过 WSO2,它的易用性给我留下了深刻的印象。 WSO2 构建在 Axis 之上,并且也有一个 Java 端口(尽管我没有使用过)。如果您的工程师想要深入研究,WSO2 可能是最简单的途径。
激励他们可能很困难,但我的看法是,如果他们是真正的软件工程师,那么他们就不会有适应问题。
这可能也有帮助:http://code.google.com/appengine/文档/java/overview.html
Though I am not an expert at Google App Engine, it is unlikely you'd be able to use native C++ code in the app engine. Based on experience with an app engine like Tomcat, the purpose of application engines is to make your application run on a shared service in its own little sandbox so that it can't affect the other shared services. With C++, you can get a pointer to the beginning of the process memory and start writing zeros if you so desired. This doesn't turn out to work too well in a shared computing environment.
The app engine pages indicate Java and Python runtime environments are available. I've been using C++ for many years and am a big fan of gSoap, but I think these are tools best used in limited cases these days. Web services for Java aren't that much different from gSoap in terms of ramp-up time anyway.
I've used Axis2 for Java web services and it isn't that difficult to use. However, I think it suffers from being overly complex and under documented. I have used WSO2 under PHP and was impressed with how easy it was to use. WSO2 is built on top of Axis and has a Java port too (though I have not used it). If your engineers want to dig in, WSO2 is probably going to be the easiest route.
Motivating them might be hard, but my take is that if they are real software engineers then they won't have a problem adapting.
This might be helpful too: http://code.google.com/appengine/docs/java/overview.html
简短的答案是否定的,Google-App 引擎的功能非常有限(您甚至无法动态创建新文件)。
The short answer is No, Google-App engine is very limited with what you can do (you can't even dynamically create new files).