4

The CRaSH project that used by spring-boot can provides interactive shell for Spring.

And I found that spring-shell have similar features too.

So what is difference between them? Why not spring-boot just using spring-sehll?

Any comments or feedback will be appreciated.

4

1 回答 1

8

我想你误解了 CRaSH 在 Boot 中集成的目的。Boot 提供与 CRaSH 的集成,以便您可以连接到正在运行的应用程序并远程查询管理或其他信息。引导集成还提供自定义命令,以便能够查询可用的执行器端点。

Spring Shell 也是一个交互式 shell,可以使用命令轻松扩展,但它的用途完全不同:CRaSH 允许您与 VM 和安装它的“应用程序”进行交互,而 spring shell 允许您使用您自己的命令为“命令行”应用程序构建您自己的外壳。

于 2014-05-30T15:25:29.733 回答