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:
The project layout I've been attempting looks like:
ProjX
The EAR layout looks like:
ProjX.ear
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...]
Long time ago that you asked, but maybe you are still interested to hear (if you haven't already found out for yourself) that Seam 2.3 is available in alpha version, which is based on a maven build.
Besides that you should definitely abandon JBoss 4.x and at least take 5.1.
And if you use REST webservices, you may as well take a bigger step and switch to Java EE 6.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With