0 Replies Latest reply on Nov 8, 2007 5:53 PM by starksm64

    isCMP1x()

    starksm64

      Alexey, this update to return true for a null cmp-version when its not a 2x ejb also returns true for a 3x ejb deployment. Should this also be checking for isEJB3x() and returning false if that is true?

       public boolean isCMP1x()
       {
       if(cmpVersion == null)
       {
       if(getEjbJarMetaData().isEJB2x())
       return false;
       else
       return true;
       }
       return "1.x".equals(cmpVersion);
       }