2 Replies Latest reply on Oct 21, 2005 1:08 PM by java.jago

    I use the JBossIDE and Test EJB3 - Annotation Help

    java.jago

      1. Is there a concisive overview (document) of all Annotations and what they mean ???

      2. @OneToMany (cascade = CascadeType.ALL, fetch = FetchType.EAGER)

      Could I directly get a help for e.g. @OneToMany or CascadeType.ALL directly in Eclipse ? With normal Classes etc. the JavaDoc is shown when I hover above the class - given the sources of this class are attached.

      What do I have to do to attach somehow the sources for the EJB3 libraries in order to get this help messages ???

      Cheers,
      jago

        • 1. Re: I use the JBossIDE and Test EJB3 - Annotation Help
          maxandersen

          1. go read ejb3 spec and hibernate annotations docs

          2. yes, you need to add the source of these annotations. works like a charm. This is done as with any other jar in eclipse - right click and specify the source location.

          • 2. Re: I use the JBossIDE and Test EJB3 - Annotation Help
            java.jago

            Sure i is done easily...but from where do I get the sources ???

            Because some of the stuff we are using with EJB3 is not from JBoss but from third-party like Sun.

            E.g.: If you download the source of the JBoss AS - you have a folder thirdparty - in there is e.g. ejb-annotations.jar (NO Source - .class files). I would need the Source...

            For:

            ejb3-persistence.jar
            ejb3-annotations.jar

            From where to get ??? All my Internet research doesn`t work...

            Cheers,
            jago