Thank you for your answer. I'm just not sure if I understood the concept of thread
safety in Seam or when exactly stuff is in- & outjected.
So would a component like this:
@Name("productService")
| @Scope(STATELESS)
| public class ProductServiceBean {
|
| @In private EntityManager em;
| @In private String productId;
|
| @Factory("product")
| public Product getProductById() {
| return em.find(Product.class, productId);
| }
| }
be thread safe ('productId' is my request attribute and 'product' is used
to reference the product in the jsf page)?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988505#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...