0 Replies Latest reply on Jan 4, 2007 6:58 AM by tvoelker

    Type safe bean interfaces (Java 5)

    tvoelker

      Latest JBoss IDE versions support type safe business methods e.g. like

      /**
       * only for testing
       * @ejb.interface-method view-type = "both"
       * @ejb.permission role-name = "Default"
       */
       public ArrayList<String> getSomeStrings()
       {
       ...
       }
      

      But the interface methods will be always generated unsafe like
      /**
       * only for testing
       */
       public java.util.ArrayList getSomeStrings( )
       throws java.rmi.RemoteException;
      

      Is this a known problem or is something wrong with my xdoclet configuration?
      Thanks in advance
      Torsten