Download cqrs lottery Free Java Code
Description
Java example Domain Driven Design Command Query Responsibility Separation.
Icons
Source Files
The download file cqrs-lottery-master.zip has the following entries.
README//from www . jav a2s. co m
cqrs-example/.gitignore
cqrs-example/pom.xml
cqrs-example/src/main/java/com/xebia/lottery/commands/Command.java
cqrs-example/src/main/java/com/xebia/lottery/commands/CreateCustomerCommand.java
cqrs-example/src/main/java/com/xebia/lottery/commands/CreateLotteryCommand.java
cqrs-example/src/main/java/com/xebia/lottery/commands/DrawLotteryCommand.java
cqrs-example/src/main/java/com/xebia/lottery/commands/LotteryCommand.java
cqrs-example/src/main/java/com/xebia/lottery/commands/PurchaseTicketCommand.java
cqrs-example/src/main/java/com/xebia/lottery/commands/ValidationError.java
cqrs-example/src/main/java/com/xebia/lottery/domain/aggregates/Customer.java
cqrs-example/src/main/java/com/xebia/lottery/domain/aggregates/CustomerFactory.java
cqrs-example/src/main/java/com/xebia/lottery/domain/aggregates/Lottery.java
cqrs-example/src/main/java/com/xebia/lottery/domain/aggregates/LotteryTicket.java
cqrs-example/src/main/java/com/xebia/lottery/domain/commandhandlers/CreateCustomerCommandHandler.java
cqrs-example/src/main/java/com/xebia/lottery/domain/commandhandlers/CreateLotteryCommandHandler.java
cqrs-example/src/main/java/com/xebia/lottery/domain/commandhandlers/DrawLotteryCommandHandler.java
cqrs-example/src/main/java/com/xebia/lottery/domain/commandhandlers/PurchaseLotteryTicketCommandHandler.java
cqrs-example/src/main/java/com/xebia/lottery/domain/eventstore/XStreamEventSerializer.java
cqrs-example/src/main/java/com/xebia/lottery/events/CustomerBalanceChangedEvent.java
cqrs-example/src/main/java/com/xebia/lottery/events/CustomerCreatedEvent.java
cqrs-example/src/main/java/com/xebia/lottery/events/CustomerEvent.java
cqrs-example/src/main/java/com/xebia/lottery/events/LotteryCreatedEvent.java
cqrs-example/src/main/java/com/xebia/lottery/events/LotteryEvent.java
cqrs-example/src/main/java/com/xebia/lottery/events/LotteryTicketPrizeAwardedEvent.java
cqrs-example/src/main/java/com/xebia/lottery/events/LotteryTicketPurchasedEvent.java
cqrs-example/src/main/java/com/xebia/lottery/queries/CustomerAccountQueryResult.java
cqrs-example/src/main/java/com/xebia/lottery/queries/CustomerTicketsQueryResult.java
cqrs-example/src/main/java/com/xebia/lottery/queries/LotteryInfoQueryResult.java
cqrs-example/src/main/java/com/xebia/lottery/queries/LotteryQueryService.java
cqrs-example/src/main/java/com/xebia/lottery/reporting/eventhandlers/CustomerBalanceChangedEventHandler.java
cqrs-example/src/main/java/com/xebia/lottery/reporting/eventhandlers/CustomerCreatedEventHandler.java
cqrs-example/src/main/java/com/xebia/lottery/reporting/eventhandlers/LotteryCreatedEventHandler.java
cqrs-example/src/main/java/com/xebia/lottery/reporting/eventhandlers/LotteryTicketPurchasedEventHandler.java
cqrs-example/src/main/java/com/xebia/lottery/reporting/queries/JdbcLotteryQueryService.java
cqrs-example/src/main/java/com/xebia/lottery/shared/Address.java
cqrs-example/src/main/java/com/xebia/lottery/shared/CustomerInfo.java
cqrs-example/src/main/java/com/xebia/lottery/shared/LotteryInfo.java
cqrs-example/src/main/java/com/xebia/lottery/ui/AbstractLotteryPage.html
cqrs-example/src/main/java/com/xebia/lottery/ui/AbstractLotteryPage.java
cqrs-example/src/main/java/com/xebia/lottery/ui/CustomerTicketsPage.html
cqrs-example/src/main/java/com/xebia/lottery/ui/CustomerTicketsPage.java
cqrs-example/src/main/java/com/xebia/lottery/ui/CustomersPage.html
cqrs-example/src/main/java/com/xebia/lottery/ui/CustomersPage.java
cqrs-example/src/main/java/com/xebia/lottery/ui/LotteriesPage.html
cqrs-example/src/main/java/com/xebia/lottery/ui/LotteriesPage.java
cqrs-example/src/main/java/com/xebia/lottery/ui/PurchaseTicketPage.html
cqrs-example/src/main/java/com/xebia/lottery/ui/PurchaseTicketPage.java
cqrs-example/src/main/java/com/xebia/lottery/ui/WicketApplication.java
cqrs-example/src/main/resources/log4j.properties
cqrs-example/src/main/webapp/WEB-INF/application-context.xml
cqrs-example/src/main/webapp/WEB-INF/web.xml
cqrs-example/src/main/webapp/images/botbg.jpg
cqrs-example/src/main/webapp/images/hidr.jpg
cqrs-example/src/main/webapp/images/midbg.jpg
cqrs-example/src/main/webapp/images/minimal.jpg
cqrs-example/src/main/webapp/images/topbg.jpg
cqrs-example/src/main/webapp/style.css
cqrs-example/src/test/java/com/xebia/lottery/domain/aggregates/BddTestCase.java
cqrs-example/src/test/java/com/xebia/lottery/domain/aggregates/GivenUpcomingLotteryWhenCustomerPurchasesLotteryTicket.java
cqrs-example/src/test/java/com/xebia/lottery/domain/aggregates/WhenCustomerIsCreated.java
cqrs-example/src/test/java/com/xebia/lottery/domain/aggregates/WhenLotteryIsCreated.java
cqrs-example/src/test/java/com/xebia/lottery/domain/eventstore/XStreamEventSerializerTest.java
cqrs-example/src/test/java/com/xebia/lottery/reporting/queries/JdbcLotteryQueryServiceTest.java
cqrs-example/src/test/java/com/xebia/lottery/ui/LotteriesPageTest.java
cqrs-example/src/test/java/com/xebia/lottery/ui/LotteryPageTestCase.java
cqrs-example/src/test/java/com/xebia/lottery/ui/Start.java
cqrs-example/src/test/resources/test-application-context.xml
cqrs-framework/.gitignore
cqrs-framework/pom.xml
cqrs-framework/src/main/java/com/xebia/cqrs/bus/AbstractHandler.java
cqrs-framework/src/main/java/com/xebia/cqrs/bus/Bus.java
cqrs-framework/src/main/java/com/xebia/cqrs/bus/BusSynchronization.java
cqrs-framework/src/main/java/com/xebia/cqrs/bus/Handler.java
cqrs-framework/src/main/java/com/xebia/cqrs/bus/LocalInMemoryBus.java
cqrs-framework/src/main/java/com/xebia/cqrs/bus/MessageHandlingException.java
cqrs-framework/src/main/java/com/xebia/cqrs/bus/Response.java
cqrs-framework/src/main/java/com/xebia/cqrs/dao/RepositoryImpl.java
cqrs-framework/src/main/java/com/xebia/cqrs/domain/Aggregate.java
cqrs-framework/src/main/java/com/xebia/cqrs/domain/AggregateRoot.java
cqrs-framework/src/main/java/com/xebia/cqrs/domain/AggregateRootNotFoundException.java
cqrs-framework/src/main/java/com/xebia/cqrs/domain/Entity.java
cqrs-framework/src/main/java/com/xebia/cqrs/domain/Event.java
cqrs-framework/src/main/java/com/xebia/cqrs/domain/Notification.java
cqrs-framework/src/main/java/com/xebia/cqrs/domain/Repository.java
cqrs-framework/src/main/java/com/xebia/cqrs/domain/ValueObject.java
cqrs-framework/src/main/java/com/xebia/cqrs/domain/VersionedId.java
cqrs-framework/src/main/java/com/xebia/cqrs/eventstore/EventSerializer.java
cqrs-framework/src/main/java/com/xebia/cqrs/eventstore/EventSink.java
cqrs-framework/src/main/java/com/xebia/cqrs/eventstore/EventSource.java
cqrs-framework/src/main/java/com/xebia/cqrs/eventstore/EventStore.java
cqrs-framework/src/main/java/com/xebia/cqrs/eventstore/inmemory/InMemoryEventStore.java
cqrs-framework/src/main/java/com/xebia/cqrs/eventstore/jdbc/JdbcEventStore.java
cqrs-framework/src/main/java/com/xebia/cqrs/util/EqualsSupport.java
cqrs-framework/src/main/java/log4j.properties
cqrs-framework/src/test/java/com/xebia/cqrs/bus/LocalInMemoryBusTest.java
cqrs-framework/src/test/java/com/xebia/cqrs/dao/RepositoryImplTest.java
cqrs-framework/src/test/java/com/xebia/cqrs/domain/AggregateRootTest.java
cqrs-framework/src/test/java/com/xebia/cqrs/domain/FakeAggregateRoot.java
cqrs-framework/src/test/java/com/xebia/cqrs/domain/GreetingEvent.java
cqrs-framework/src/test/java/com/xebia/cqrs/domain/GreetingNotification.java
cqrs-framework/src/test/java/com/xebia/cqrs/domain/VersionedIdTest.java
cqrs-framework/src/test/java/com/xebia/cqrs/eventstore/AbstractEventStoreTest.java
cqrs-framework/src/test/java/com/xebia/cqrs/eventstore/inmemory/InMemoryEventStoreTest.java
cqrs-framework/src/test/java/com/xebia/cqrs/eventstore/jdbc/JdbcEventStoreTest.java
cqrs-framework/src/test/resources/test-application-context.xml
pom.xml
Download
Click the following link to download cqrs-lottery-master.zip.
cqrs-lottery-master.zip