Hi, I used to generate JSF pages from entities in older versions of netbeans with tomcat.
Now I have 7.3 but I think it won't let me.
It tells me that i need an EE server... is that right ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yep. Tomcat has not been recognized by NetBeans as an application server for quite a while now. There's a reason, though: standard Tomcat does not provide the full EE spec, but just the web server spec of Java EE. There is a Tomcat-based EE implementation called TomEE, but NetBeans has not recognized it either. TomEE is basically Tomcat + OpenEJB + a bunch of other libraries that extend its features to Java EE spec.
Hope that helps.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2013-10-04
So, there's no way I could use this tool right ?
I'm using netbeans 7.0 that allows me to generate JSF Pages from entities... Is there a version of your tool for NB 7.0 ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Unfortunately, I don't have a version that works for your version of Netbeans. You could try to update to 7.3.1. I just uploaded a new version that supports the new PrimeFaces 4.0 and JSF 2.2 libraries. I have to say, 7.0 is pretty old by today's standards. If there's any way you could upgrade, I'd strongly recommend it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Everybody: watch out for the next major NetBeans release. It will include proper TomEE support, including adding data sources during entity generation from database. It adds the resources.xml file for that, too. I've tested their dev snapshot today, and it's there! Yehey!
Also, OpenJPA had one or two niggles in their release that I helped them square away. So the next TomEE release will include a patched version of OpenJPA. The issue there was with the @Basic(optional = false) annotation on an @Id field causing issues with a new, unmanaged entity object during the merge operation. That's now fixed and will be part of the next OpenJPA release and also TomEE release.
Last edit: Kay Wrobel 2013-10-25
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2013-10-30
Great info regarding TomEE
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I used to generate JSF pages from entities in older versions of netbeans with tomcat.
Now I have 7.3 but I think it won't let me.
It tells me that i need an EE server... is that right ?
Yep. Tomcat has not been recognized by NetBeans as an application server for quite a while now. There's a reason, though: standard Tomcat does not provide the full EE spec, but just the web server spec of Java EE. There is a Tomcat-based EE implementation called TomEE, but NetBeans has not recognized it either. TomEE is basically Tomcat + OpenEJB + a bunch of other libraries that extend its features to Java EE spec.
Hope that helps.
So, there's no way I could use this tool right ?
I'm using netbeans 7.0 that allows me to generate JSF Pages from entities... Is there a version of your tool for NB 7.0 ?
Unfortunately, I don't have a version that works for your version of Netbeans. You could try to update to 7.3.1. I just uploaded a new version that supports the new PrimeFaces 4.0 and JSF 2.2 libraries. I have to say, 7.0 is pretty old by today's standards. If there's any way you could upgrade, I'd strongly recommend it.
NetBeans 7.4 was just release. Just an FYI.
Everybody: watch out for the next major NetBeans release. It will include proper TomEE support, including adding data sources during entity generation from database. It adds the resources.xml file for that, too. I've tested their dev snapshot today, and it's there! Yehey!
Also, OpenJPA had one or two niggles in their release that I helped them square away. So the next TomEE release will include a patched version of OpenJPA. The issue there was with the @Basic(optional = false) annotation on an @Id field causing issues with a new, unmanaged entity object during the merge operation. That's now fixed and will be part of the next OpenJPA release and also TomEE release.
Last edit: Kay Wrobel 2013-10-25
Great info regarding TomEE