@@ -0,0 +1,847 @@
+package org.fedorahosted.flies.core.action;%0A%0Aimport javax.persistence.EntityManager;%0Aimport javax.ws.rs.GET;%0Aimport javax.ws.rs.Path;%0Aimport javax.ws.rs.PathParam;%0Aimport javax.ws.rs.ProduceMime;%0A%0Aimport org.fedorahosted.flies.core.model.Project;%0Aimport org.fedorahosted.flies.core.model.ProjectSeries;%0Aimport org.fedorahosted.flies.core.model.ProjectTarget;%0Aimport org.jboss.seam.annotations.In;%0Aimport org.jboss.seam.annotations.Name;%0Aimport org.jboss.seam.annotations.Out;%0A%0A@Name(%22projectResource%22)%0A@Path(%22/project%22)%0Apublic class ProjectResource %7B%0A  %0A  @In%0A  private EntityManager entityManager;%0A%0A  @Out(required = false)%0A  private Project project;%0A  %0A  @GET%0A  @Path(%22/%7BprojectId%7D%22)%0A  @ProduceMime(%22text/plain%22)%0A  public Project getProject(@PathParam(%22projectId%22) long id) %7B%0A     return project = entityManager.find(Project.class, id);%0A  %7D%0A%0A%7D%0A%0A

Add a Resources class of REST