问题标签 [amdatu]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
jax-rs - Amdatu 休息示例不起作用?
我用 amdatu-bootstrap jar 文件创建了一个 bnd-workspace。然后创建了一个测试休息项目和一个 bnd 运行描述符文件来测试它。当我运行运行描述符文件并导航到http://localhost:8080/test时,我遇到了 404 页面 :(。
以下是我为此采取的详细步骤:
- 下载并使用bootstrap-bin-r9.zip
- 在 Amdatu Bootstrap UI 中,为了初始化工作区,我使用“amdatu”模板发布了“workspace-init”
- 然后我用“project-create”命令创建了一个项目“osgi.test”
- 然后我使用“rest-createcomponent”命令创建了一个带有“/test”作为url的测试组件“tmp.Test”
- 然后我使用“rest-install”命令添加了其余所需的依赖项
- 然后我用 org.apache.felix.framework;version='[5.2.0,5.2.0]' 和 Java-1.8 创建了 launcher.bndrun 作为 OSGI 框架。
- 然后我用“rest-run”命令将需要的库添加到launcher.bndrun
- 然后我用“shell-run”命令添加了gogo和dm shell
测试组件:
以下是捆绑包列表:
这是“dm”命令的结果
当我导航到http://localhost:8080/test时,会显示以下错误
任何帮助表示赞赏。
java - 使用泽西岛的 Amdatu Web
Amdatu web 使用 apache wink 在 OSGi 中创建 restful web 应用程序。最近 Apache Wink 项目退休了——我不知道具体原因。
我的问题是:我可以将 apache web 用于我的生产 OSGi 应用程序吗?amdatu web 中的 RETIRED apache wink 是否稳定用于生产?如果不是,如何使用泽西岛等其他休息提供者?
谢谢