Jonathan M
Jonathan M

Reputation: 17451

Tutorials for connecting Angular web service to Axon Server?

I'd like to deploy my UI from Angular, and the Angular server needs to connect with the Axon Server, putting commands on the command bus.

To be clear, my communication path looks like this:

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

Any help is appreciated.

Upvotes: 0

Views: 272

Answers (1)

Jonathan M
Jonathan M

Reputation: 17451

I got some excellent feedback from Google groups for Axon Framework. I'm posting here to benefit anyone that stops by:

On Friday, March 8, 2019 at 3:30:42 PM UTC-6, [email protected] 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

And this one:

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

Upvotes: 2

Related Questions