Hi, nice people StackOverflow!
I tried a lot of tutorials on using JBoss Seam and looked at the "Restbay" example in the Seam distribution. But I can’t get a working REST web service with the following technical stack:
- JBoss 4.2.3
- Seam 2.2. *
- Resteasy 2.2. *
- Hibernate 3
- Maven 3 (critical)
The layout of the project I'm trying looks like this:
Projx
- pom.xml
- Projx ear
- Projx-ejb
- Projx web
The EAR scheme looks like this:
Projx.ear
- Lib
- META-INF
- Projx-web.war
- Projx-ejb.jar
It's impossible? Ultimately, I want to handle REST resources as components of a Seam action and take advantage of seamless injection. Is this an impossible achievement on a powerful JBoss 4.2 application server?
(Note: I am using the maven-ear plugin to build my EAR)
[UPDATE: this is not impossible, I almost did it! I just ran out of time ...]
source share