-
1. Re: Help Please - jsfejb3 AS 5 Example Broken
jaikiran Aug 2, 2009 9:57 AM (in response to davidmzen)Where is this example that you are using? In some documentation?
-
2. Re: Help Please - jsfejb3 AS 5 Example Broken
davidmzen Aug 2, 2009 12:14 PM (in response to davidmzen)There are two examples, both of which are very broken. They both ship directly in the JBoss AS 5.1.0.GA download. (they both appear to require the JBOSS Seam distribution to be installed although this is not described in the documentation)
C:\jboss-5.1.0.GA\docs\examples\jsfejb3 - this supposedly shows an example of JSP/Facelets and EJB3
C:\jboss-5.1.0.GA\docs\examples\seamejb3 - this supposedly shows the same thing using SEAM -
3. Re: Help Please - jsfejb3 AS 5 Example Broken
jaikiran Aug 2, 2009 2:47 PM (in response to davidmzen)Are you sure that's where you got those from? I don't see any jsfejb3 or seamejb3 folders under my AS 5.1.0 docs/examples folder.
-
4. Re: Help Please - jsfejb3 AS 5 Example Broken
jaikiran Aug 2, 2009 2:57 PM (in response to davidmzen)A bit of googling and your other post in a different sub-forum here shows me that you are probably using the examples and the guide from AS 4.x against AS 5.x. I am not sure those instructions are up-to-date. In my spare time i will try to give to examples a try and update this thread and the wiki.
-
5. Re: Help Please - jsfejb3 AS 5 Example Broken
davidmzen Aug 2, 2009 8:38 PM (in response to davidmzen)Thanks for your help.. let me try to address your comments
"..probably using the examples and the guide from AS 4.x against AS 5.x"
The JBOSS AS 5.1 download I have comes from :
http://sourceforge.net/projects/jboss/files/JBoss/JBoss-5.1.0.GA/jboss-5.1.0.GA-jdk6.zip/download
The doc re the JSF/EJB3 example is here (and appears to be intended to be AS 5 specific) :
http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Installation_And_Getting_Started_Guide/5/html/Sample_JSF_EJB3_Application.html
and for the SEAM example
http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Installation_And_Getting_Started_Guide/5/html/Using_Seam.html
I did finally get the JSF/EJB3 example working. There are numerous problems with it but the most major is the ant WAR task places the bean class in the wrong location.
I tried the SEAM JSF/EJB3 example but if failed with some incomprehensible messages so if I get some more time I'll fight with it some more then..
I guess I'm surprised these examples don't work.. I would have expected many people to try them as the first thing to get working. (Indeed there are numerous references to these examples working on google). In my case I was hoping to use them as a quick way to learn about JSF and JBOSS and actually have some working code to play with. So since I don't know JSF/Facelets/EJB3/SEAM etc its very painful to have to debug what should work out of the box. -
6. Re: Help Please - jsfejb3 AS 5 Example Broken
davidmzen Aug 2, 2009 8:43 PM (in response to davidmzen)Hi again - I double checked and sure enough the examples ARE NOT in the distribution as I had thought. It appears I downloaded something called
gettingstarted.zip (and I'll try to find from where).
However, as mentioned the standard AS 5 doc does references the examples. -
7. Re: Help Please - jsfejb3 AS 5 Example Broken
davidmzen Aug 2, 2009 8:50 PM (in response to davidmzen)Yes you are right - these are AS 4.3 examples.
http://www.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/4.3.0.cp06/gettingstarted.zip
So I think what confused me is that the AS 5 doc references and describes the examples so when I could not find them a searched from them and did not notice they were 4.3 sepcific.
So Question : is there examples like these for AS 5? The advantage of the examples is that they are very simple and should provide a quick way to learn the basics of JSF/Facelets/SEAM/EJB3 etc. At least to have working code that then can be modified and played with. -
8. Re: Help Please - jsfejb3 AS 5 Example Broken
jaikiran Aug 4, 2009 1:46 AM (in response to davidmzen)"DavidMZen" wrote:
So Question : is there examples like these for AS 5?
Right now, no. Those examples aren't available in AS 5."DavidMZen" wrote:
The advantage of the examples is that they are very simple and should provide a quick way to learn the basics of JSF/Facelets/SEAM/EJB3 etc.
If you want only EJB3 tutorials for AS5, they are here http://www.jboss.org/ejb3/docs/. But i agree that the JSF and Seam examples that you referring are good ones too. Maybe they will be available for As 5 in future. -
9. Re: Help Please - jsfejb3 AS 5 Example Broken
peterj Aug 4, 2009 11:18 AM (in response to davidmzen)I know that the JBoss Tools tutorials cover JSF and Seam, you could give them a try. For AS 5.1.0, I recommend Tools 3.1M2, which requires Eclipse 3.5 (Galileo). The Getting Started guide has installation instructions and both Seam and JSF tutorials.
http://docs.jboss.org/tools/3.1.0.M2/ -
10. Re: Help Please - jsfejb3 AS 5 Example Broken
german1983 Aug 16, 2009 1:08 PM (in response to davidmzen)"DavidMZen" wrote:
Yes you are right - these are AS 4.3 examples.
http://www.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/4.3.0.cp06/gettingstarted.zip
I think I have downloaded the same file from Internet and I'm facing the issues!"DavidMZen" wrote:
I did finally get the JSF/EJB3 example working. There are numerous problems with it but the most major is the ant WAR task places the bean class in the wrong location.
Hi,
I'm totally new with JBoss and I'm trying to make JSF/EJB3 example work. I have fixed some problems (persistance.xml file, jsp-facelets) but I'm still receiving errors with the bean class... where should I have to place TodoBean.class file?"DavidMZen" wrote:
I tried the SEAM JSF/EJB3 example but if failed with some incomprehensible messages so if I get some more time I'll fight with it some more then..
Regarding SEAM example I'm receiving the same errors telling me that files cannot be unzipped or something like that. If I can make some progress I'll post it here."PeterJ" wrote:
I know that the JBoss Tools tutorials cover JSF and Seam, you could give them a try. For AS 5.1.0, I recommend Tools 3.1M2, which requires Eclipse 3.5 (Galileo). The Getting Started guide has installation instructions and both Seam and JSF tutorials.
http://docs.jboss.org/tools/3.1.0.M2/
Thanks... I'll give it a try... I hope it helps! :)