Download FiguresFactory Free Java Code
Description
Example code illustrating a common design anti pattern dependency injection & ORM leading to value objects + stateless service classes.
Source Files
The download file FiguresFactory-master.zip has the following entries.
.classpath/*from w w w .j a va 2 s. c om*/
.gitignore
.project
README.md
lib/cglib-nodep-2.2.jar
lib/guava-r09.jar
lib/guice-2.0.jar
lib/hamcrest-all-1.2.jar
lib/hibernate-annotations-3.5.6-Final.jar
lib/hibernate-core-3.5.6-Final.jar
lib/hibernate-jpa-2.0-api-1.0.0.Final.jar
lib/jmock-2.6.0-RC1.jar
lib/jmock-legacy-2.6.0-RC1.jar
lib/objenesis-1.2.jar
src/com/example/order/CurrencyException.java
src/com/example/order/OrderProcessingException.java
src/com/example/order/model/Company.java
src/com/example/order/model/Currency.java
src/com/example/order/model/ExchangeRate.java
src/com/example/order/model/FundOfFund.java
src/com/example/order/model/HedgeFundAsset.java
src/com/example/order/model/Position.java
src/com/example/order/model/Price.java
src/com/example/order/model/Trade.java
src/com/example/order/model/TradeOrderType.java
src/com/example/order/processing/Figures.java
src/com/example/order/processing/FiguresFactory.java
src/com/example/order/processing/OrderProcessor.java
src/com/example/order/processing/TradeOrder.java
src/com/example/order/service/FXService.java
src/com/example/order/service/PositionFetcher.java
src/com/example/order/service/PriceFetcher.java
src/com/example/order/service/TradeFactory.java
test/com/example/order/processing/FiguresFactoryTest.java
Download
Click the following link to download FiguresFactory-master.zip.
FiguresFactory-master.zip