[jboss-dev-forums] [Design of POJO Server] - Re: Deploying ValidatorFactory
epbernard
do-not-reply at jboss.com
Thu Aug 6 10:55:13 EDT 2009
"alesj" wrote : "epbernard" wrote :
| | Do you know how things are push to JNDI
| |
| Sure. There is 1M ways to do it. ;-)
|
Dude I have 2 millions things to do, am juggling with 8+ code bases atm, need to finish the spec, help finish the EE6 integration, waste time in political BS and prepare my move all that under a very very tight schedule.
Can you show me one way to do it (like an example, existing code or something)?
anonymous wrote :
| "epbernard" wrote :
| | is that the deployer's responsibility?
| |
| Do you want it to be?
|
| Or we can leave it to services (its containers) to push it.
| Or what does the spec say? :-)
|
I just want to do what's recommended in AS, what is the recommended approach?
The way the specs are worded and the APIs are designed, the container needs to push a ValidatorFactory into JPA and JSF at their respective initialization time. The container also has to make VF available via JNDI and let it be injectable via @Resource.
Aside from these constraints, we can do what we want.
anonymous wrote :
| "epbernard" wrote :
| | I don't know the AS structure, where should such a code live on?
| |
| It can be here:
| - http://anonsvn.jboss.org/repos/jbossas/projects/
| Or it can even live in your BV code, as a separate module.
|
| The only thing that is important is that it's properly pushed into our mvn repo.
got it, we'll put it in http://anonsvn.jboss.org/repos/jbossas/projects/
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4248504#4248504
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4248504
More information about the jboss-dev-forums
mailing list