9 Replies Latest reply on Dec 20, 2011 10:51 AM by 860767

    Diff b\w JSF and JSPX

    860767
      hi all,

      is there any difference between jsf and jspx?.....which is more compatible with ADF?
        • 1. Re: Diff b\w JSF and JSPX
          John Stegeman
          pms,

          It's not clear at all what the context of your question is, but if you are talking about file types, .jspx is by convention, a JSP/XML representation, whereas .jsf is by convention a facelets representation. Neither is "more compatible," but Facelets is the recommended way forward, as long as you are on 11.1.2 or later.

          John
          • 2. Re: Diff b\w JSF and JSPX
            adrina
            jsf would be more compatible file in ADF as jsf can show more regions in one page!!
            • 3. Re: Diff b\w JSF and JSPX
              Timo Hahn
              That is more a question of which version you use. 11.1.2.x uses .jsf as default (for Faclets) where as 11.1.1.x uses .jspx
              I'm using .jsf fro apps build for 11.1.2 ...

              Timo
              • 4. Re: Diff b\w JSF and JSPX
                adrina
                sry for the interruption!!

                we had planned to create a project What we are doin is

                => We have an jspx page with an tree as given below

                Employeees
                Countries
                Locations


                =>We had created an jsff for employees,Countries,Locations

                =>When the user clicks employees that particular jsff would been shown!!

                Is it the best approach? for jdeveloper11.1.1.5 The navigation is done by ADF Task Flow

                If not then how can we acheive this!!!
                • 5. Re: Diff b\w JSF and JSPX
                  Timo Hahn
                  Wilhelm,
                  I fail to see any connection to the original post. Please open your own thread with our question.

                  Timo
                  • 6. Re: Diff b\w JSF and JSPX
                    adrina
                    sry timo!!

                    as you instucted i would open the new thread for my questions!!
                    • 7. Re: Diff b\w JSF and JSPX
                      860767
                      hi john , thankz for ur reply .. im using jdev 11.1.2 and i prefer jsf.But sometimes jspx gives more performance ..thats why asked the ques..
                      • 8. Re: Diff b\w JSF and JSPX
                        Frank Nimphius-Oracle
                        PMS,

                        But sometimes jspx gives more performance ..thats why asked the ques..

                        You are the first one claiming this. Usually Facelets is considered to be of better performance because it is tighter integrated with the JSf lifcycle and doesn't need to be compiled before running it. Anyway, to lift the FUD

                        1. JSPX documents and Facelets are bot supported with JDeveloper 11g R2 and we do support them equallly in functionality (very little differences exist on both sides)
                        2. JSPX documents are the only choice in JDeveloper 11g R1
                        3. The future speaks Facelets (according to the JSF specification) and if you starting a new development project with JDeveloper 11g R2 then we recommend you use Facelets because of this
                        4. If you are on JDeveloper 11gR1, don't panic, you are good to go and we make sure your applications upgrade nicely to 11g R2 and 12c (later)
                        5. We plan on providing a JSPX to Facelets migration in JDeveloper. Until then, JSPX are a first class citizen as Facelets is too
                        6. When you are on JDeveloper 11gR1, don't wait for 12c if you need to start a development project.

                        Frank
                        • 9. Re: Diff b\w JSF and JSPX
                          860767
                          Frank,
                          thankz for valuable information...