Jee-restfull-example is a project mainly written in ..., it's free.
Example of Restfull Application using JPA, EJB and Injection