Menu

doesn't work with tomcat ?

Anonymous
2013-10-04
2013-10-30
  • Anonymous

    Anonymous - 2013-10-04

    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 ?

     
  • Kay Wrobel

    Kay Wrobel - 2013-10-04

    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.

     
  • 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 ?

     
    • Kay Wrobel

      Kay Wrobel - 2013-10-04

      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.

       
    • Kay Wrobel

      Kay Wrobel - 2013-10-18

      NetBeans 7.4 was just release. Just an FYI.

       
  • Kay Wrobel

    Kay Wrobel - 2013-10-25

    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
  • Anonymous

    Anonymous - 2013-10-30

    Great info regarding TomEE

     

Anonymous
Anonymous

Add attachments
Cancel