Scala By the Bay has ended
View analytic
Friday, August 14 • 11:00am - 11:40am
Developing functional domain models with event sourcing

Sign up or log in to save this to your schedule and see who's attending!

Event sourcing persists each entity as a sequence of state changing event. An entity’s current state is derived by replaying the events. Event sourcing is a great way to implement event-driven micro services. When one service updates an entity, the new events are consumed by other services, which then update their own state. In this talk we describe how to implement business logic using a domain model that is based on event sourcing. You will learn how to write functional, immutable domain models in Scala. We will compare and contrast a hybrid OO/FP design with a purely functional approach. You will learn how Domain Driven Design concepts such as bounded contexts and aggregates fit in with event-driven microservices.

avatar for Chris Richardson

Chris Richardson

Founder, Eventuate
Chris Richardson is a developer and architect. He is a Java Champion, a JavaOne rock star and the author of POJOs in Action, which describes how to build enterprise Java applications with frameworks such as Spring and Hibernate. Chris was also the founder of the original CloudFoundry.com... Read More →

Friday August 14, 2015 11:00am - 11:40am
Track B

Attendees (0)