1 Reply Latest reply on Jun 15, 2003 12:30 AM by IPOz

    About build a java bean directly in memory

    IPOz Newbie

      Maybe it is simple question? However i really want to know how to create a bean class in memory ?
      For example,
      public class TestBean
      {
      private String _a;

      public String getA() { return _a;}
      public void setA(String a) {_a = a}
      }

      As i donot know the attributes at compiling time,so i need to build the class in memory at run time. Do i need to use aop tool to do it ?


      thanks in advance