Download polyglot restaurant Free Java Code
Description
Example code for my polyglot persistence presentation.
Source Files
The download file polyglot-restaurant-master.zip has the following entries.
.gitignore/* ww w.j ava 2s . c om*/
README.md
available-restaurant-common/META-INF/MANIFEST.MF
available-restaurant-common/pom.xml
available-restaurant-common/src/main/java/META-INF/MANIFEST.MF
available-restaurant-common/src/main/java/net/chrisrichardson/polyglotpersistence/availablerestaurantmanagement/domain/AvailableRestaurant.java
available-restaurant-common/src/main/java/net/chrisrichardson/polyglotpersistence/availablerestaurantmanagement/domain/DeliveryTime.java
available-restaurant-common/src/main/java/net/chrisrichardson/polyglotpersistence/availablerestaurantmanagement/domain/MenuItem.java
available-restaurant-common/src/main/java/net/chrisrichardson/polyglotpersistence/availablerestaurantmanagement/domain/Restaurant.java
available-restaurant-common/src/main/java/net/chrisrichardson/polyglotpersistence/availablerestaurantmanagement/domain/RestaurantRepository.java
available-restaurant-common/src/main/java/net/chrisrichardson/polyglotpersistence/availablerestaurantmanagement/domain/SimpleAvailableRestaurantRepository.java
available-restaurant-common/src/main/java/net/chrisrichardson/polyglotpersistence/availablerestaurantmanagement/domain/TimeRange.java
available-restaurant-common/src/main/java/net/chrisrichardson/polyglotpersistence/availablerestaurantmanagement/redis/config/RedisConfiguration.java
available-restaurant-common/src/main/java/net/chrisrichardson/polyglotpersistence/availablerestaurantmanagement/redis/domain/SimpleAvailableRestaurantRepositoryImpl.java
available-restaurant-common/src/main/java/net/chrisrichardson/polyglotpersistence/availablerestaurantmanagement/redis/json/AvailableRestaurantObjectMapperFactory.java
available-restaurant-common/src/main/java/net/chrisrichardson/polyglotpersistence/availablerestaurantmanagement/redis/util/AvailableRestaurantKeys.java
available-restaurant-common/src/main/java/net/chrisrichardson/polyglotpersistence/availablerestaurantmanagement/redis/util/RedisEntityKeyFormatter.java
available-restaurant-common/src/main/java/net/chrisrichardson/polyglotpersistence/availablerestaurantmanagement/redis/util/RedisUtil.java
available-restaurant-common/src/main/java/net/chrisrichardson/polyglotpersistence/util/Address.java
available-restaurant-common/src/main/java/net/chrisrichardson/polyglotpersistence/util/DateTimeUtil.java
available-restaurant-common/src/main/resources/appctx/services.xml
available-restaurant-common/src/main/resources/log4j.properties
available-restaurant-common/src/test/java/net/chrisrichardson/polyglotpersistence/availablerestaurantmanagement/domain/RestaurantMother.java
available-restaurant-common/src/test/java/net/chrisrichardson/polyglotpersistence/availablerestaurantmanagement/domain/RestaurantTestData.java
available-restaurant-common/src/test/java/net/chrisrichardson/polyglotpersistence/availablerestaurantmanagement/redis/AbstractAvailableRestaurantRepositoryTest.java
available-restaurant-common/src/test/java/net/chrisrichardson/polyglotpersistence/availablerestaurantmanagement/redis/AvailableRestaurantRepositoryRedisImplTest.java
available-restaurant-common/src/test/java/net/chrisrichardson/polyglotpersistence/availablerestaurantmanagement/testutil/DatabaseInitializer.java
available-restaurant-common/src/test/java/net/chrisrichardson/polyglotpersistence/availablerestaurantmanagement/testutil/IdentityAssigner.java
available-restaurant-common/src/test/java/net/chrisrichardson/polyglotpersistence/availablerestaurantmanagement/testutil/RedisDatabaseInitializer.java
available-restaurant-management/manifest.yml
available-restaurant-management/pom.xml
available-restaurant-management/src/main/java/net/chrisrichardson/polyglotpersistence/availablerestaurantmanagement/AvailableRestaurantManagementMain.java
available-restaurant-management/src/main/java/net/chrisrichardson/polyglotpersistence/availablerestaurantmanagement/AvailableRestaurantManagementService.java
available-restaurant-management/src/main/java/net/chrisrichardson/polyglotpersistence/availablerestaurantmanagement/AvailableRestaurantManagementServiceImpl.java
available-restaurant-management/src/main/java/net/chrisrichardson/polyglotpersistence/availablerestaurantmanagement/CreateTransaction.java
available-restaurant-management/src/main/java/net/chrisrichardson/polyglotpersistence/availablerestaurantmanagement/RedisTransaction.java
available-restaurant-management/src/main/java/net/chrisrichardson/polyglotpersistence/availablerestaurantmanagement/UpdateTransaction.java
available-restaurant-management/src/main/resources/appctx/subscriber-messaging.xml
available-restaurant-management/src/main/resources/log4j.properties
available-restaurant-management/src/test/java/net/chrisrichardson/polyglotpersistence/availablerestaurantmanagement/AvailableRestaurantManagementAmqpIntegrationTest.java
available-restaurant-management/src/test/java/net/chrisrichardson/polyglotpersistence/availablerestaurantmanagement/AvailableRestaurantManagementServiceIntegrationTest.java
available-restaurant-management/src/test/java/net/chrisrichardson/polyglotpersistence/availablerestaurantmanagement/JsonEntityCrudEventMother.java
available-restaurant-webapp/manifest.yml
available-restaurant-webapp/pom.xml
available-restaurant-webapp/src/main/java/net/chrisrichardson/polyglotpersistence/availablerestaurant/webapp/AvailableRestaurantController.java
available-restaurant-webapp/src/main/java/net/chrisrichardson/polyglotpersistence/availablerestaurant/webapp/AvailableRestaurants.java
available-restaurant-webapp/src/main/java/net/chrisrichardson/polyglotpersistence/availablerestaurant/webapp/FindAvailableRestaurantsRequest.java
available-restaurant-webapp/src/main/java/net/chrisrichardson/polyglotpersistence/availablerestaurant/webapp/RestaurantController.java
available-restaurant-webapp/src/main/java/net/chrisrichardson/polyglotpersistence/restaurantmanagement/services/RestaurantService.java
available-restaurant-webapp/src/main/java/net/chrisrichardson/polyglotpersistence/restaurantmanagement/services/RestaurantServiceImpl.java
available-restaurant-webapp/src/main/resources/appctx/services.xml
available-restaurant-webapp/src/main/resources/log4j.xml
available-restaurant-webapp/src/main/resources/servlet-context.xml
available-restaurant-webapp/src/main/webapp/META-INF/MANIFEST.MF
available-restaurant-webapp/src/main/webapp/WEB-INF/web.xml
available-restaurant-webapp/src/test/java/net/chrisrichardson/polyglotpersistence/availablerestaurant/webtests/AvailableRestaurantWebTest.java
common/pom.xml
common/src/main/java/META-INF/MANIFEST.MF
common/src/main/java/net/chrisrichardson/polyglotpersistence/common/JacksonHelper.java
common/src/main/resources/appctx/services.xml
crud-events/pom.xml
crud-events/src/META-INF/MANIFEST.MF
crud-events/src/main/java/META-INF/MANIFEST.MF
crud-events/src/main/java/net/chrisrichardson/crudevents/events/EntityCrudEvent.java
crud-events/src/main/java/net/chrisrichardson/crudevents/events/EntityCrudEventType.java
crud-events/src/main/java/net/chrisrichardson/crudevents/events/JsonEntityCrudEvent.java
end-to-end-cf-test/pom.xml
end-to-end-cf-test/src/test/java/net/chrisrichardson/polyglotrestaurant/test/RestaurantEndToEndCfTest.java
end-to-end-cf-test/src/test/resources/createrestauranttemplate.json
end-to-end-test/pom.xml
end-to-end-test/src/test/java/net/chrisrichardson/polyglotrestaurant/test/EndToEndRestaurantTest.java
hibernate-crud-events/pom.xml
hibernate-crud-events/src/main/java/META-INF/MANIFEST.MF
hibernate-crud-events/src/main/java/net/chrisrichardson/crudevents/changetracking/hibernate/ChangeTrackingListener.java
hibernate-crud-events/src/main/java/net/chrisrichardson/crudevents/repository/EntityCrudEventRepository.java
hibernate-crud-events/src/main/java/net/chrisrichardson/crudevents/repository/hibernate/EntityCrudEventRepositoryJdbcImpl.java
hibernate-crud-events/src/main/resources/appctx/services.xml
hibernate-crud-events/src/main/resources/hbm/EntityCrudEvent.hbm.xml
order-taking-frontend/.gitignore
order-taking-frontend/app/.vmcignore
order-taking-frontend/app/app.js
order-taking-frontend/app/coffee/app.coffee
order-taking-frontend/app/manifest.yml
order-taking-frontend/app/npm-shrinkwrap.json
order-taking-frontend/app/package.json
order-taking-frontend/config/testacular-e2e.conf.js
order-taking-frontend/config/testacular.conf.js
order-taking-frontend/test/applib/angular/angular-cookies.js
order-taking-frontend/test/applib/angular/angular-cookies.min.js
order-taking-frontend/test/applib/angular/angular-loader.js
order-taking-frontend/test/applib/angular/angular-loader.min.js
order-taking-frontend/test/applib/angular/angular-resource.js
order-taking-frontend/test/applib/angular/angular-resource.min.js
order-taking-frontend/test/applib/angular/angular-sanitize.js
order-taking-frontend/test/applib/angular/angular-sanitize.min.js
order-taking-frontend/test/applib/angular/angular.js
order-taking-frontend/test/applib/angular/angular.min.js
order-taking-frontend/test/applib/angular/version.txt
order-taking-frontend/test/lib/angular/angular-mocks.js
order-taking-frontend/test/lib/angular/angular-scenario.js
order-taking-frontend/test/lib/angular/version.txt
order-taking-ui/.bowerrc
order-taking-ui/.editorconfig
order-taking-ui/.gitattributes
order-taking-ui/.gitignore
order-taking-ui/.jshintrc
order-taking-ui/Gruntfile.js
order-taking-ui/app/.buildignore
order-taking-ui/app/.htaccess
order-taking-ui/app/404.html
order-taking-ui/app/favicon.ico
order-taking-ui/app/index.html
order-taking-ui/app/robots.txt
order-taking-ui/app/scripts/app.js
order-taking-ui/app/scripts/controllers/main.js
order-taking-ui/app/scripts/services/deliveryinfoutils.js
order-taking-ui/app/scripts/services/orderstate.coffee
order-taking-ui/app/scripts/services/services.js
order-taking-ui/app/styles/bootstrap.css
order-taking-ui/app/styles/main.css
order-taking-ui/app/views/aboutus.html
order-taking-ui/app/views/displayavailable.html
order-taking-ui/app/views/displaymenu.html
order-taking-ui/app/views/enterdeliveryinformation.html
order-taking-ui/app/views/help.html
order-taking-ui/app/views/howitworks.html
order-taking-ui/app/views/orderconfirmation.html
order-taking-ui/app/views/orderfinalsummary.html
order-taking-ui/app/views/ordersummary.html
order-taking-ui/bower.json
order-taking-ui/component.json
order-taking-ui/karma-e2e.conf.js
order-taking-ui/karma.conf.js
order-taking-ui/package.json
order-taking-ui/stubserver/app.js
order-taking-ui/stubserver/coffee/app.coffee
order-taking-ui/test/e2e/scenarios.js
order-taking-ui/test/runner.html
order-taking-ui/test/spec/controllers/controllersSpec.js
order-taking-ui/test/spec/services/DeliveryInfoUtilsSpec.js
order-taking-ui/test/spec/services/OrderStateSpec.js
pom.xml
restaurant-event-publisher/manifest.yml
restaurant-event-publisher/pom.xml
restaurant-event-publisher/src/main/java/net/chrisrichardson/polyglotpersistence/restauranteventpublisher/EntityCrudEventProcessor.java
restaurant-event-publisher/src/main/java/net/chrisrichardson/polyglotpersistence/restauranteventpublisher/EventDeliveryServiceImpl.java
restaurant-event-publisher/src/main/java/net/chrisrichardson/polyglotpersistence/restauranteventpublisher/EventManagementService.java
restaurant-event-publisher/src/main/java/net/chrisrichardson/polyglotpersistence/restauranteventpublisher/RedisUpdater.java
restaurant-event-publisher/src/main/java/net/chrisrichardson/polyglotpersistence/restauranteventpublisher/RestaurantEventPublisherMain.java
restaurant-event-publisher/src/main/resources/appctx/event-publisher-session-factory.xml
restaurant-event-publisher/src/main/resources/appctx/publisher-messaging.xml
restaurant-event-publisher/src/main/resources/appctx/services.xml
restaurant-event-publisher/src/main/resources/log4j.properties
restaurant-event-publisher/src/test/java/net/chrisrichardson/polyglotpersistence/restauranteventpublisher/Restaurant.java
restaurant-event-publisher/src/test/java/net/chrisrichardson/polyglotpersistence/restauranteventpublisher/RestaurantEventPublisherIntegrationTest.java
restaurant-management-domain/pom.xml
restaurant-management-domain/src/main/java/META-INF/MANIFEST.MF
restaurant-management-domain/src/main/java/net/chrisrichardson/polyglotpersistence/ordermanagement/domain/DeliveryInfo.java
restaurant-management-domain/src/main/java/net/chrisrichardson/polyglotpersistence/ordermanagement/domain/Order.java
restaurant-management-domain/src/main/java/net/chrisrichardson/polyglotpersistence/ordermanagement/domain/OrderLineItem.java
restaurant-management-domain/src/main/java/net/chrisrichardson/polyglotpersistence/ordermanagement/domain/OrderRepository.java
restaurant-management-domain/src/main/java/net/chrisrichardson/polyglotpersistence/ordermanagement/domain/OrderState.java
restaurant-management-domain/src/main/java/net/chrisrichardson/polyglotpersistence/ordermanagement/domain/PaymentInformation.java
restaurant-management-domain/src/main/java/net/chrisrichardson/polyglotpersistence/ordermanagement/hibernate/HibernateOrderRepositoryImpl.java
restaurant-management-domain/src/main/java/net/chrisrichardson/polyglotpersistence/ordermanagement/service/OrderInfo.java
restaurant-management-domain/src/main/java/net/chrisrichardson/polyglotpersistence/ordermanagement/service/OrderLineItemInfo.java
restaurant-management-domain/src/main/java/net/chrisrichardson/polyglotpersistence/ordermanagement/service/OrderManagementService.java
restaurant-management-domain/src/main/java/net/chrisrichardson/polyglotpersistence/ordermanagement/service/OrderManagementServiceImpl.java
restaurant-management-domain/src/main/java/net/chrisrichardson/polyglotpersistence/restaurantmanagement/domain/MenuItem.java
restaurant-management-domain/src/main/java/net/chrisrichardson/polyglotpersistence/restaurantmanagement/domain/Restaurant.java
restaurant-management-domain/src/main/java/net/chrisrichardson/polyglotpersistence/restaurantmanagement/domain/RestaurantRepository.java
restaurant-management-domain/src/main/java/net/chrisrichardson/polyglotpersistence/restaurantmanagement/domain/TimeRange.java
restaurant-management-domain/src/main/java/net/chrisrichardson/polyglotpersistence/restaurantmanagement/hibernate/HibernateRestaurantRepositoryImpl.java
restaurant-management-domain/src/main/java/net/chrisrichardson/polyglotpersistence/restaurantmanagement/redis/RestaurantManagementRedisConfiguration.java
restaurant-management-domain/src/main/java/net/chrisrichardson/polyglotpersistence/restaurantmanagement/redis/RestaurantObjectMapperFactory.java
restaurant-management-domain/src/main/java/net/chrisrichardson/polyglotpersistence/restaurantmanagement/service/RestaurantManagementService.java
restaurant-management-domain/src/main/java/net/chrisrichardson/polyglotpersistence/restaurantmanagement/service/RestaurantManagementServiceImpl.java
restaurant-management-domain/src/main/java/net/chrisrichardson/polyglotpersistence/util/Address.java
restaurant-management-domain/src/main/resources/appctx/restaurant-management-session-factory.xml
restaurant-management-domain/src/main/resources/appctx/services.xml
restaurant-management-domain/src/main/resources/hbm/HibernateMenuItem.hbm.xml
restaurant-management-domain/src/main/resources/hbm/HibernateRestaurant.hbm.xml
restaurant-management-domain/src/main/resources/hbm/Order.hbm.xml
restaurant-management-domain/src/main/resources/log4j.properties
restaurant-management-domain/src/test/java/net/chrisrichardson/polyglotpersistence/restaurantmanagement/RestaurantManagementServiceIntegrationTest.java
restaurant-management-domain/src/test/java/net/chrisrichardson/polyglotpersistence/restaurantmanagement/domain/RestaurantMother.java
restaurant-management-domain/src/test/resources/appctx/test-services.xml
restaurant-management-webapp/manifest.yml
restaurant-management-webapp/pom.xml
restaurant-management-webapp/src/main/java/net/chrisrichardson/polyglotpersistence/ordermanagement/webapp/OrderCrudController.java
restaurant-management-webapp/src/main/java/net/chrisrichardson/polyglotpersistence/restaurantmanagement/webapp/RestaurantCrudController.java
restaurant-management-webapp/src/main/resources/log4j.xml
restaurant-management-webapp/src/main/resources/servlet-context.xml
restaurant-management-webapp/src/main/webapp/META-INF/MANIFEST.MF
restaurant-management-webapp/src/main/webapp/WEB-INF/web.xml
restaurant-management-webapp/src/test/createrestaurant.sh
restaurant-management-webapp/src/test/java/net/chrisrichardson/polyglotpersistence/restaurantmanagement/webapp/tests/RestaurantManagementWebTest.java
restaurant-management-webapp/src/test/resources/samplejson/createajanta.json
restaurant-management-webapp/src/test/resources/samplejson/updateajanta.json
restaurant-management-webapp/src/test/scripts/createrestaurant.sh
restaurant-management-webapp/src/test/scripts/updaterestaurant.sh
vmc_all
webtestutil/pom.xml
webtestutil/src/main/java/net/chrisrichardson/polyglotpersistence/webtestutil/JettyLauncher.java
Download
Click the following link to download polyglot-restaurant-master.zip.
polyglot-restaurant-master.zip