开发者

Externalise validation rules JSF

开发者 https://www.devze.com 2023-03-06 10:42 出处:网络
we want to do business rule validat开发者_如何学Pythonion outside our java code using some xml etc.we are using Spring 3.1 and JSF 2.0.i tried to search but cudn\'t found concrete on placing business

we want to do business rule validat开发者_如何学Pythonion outside our java code using some xml etc.we are using Spring 3.1 and JSF 2.0.i tried to search but cudn't found concrete on placing business rule outside our java code.i will thankful if someone can provide direaction for this


I know this isn't exactly what you are looking for but you can use Hibernate annotations in place of hard coded validators in JSF 2.

These are just a few examples of this.

http://weblogs.java.net/blog/urubatan/archive/2006/09/aspectj_hiberna.html

http://docs.jboss.org/seam/1.1GA/reference/en/html/validation.html

0

精彩评论

暂无评论...
验证码 换一张
取 消