9 Replies Latest reply on Sep 8, 2006 5:42 AM by maxandersen

    Jboss Netbeans IDE

    gumnaam

      I see that a new jboss netbeans IDE is available for download.
      I already have a Netbeans 5.5 beta2 installed, I am only interested
      in adding jboss 4.0.4 with ejb3 support to it.

      Is this doable ? Can I install jboss with ejb3 and add it as a server to an existing netbeans, ?
      what extra functionality does the IDE provide ?

        • 1. Re: Jboss Netbeans IDE

          You can also use your existing JBoss 4.0.4 (with EJB support installed), with an existing NetBeans installation. You can do that by going to Tools -> Server Manager in NetBeans 5.5 builds, clicking "Add Server", choosing "JBoss Application Server 4" and following the wizard. Then you select JBoss as the target server when creating your projects.

          The advantage of the JBoss NetBeans IDE is exactly that you don't need to do the above. Rather than downloading and installing two pieces of software and then wiring them together, you just download and install the JBoss NetBeans IDE in one step and everything is integrated out of the box.

          • 2. Re: Jboss Netbeans IDE
            gumnaam

            thanks for the reply.

            Another question is supporting hibernate persistence API in netbeans/jboss.
            netbeans already has toplink libraries, but not hibernate,
            so does it use jboss's hibernate libraries , or do I need to manually download hibernate jars and use netbeans library manager ?

            thanks
            bhaskar

            • 3. Re: Jboss Netbeans IDE
              maxandersen

              yes, i would like to know that too ;)

              ...but i don't think they have integrated it yet.

              When we get our final version (of hibernate entity manager) out I will push more for it.

              • 4. Re: Jboss Netbeans IDE
                maxandersen

                and the answer is right here:

                http://www.netbeans.org/kb/55/ejb30-jboss.html

                here the screenshots shows Hibernate as an option thus i assume they included it netbeans core too.

                • 5. Re: Jboss Netbeans IDE
                  lkotouc

                  The persistence providers/libraries are automatically found in the JBoss installation directory.
                  Hibernate is a part of the JBoss EJB3 support and is therefore available wherever it is needed, e.g. in the Persistence Unit wizard/editor.

                  • 6. Re: Jboss Netbeans IDE
                    maxandersen

                    ...so hibernate entity manager is not available in netbeans standalone ?

                    how do we get it in there in the same way the reference impl is ? would make very much sense.

                    • 7. Re: Jboss Netbeans IDE
                      gumnaam

                      OK,
                      now every thing is clear to me.

                      1) When using NB + Jboss, nb finds hibernate JPA in jboss' installation .

                      but by default hibernate JPA is not available for nb standalone, to add hibernate JPA to a non jboss project, use this guide.

                      http://www.netbeans.org/kb/articles/hibernate-javaee.html

                      Hopefully there will be an easier way to add JPA providers, in future.

                      • 8. Re: Jboss Netbeans IDE
                        lkotouc

                        to max.andersen@jboss.com:
                        NetBeans 5.5 contains the TopLink libraries only, it is useful for the J2SE projects for example. Hibernate libraries can be added manually using the Library Manager. The libraries which are not part of the server platform must be 'deployed' manually by a user.

                        I don't understand the second part of the comment...could you please clarify your question if it has not been answered yet? Thanks.

                        • 9. Re: Jboss Netbeans IDE
                          maxandersen

                          Yes, I know Toplink libraries are there and usefull for J2SE projects.

                          My question is how we get the Hibernate libraries in there too in the default installation of Netbeans IDE so it is easy to use when doing J2SE projects ?