很明显这是个第三方的类。还得从http://docs.jboss.org/ejb3/tutorial/stateless/stateless.html 去找。

解决方案 »

  1.   

    The Stateless annotation specifies that the enterprise bean is a stateless session bean. This annotation is applied to the bean class.@Target(TYPE) @Retention(RUNTIME)
    public @interface Stateless {
        String name() default "";
        TransactionManagementType transactionManagement()
            default CONTAINER;
    }看来是EJB3.0 的新玩意。
      

  2.   

    j2nix(八月清秋) 
    你这个源码是从什么地方copy过来的亚,能告诉我吗?
      

  3.   

    是在ejb-3_0-edr-spec.pdf中找到的一段。http://docs.jboss.org/ejb3/
    下面第一项。
      

  4.   

    URL http://voxel.dl.sourceforge.net/sourceforge/jboss/jboss-EJB-3.0_Preview.zip
    我找到了,呵呵,谢谢帮助。