I have been reluctant to add support for this because SpringMVC and Seam already have integration with RESTeasy to do the same. Maybe you're saying these frameworks are too "heavy" and you want something lighter? ;-)
Seriously though, I guess I don't mind adding some simple stuff.
Hi Bill,
Excellent work on the RESTEasy project.
I'm really glad to see JAX-RS and REST in general getting more attention and good implementations in the Java space.
Speaking of the RESTeasy/Seam integration, I evaluated this recently and was unable to inject a Seam instance into a REST resource so we ended up using Jersey and doing JNDI lookups for plain SLSBs in our resource constructors. Not a bad solution but we had to refactor our application and now we have a layer of stateless EJB code below the Seam-enabled EJB layer. It would have been nice to reuse all the Seam classes we wrote unmodified.
It looks like the Seam development team has made
progress since we last evaluated the state of things. I think the holy grail (for me) of annotation-based dependency injection using @EJB and @In in a JAX-RS resource class is much closer now. I'm looking forward to trying it out again in the future.
Keep up the good work!
Ian
--
Ian Hlavats
JSFToolbox for Dreamweaver