-
1. Re: Jboss Netbeans IDE
pjiricka Sep 6, 2006 12:33 PM (in response to gumnaam)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 Sep 6, 2006 5:00 PM (in response to 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 Sep 6, 2006 7:16 PM (in response to gumnaam)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 Sep 7, 2006 1:59 AM (in response to gumnaam)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 Sep 7, 2006 4:31 AM (in response to gumnaam)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 Sep 7, 2006 5:12 AM (in response to gumnaam)...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 Sep 7, 2006 10:30 AM (in response to 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 Sep 8, 2006 5:38 AM (in response to gumnaam)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 Sep 8, 2006 5:42 AM (in response to gumnaam)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 ?