服务/订阅管理器引擎
是否有一个好的开源服务/订阅管理器引擎,其中包含服务依赖项(即,如果我选择服务 A,我还需要服务 B 和服务 C)、订阅类型、启动和终止等内容......
我正在构建一个网站销售各种服务和订阅,并且希望不必编写该代码,因为我很确定它已经完成了很多次(例如在电子商务软件中),但我更喜欢一个小型库/引擎,而不是拥有与电子商店集成。
Is there a good opensource service/subscription manager engine that contains things like service dependencies (i.e. if I choose service A, I also need Service B and Service C), subscription types, start and termination etc...
I'm building a site that sells various services and subscriptions and would prefer not to have to write that code as I'm pretty sure it's been done many times over (e.g. in e-commerce sw), but I'd prefer a small library / egine instead of having to integrate with an e-shop.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您的“服务”只是 Java 类/包/模块,那么您可以使用 Spring 或任何其他支持生命周期连接的 DI 容器。
如果“服务”指的是大型/臃肿/企业化的东西,您也可以查看OSGI。
但对于小型/库引擎,我建议您查看 plexus 和 picocontainer。
If your "Service" is just Java classes/package/modules then you can use Spring or any other DI container that supports lifecycle hookups.
If by "Service" you mean something big/bloated/enterprise you can also look into OSGI.
But for a small/library engine I suggest you look at plexus and picocontainer.