Java Reference
In-Depth Information
</dependency>
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jackson-provider</artifactId>
<version> ${version.resteasy-client}</version>
</dependency>
<dependency>
<groupId>com.packtpub.wflydevelopment.chapter7</groupId>
<artifactId>ticket-agency-ws</artifactId>
<version>1.0</version>
</dependency>
</dependencies>
If you have any problems with the creation of the POM file, you can look it up in the
samples that are distributed with this topic.
Now simply run your application, and you should see something similar to the following
console output:
AccountDto [balance=100]
=== Current status:
SeatDto [id=1, name=Stalls, price=40, booked=false]
SeatDto [id=2, name=Stalls, price=40, booked=false]
SeatDto [id=3, name=Stalls, price=40, booked=false]
SeatDto [id=4, name=Stalls, price=40, booked=false]
SeatDto [id=5, name=Stalls, price=40, booked=false]
SeatDto [id=6, name=Circle, price=20, booked=false]
SeatDto [id=7, name=Circle, price=20, booked=false]
Adding AngularJS
Our samples for the REST integration are not very spectacular. However, because we ex-
pose the functionality of our application via a REST API, it is easy to create a non-Java
GUI, which can be used to control the application.
Search WWH ::




Custom Search