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

stan.silvert@jboss.com do-not-reply at jboss.com
Tue Aug 18 08:31:23 EDT 2009


"alesj" wrote : "stan.silvert at jboss.com" wrote : Because I don't yet have a JSFDeployer, I do this in our JSF ServletContextListener.  The only way I can do it is to create the VF myself or get it from JNDI.
  |   | Stan
  | Not true. ;-)
  | 
  | You can use my MC-int/servlet code and get VF from DeploymentUnit or VFF for that matter.
  | You should definitely not create it yourself, if we want to have a common VF for the whole module.
  | 
  | For MC-int usage see here:
  |  - http://anonsvn.jboss.org/repos/jbossas/projects/mc-tools/grapher/trunk/src/main/java/org/jboss/mctools/grapher/GrapherServlet.java
  | VDFConnector as an entry point.
Is that better than getting it from JNDI?

Stan

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

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



More information about the jboss-dev-forums mailing list