文章列表
我想利用Java6的自定义annotation生成一些系统相关的配置信息,但是我注解了属性后为什么在对属性进行遍历拿他们的注解时都显示没有注解过,代码如下,希望大家帮我看看。
package com.vanphoo.jqgrid;
import java.lang.annotation.Annotation;
import java.lang.reflect.Field;
public class User {
@Index(indexName="用户")
private String name;
@Index(indexName = "性别& ...
整个J2ee规范实际上就是一部组件编写及组件之间的依赖关系的规范,正如书中所说:
Application logic is divided into components according to function,and the various application components that make up a Java EE application are installed on different machines depending on the tier in the multitiered Java EE environment to which the applicati ...