[jboss-dev-forums] [Design of POJO Server] - Re: Deploying ValidatorFactory

stan.silvert@jboss.com do-not-reply at jboss.com
Thu Aug 13 09:05:40 EDT 2009


"alesj" wrote : "epbernard" wrote : In EE6 ValidatorFactory and Validator are services available to:
  |   |  - other services like JCA, JPA, JSF 2 (typically available before these)
  |   | 
  | Are there some rules for which deployments should we bind this?
  | e.g. like you already list it - do it for jca, jpa, jsf2, ...; and if none of such "markers" is present, don't bind it

Some questions:
Does it hurt anything to go ahead and put a VF in JNDI for all deployments?  
If we did bind a VF for all, would there be much of a perf hit?
If we did bind a VF for all, would finding the markers be more expensive than just creating and binding a VF?

FYI, the marker for JSF is the presence of a FacesServlet declaration.  This is complicated in Servlet 3.0 by the fact that this declaration could be in a web-fragment.xml inside WEB-INF/lib/*.jar.  However, I assume that this declaration will be available in metadata anyway, so maybe it's not so bad. 

Stan

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249406#4249406

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



More information about the jboss-dev-forums mailing list