4 Replies Latest reply on Feb 28, 2011 4:57 AM by gmkumar2005

    Hibenate or EJB3 in gatein?

    marcosl_sl

      I am working in new portal, and I have to choice a persintence api. What do you think about? Hibernate or EJB3? Someone use EJB3? The performance is good? Hibernate is default in gatein? I appreciate the time service and mdb in EJB3, but I do not know if the configuration is difficult. Someone use Seam with portlets? What do yo say about that?

      Thanks!

        • 1. Hibenate or EJB3 in gatein?
          prabhat.jha

          No preference when it comes to GateIn.

           

          Yes, you can use Seam in GateIn with the help of JBoss PortletBridge (http://www.jboss.org/portletbridge)

          1 of 1 people found this helpful
          • 2. Hibenate or EJB3 in gatein?
            gmkumar2005

            I would go with JPA. Jboss any way uses hibernate as underlining technology. When you need specific featuers of hibernate it can still be accessed via JPA.

            --Kiran.Kumar

            • 3. Hibenate or EJB3 in gatein?
              marcosl_sl

              Thanks for your answer, but someone know if the performance of Seam is good compared with Hibernate+Spring+JSF?

               

              Thanks!

              • 4. Hibenate or EJB3 in gatein?
                gmkumar2005

                Marcos,

                Performance is not a criteria for choosing a framework. There will be nodifference in performance between spring and seam.

                You gain perfomance when you apply right kind of abstrtactions. For eg: there is no difference between performance of jsp vs jsf. JSF provides numerous abstractions which allows for effective performace and scalability with relatively less efforts.

                 

                In short when you want to build standard based enterprise applications which are higly scalable  you choose seam.

                If you are building web application spring is a good choice.

                Kiran.Kumar