Onjava: Using Metadata to verify data

xiaoxiao2021-03-06  40

Many developers are constantly complaining that they have to manage the number of XML configuration files. As Java New JDK (Tiger) brings new metadata, the public configuration under the framework will be written to the Java source code via annotation. In this article we will review existing configuration data management through an example of a data verification framework, and the metadata will bring us benefits. Many developers have been complaining about having to manage numerous XML configuration files alongside their Java code. With the recent addition of metadata to Java, common configuration details in frameworks can now be rolled right into your Java files through annotations. For a brief introduction to metadata And Annotations, See Sun's Article "J2SE 5.0 in A Nutshell."

In this Article, We Well Summarize How Configuration Data IS Managed Today Metadata Will Offer in The Future, Followed by Annotation, Fulty

Original text:

http://www.onjava.com/pub/a/onjava/2005/01/19/metadata_validation.html

(Another: ANNOTATION will also be discussed in the second phase of Java e-magazine

转载请注明原文地址:https://www.9cbs.com/read-63202.html

New Post(0)