There’s an interesting article on the Sun Java site this week about how to use 1.5 Annotations to enforce data constraints on Java Beans. This is a very neat approach to enforcing rules like max lengths on bean properties.
Articles, notes and random thoughts on Software Development and Technology
There’s an interesting article on the Sun Java site this week about how to use 1.5 Annotations to enforce data constraints on Java Beans. This is a very neat approach to enforcing rules like max lengths on bean properties.