[jboss-user] [JBoss Seam] - Re: Searchengine friendly links

spambob do-not-reply at jboss.com
Fri Nov 24 21:56:20 EST 2006


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#3988505

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988505



More information about the jboss-user mailing list