|
From: Olivier B. <ol...@mu...> - 2008-07-07 23:07:54
|
I have added the missing building block to my spring-hibernate example. I have also fixed the main pom file which had an error in it. The new client module shows how to use embedded jetty6 in Junit4 by leveraging Spring autowiring features (need to read this line more than twice....). It shows then a very simple example that pulls the rest interface via the resteasy client proxy. Use of embedded jetty4 was chosen over embedded resteasy http server in order to mimic what would be closer to a production environment test, it also shows how to use embedded jetty in a Spring configuration. Seraching the web, I had never really found a complete example on how to use it, so I thought someone would appreciate this.... Enjoy! Olivier |