0 Replies Latest reply on Jan 4, 2007 6:58 AM by Torsten Völker

    Type safe bean interfaces (Java 5)

    Torsten Völker Newbie

      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