The code for Chapter 10 – “Interesting Times” – is not on GitHub.
The code for Chapter 7 – Apples and Oranges has been checked into GitHub.
CH 7 – Apples and Oranges
Here, comparing Francs and Dollars (within the Equals) method was a curiousity that was on the task list.
It was an objection – so a test was created, which failed.
This meant getting to green – through a Java mechanism, not a domain (finance) mechanism.
A bit uncomfortable as a solution – but not enough of a motivation to refactor the design just yet – so it is not perfect, but it will suffice for now.
Feedback is welcome.
If you are running JBoss for the first time, and try and open the standard URL http://localhost:8080/ and find that it does not work, then the issue is likely to be the interface that the server is listening on.
The solution is outlined here this thread – where you have to add other interfaces to the standalone.xml in order to make them accessible.
Is a work in progress at the moment…. and has now been made available on GitHub.
It contains some commented code, so that you can revert and walk through the steps that are outlined, if needed.
Comments and questions are welcome.