Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Steps to deploy latest JSF version in weblogic 10.3

I am going to start working on a new project and I am considering to use JSF latest version but our weblogic server version is 10.3 and I am not sure what are all the steps to follow to deploy JSF 2 application in weblogic 10.3 And also would like to know the IDE which supports to develop JSF2 applications. Currently I am using weblogic 10g workshop but it doesnt support the latest JSF version.

Can someone tell me the steps to:

  1. Develop JSF 2 applications in Oracle workshop/Netbeans 6.9.1
  2. Deploy the JSF 2 application in Weblogic 10.3

Appreciate your help.

like image 375
Solomon Avatar asked Dec 22 '22 13:12

Solomon


1 Answers

Disclaimer: I don't do Weblogic or Netbeans, the answer below is partly based on Google research.

Here are some facts:

  • JSF 2.0 requires at least a Servlet 2.5 container (although you can in theory hack it for Servlet 2.4).
  • JSF 2.1 requires at least a Servlet 3.0 container.
  • Weblogic 10.3.x is a Servlet 2.5 container, so JSF 2.1 is never going to work out the box.

As per the release notes which I found by Google, Weblogic 10.3 is a Servlet 2.5 container which ships with JSF 1.2 built in. As per this blog which I found by Google, Weblogic 10.3.3 ships with built in JSF 2.0 support. The blog contains detailed information about how to get Weblogic 10.3.3 running with JSF 2.0.

As to the IDE, I have no idea about Oracle Workshop, but according to Google, Netbeans seems to already support JSF 2.0 since version 6.8. In order to get JSF 2.0 features to work properly, you only have to ensure that the web.xml complies with Servlet 2.5 and that the faces-config.xml complies with JSF 2.0.

like image 113
BalusC Avatar answered Dec 28 '22 06:12

BalusC