-
1. Re: JBoss + JSF + persistance?
smokingapipe Jun 20, 2006 9:29 PM (in response to smokingapipe)Another simple question: My overall goal is to use JSF to build an application with persistence. I was going to use Hibernate (which I am familiar with) but that does not seem like a good way to go, because there isn't a natural way for JSF backing beans to deal with Hibernate Sessions. It looks like using EJB within an app server is the way to go. Hence JBoss.
From reading on the web, it seems like this is possible. JBoss (apparently) supports EJB 3.0, which has a persistence layer similar to Hibernate. JBoss also ships with the Apache MyFaces JSF implementation. So it seems like you should be able to get all three in one places: JSF, EJB, and of course the persistence that goes with it.
Can anyone confirm that it is actually possible to use all these things together? I have been working on getting a Hello World app to run for the past couple of days. All I get are exceptions. Please let me know if this is possible, or should I be doing something else. Are there any simple example application templates I could start with, which will work?
I just find I'm getting exceptions which are impossible to debug unless I start diving into the enormous code base that is JBoss, etc.