5 Replies Latest reply on Jun 1, 2006 1:08 PM by epbernard

    Using sun's jee.jar with JBoss

    sateh

      Sun ships a jee.jar with their JEE5 SDK that contains all the APIs and annotations for JEE5. Is it safe to use that jar with a JBoss EJB3 RC7 project?

      S.

        • 1. Re: Using sun's jee.jar with JBoss
          sateh

          Sorry I meant the javaee.jar

          S.

          • 2. Re: Using sun's jee.jar with JBoss
            starksm64

            Without looking at it, no as it could container configuration and implementation details that conflict, not to mention that its introducing duplicate classes.

            • 3. Re: Using sun's jee.jar with JBoss
              sateh

               

              "scott.stark@jboss.org" wrote:
              Without looking at it, no as it could container configuration and implementation details that conflict, not to mention that its introducing duplicate classes.


              Scott, I looked at the jar file in more detail. It just contains interfaces and annotations from the EJB3 spec.

              So I think the real question is, does JBoss use the same spec :-) Is Sun still being difficult about this so that you guys have to type over the interfaces from the paper version?

              Oh, I'm only using this to compile. It is a 'provided by app server' kind of dependency in my Maven project.

              S.


              • 4. Re: Using sun's jee.jar with JBoss
                sateh

                 

                "scott.stark@jboss.org" wrote:
                Without looking at it, no as it could container configuration and implementation details that conflict, not to mention that its introducing duplicate classes.


                Scott, I looked at the jar file in more detail. It just contains interfaces and annotations from the EJB3 spec.

                So I think the real question is, does JBoss use the same spec :-) Is Sun still being difficult about this so that you guys have to type over the interfaces from the paper version?

                Oh, I'm only using this to compile. It is a 'provided by app server' kind of dependency in my Maven project.

                S.


                • 5. Re: Using sun's jee.jar with JBoss
                  epbernard

                  Actually, I've seen some minor differences for Hibernate EntityManager.
                  They, for whatever reason decided not to put a Throwable constructor in some of the PersistenceException subclasses (not defined by the spec). The version in SVN is fine though.