Jbilling +红宝石
是否有现成的解决方案(gems、插件、库等)用于集成 ruby (rails) 应用程序和 jbilling?
我什至没有找到 ruby 的 api 客户端。
我需要有人分享他的整合经验。 Jbilling 有 Web 服务(SOAP、Java RMI、Burlap),但没有特定的 gem 可以通过 API 轻松访问和编辑数据。
JRuby 1.6.0 已于昨天发布。
jbilling 手册中的行“所有 API 类都位于 jBilling 中的 jbilling_api.jar 文件中 分配。 该 API 还使用了多个第三方库,例如 Log4j 库和 Commons Logging,提供强大的日志基础设施;春天,哪个 处理配置和远程处理; CXF,一个 SOAP 库;和黑森州,对于 粗麻布/粗麻布支持。因此,您需要提供 log4j.jar、commons- 类路径中的logging.jar和spring.jar文件(如果您的项目还没有) 包括他们。 “
在 jruby Rails 应用程序中包含如此多的 jar 是一个好的做法吗?
Are there ready solutions (gems, plugins, libraries, etc) for integration ruby (rails) applications and jbilling?
I didn't find even api client for ruby.
I need someone to share his experience with integration. Jbilling has web-service (SOAP ,Java RMI, Burlap) but there is no specific gem for easy accessing and editing data via API.
JRuby 1.6.0 was Released yesterday.
Lines from jbilling manual "All of the API classes are located in the jbilling_api.jar file located in your jBilling
distribution.
The API also makes use of several third-party libraries, such as the Log4j library and
Commons Logging, which provides a powerful logging infrastructure; Spring, which
handles configuration and remoting; CXF, a SOAP library; and Hessian, for
Hessian/Burlap support. You'll therefore need to provide the log4j.jar, commons-
logging.jar and spring.jar files in your class path, if your project does not already
include them.
"
Is that good practice to include so many jars in jruby rails application ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以尝试让您的应用程序在 JRuby 上运行并直接使用 Java 库。出于类似的原因,我们对自己的应用程序做了一个实验分支,并在此过程中发现了一些有用的项目:
最终我们没有选择 JRuby,原因有多种,但不一定是技术性质的。
You can try making your app run on JRuby and using the Java libraries directly. We did an experimental branch of our own app for a similar reason and found some useful projects in the process:
In the end we didn't go for JRuby, for various reasons that weren't necessarily of a technical nature.
你用的是什么版本的jB?您可以使用此项目作为示例来进行集成。
您还可以使用 wsdl2 java 实用程序从头开始构建这样的项目。通常,您可以在 localhost:8080/jbilling/services/jbilling?wsdl 访问 jBilling wsdl,假设 jb 正在本地端口 8080 上运行。
What version of jB are you using? You could use this project as an example to do your integration.
You can also build such a project from scratch using wsdl2 java utility. Typically, you can access jBilling wsdl at localhost:8080/jbilling/services/jbilling?wsdl assuming jb is running on your local at port 8080.