[jboss-dev-forums] [Design of JCA on JBoss] - idea about JCA and 303 integration
jeff.zhang
do-not-reply at jboss.com
Wed Jul 29 06:39:09 EDT 2009
We have 4 test case of BeanValidation include standard303, user303 and negative standard and user.
So we can do validation in sjc. Here is my idea:
1. Create a class list contain all need validated beans (follow 322 spec)
2. find the testcase rar (get File reference from sjc)
3. list all files()classes) in rar
4. load classes (by classloader from sjc) and judge this class should be validated (step 1)
5. if need, create a bean instance and merge the metadata infomation (ConnectorMetadata and JBossRAMetadata by sjc)
6. do validation using hibernate validation v4
7. return the result.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246658#4246658
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246658
More information about the jboss-dev-forums
mailing list