Getting Started with Spring State Machine

preview_player
Показать описание
In this video, I introduce you to Spring State Machine. Learn what a State Machine is. You will see how to configure Spring State Machine and use Spring Boot to persist data to an in memory database (Via Spring Data JPA).

Рекомендации по теме
Комментарии
Автор

thanks soooo much, this is exaclty what i need. Thanks god people like u exist and 'invest' thier time to distribute knowledge

angeloamati
Автор

Omg. This is the best explanation of Spring State Machine ever. Thanks for your professional videos on Spring!

senior_hatrik
Автор

@Spring Framework Guru - Excellent Tutorial on Spring State Machine. **btw noticed 1:00:51 - 1:05:40 - section on sendEvent() is a repeat.

poeticsense
Автор

Thanks for sharing this. I'm sure you could develop an entire course around all the features of SSM. I look forward to it!

RabbleInArms
Автор

Thumbs Up to this video. I was working on a use case and this video helped me with the needed information. Thank you!

RajaPandianCRP
Автор

I bought two of your courses on udemy because of this video. Keep up the great work

wtfogafrospice
Автор

Thank you for the video ... Awesomely described and able to make a small project out of this. Again simply WOW 😊

satamguin
Автор

Very good demo explained the concepts clearly

sandeepkumar-bljb
Автор

Can you show others features from ssm, like guard, trigger, fork and join? Thank you and great job!

krlsdu
Автор

Can we use Spring Statemachine for micro service based architecture where output of each service can considered as a state. If possible please share any example or reference.

khileshsahu
Автор

A great source to get started.
One question: It seems to me a bit strange to send an event from within an action, cause as far as i understood, the actions should be state-agonistic so that they can be reused in different transitions.
Why arent't you using a guard for checking the amount? - Seems to me the cleaner approach.

TomSeidelDresden
Автор

In what context is this feature used within a SB application?

kennethcarvalho
Автор

There is now repository support in Spring SM.

jakobsaternus
Автор

I feel like the order of the transition config could be order in an easier to understand manner. If I am not mistaken, basically the configuration translates to:

If the specified EVENT was called, and the state is SOURCE, then do this ACTION and change the state to the TARGET. So a better order would be:


I feel like this is much more readable. That aside, thanks a lot for the video! It made this overwhelming concept much easier.

MahmoodAl-haddad
Автор

Hi John,
Whenever I'm trying to run the Junit test for StateMachineConfigTest class I'm getting
for this line in my application:


StateMachine<PaymentState, PaymentEvent> sm =


I've Autowired the StateMachineFactory

ajayjumbad
Автор

I am getting an error where I am unable to transition to Autorize. Can anyone share the code base link on github ?

adilod
Автор

thanks, it helps me understand a lot.

brunodz
Автор

Is it possible to use Spring Statemachine without spring? e.g. in Quarkus?

ItIsHidden
Автор

35:35 Unit test, can you do a tutorial on unit tests?

lsaackrpruto
Автор

Where's the state stored? Do we need persistence, redis?

mauriciotoledo