Is it possible to call a Seam bean from JAX-RS/WebEngine ?

Are Seam beans exposed through WebEngine ? Restlets have been integrated with Seam, but Nuxeo documentation states that they are replaced by JAX-RS/WebEngine and it seams that Restlets developpment is discouraged now. Thanks

0 votes

1 answers

1876 views

ANSWER



Hi Youri,

It's possible, I've just written a blog post about it: http://dev.blogs.nuxeo.com/2012/09/qa-friday-call-seam-bean-jaxrswebengine.html

You can do direct lookup in Seam contexts, and you can retrieve the conversation id from the request. So you might have to do some plumbing but it should work :)

0 votes