将 Angular 网络服务连接到 Axon 服务器的教程?

Tutorials for connecting Angular web service to Axon Server?

我想从 Angular 部署我的 UI,Angular 服务器需要连接 Axon 服务器,将命令放在命令总线上。

明确地说,我的沟通路径是这样的:

browser <--> web server (Angular) <--> Axon Server <--> backend services
                                   ^
                                   |
                                   this is where I'm needing help

感谢任何帮助。

我从 Google 小组那里得到了一些关于 Axon 框架的极好的反馈。我在这里发帖是为了让任何路过的人受益:

On Friday, March 8, 2019 at 3:30:42 PM UTC-6, ben.r...@gmail.com wrote:

I believe your <-------h-e-l-p--n-e-e-d-e-d--h-e-r-e--------> is a java based http api. Something like spring boot using a RestAPI which is responsible for producing the commands. handling the events, and updating your projections. At this time, Axon Framework is only available on the JVM.

-Ben

还有这个:

On Monday, March 11, 2019 at 5:22:25 AM UTC-5, Steven van Beelen wrote: Hi Jonathan, Ben,

Ben's point is right, Axon Framework is only available on the JVM. The Axon Server API however is gRPC based, and you could thus connect to it in any language where you can use gRPC.

By the way, the Axon Server API can be found here. I am currently not aware of any tutorial showing you how to do this from JavaScript/Angular; you'd be somewhat of a pioneer, afaik.

That's my two cents.

Cheers, Steven