Hello good people of StackOverflow!
I've tried many tutorials on using JBoss Seam and looked at the "Restbay" example in the Seam distro. But I cannot get a working REST web service with the following tech stack:
- JBoss 4.2.3
- Seam 2.2.*
- Resteasy 2.2.*
- Hibernate 3
- Maven 3 (critical)
The project layout I've been attempting looks like:
ProjX
- pom.xml
- ProjX-ear
- ProjX-ejb
- ProjX-web
The EAR layout looks like:
ProjX.ear
- lib
- META-INF
- ProjX-web.war
- ProjX-ejb.jar
Is this impossible? Ultimately I want to treat my REST resources as Seam action components and reap the benefits of "seamless" injection. Is this an impossible achievement on the mighty JBoss 4.2 Application Server?
(Note: I'm using the maven-ear-plugin to layout my EAR)
[UPDATE: this is not impossible I almost had it! I just ran out of time...]