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); }