JSF requires J2EE server?

I received this reply from my hosting provider:"Unfortunately, JSF requires J2EE. We currently offer J2SE on our shared servers."Can anybody confirm that it is true?Up to now, I thought J2SE was enough to run applications created in JSC...Thanks Max
[284 byte] By [maxruffoa] at [2007-11-26 22:09:53]
# 1

The JavaServer Faces technology APIs are layered directly on top of the Servlet API. Servlets & JSP's are an integral part of J2EE. So, you'll need a server to deploy your (JSF) application.

Sun Java System Application Server 8.2 PE comes bundled with Creator. See the following about system requirement for Creator IDe:

http://developers.sun.com/prodtech/javatools/jscreator/sysreqs/index.jsp

The Sun Java System Application Server Platform Edition 8.2 and a database are bundled and installed with the product. The Java 2 Platform, Standard Edition (J2SE Platform) 1.5.0_04 software is bundled and installed for all supported operating systems except Mac OS. The browser settings for all platforms should be set with JavaScript enabled, cookies on, and CSS enabled.

Rradhikaa at 2007-7-10 10:57:02 > top of Java-index,Development Tools,Java Tools...
# 2

Thanks for the reply, but I still don't have clear this.

If servlet AND JSP make possible JSF technology, any Java server makes possible the use of JSF... Why my first hosting provider should refuse my web application telling me that they do not support J2EE?

Thanks again.

MAx

PS: They run Resin 2.1 on their server... maybe it's just a too old version?

maxruffoa at 2007-7-10 10:57:02 > top of Java-index,Development Tools,Java Tools...
# 3
I think JSF needs J2EE, that is what JSF based on.Any implementation of JSF is some .jar files, without J2EE, how could it run?And for the web application, JSF do need a Java EE server. I think.
ljbatustca at 2007-7-10 10:57:02 > top of Java-index,Development Tools,Java Tools...
# 4

As Radhika said, JSF is layered on the Servlet API. Servlets are part of J2EE. For product versions, see the table at http://java.sun.com/products/jsp/industry.html. For a list of J2EE servers, see http://java.sun.com/j2ee/compatibility_1.3.html. Your hosting provider needs one of these servers before you can deploy a JSF-based application. Note that many of the servers on this list have not been tested with Java Studio Creator.

vspurlina at 2007-7-10 10:57:02 > top of Java-index,Development Tools,Java Tools...
# 5

The links are very interesting...

However, in the list of J2EE compatibility, I can't find Tomcat and Resin, which are among the java web servers most used!

What does this mean? Deploying war files from JSC won't give problems with the server listed, but it could give problems with the servers not listed (as Tomcat and Resin)?

I bought a second hosting space based on Tomcat 5.5.20 and I still have problem on the deployment of my war file (a simple applicaton with no database connection!!! see http://forum.java.sun.com/thread.jspa?forumID=881&threadID=5150205)!

I am now wondering how many web hosting services I have to try before finding a server that easily deploys my simple application... Do you all have a dedicated server with installed a Sun product?

Thanks

Max

maxruffoa at 2007-7-10 10:57:02 > top of Java-index,Development Tools,Java Tools...
# 6

I gave misleading information in my last reply. To deploy a Java Studio Creator app you just need a compliant web server, not necessarily a fully J2EE compliant. application server.

Tomcat definitely works well. See the online help topic "Deployment Example: Tomcat" at http://developers.sun.com/prodtech/javatools/jscreator/reference/docs/help/2upd ate1/deploy/howtodeploy/deploy_tomcat.html

For other web and application servers that are supported, see "Supported Deployment Servers" at http://developers.sun.com/prodtech/javatools/jscreator/reference/docs/2/Install ation_ReleaseNotes_2_1-en.html.. The list includes:

Sun Java System Application Server

* 8.2 PE (bundled)

* 8.1 UR2 SE/EE

* 7.1 SE/EE

Sun Java Web Server, ver. 6.1

Apache Tomcat, ver. 5.x

BEA WebLogic Server, ver. 8.1, 7

IBM WebSphere, ver. 6

Sun Java System Portal Server, ver. 6.3.1, 7.0

For deployment advice, see the "Application Deployment" category at http://developers.sun.com/prodtech/javatools/jscreator/reference/index.jsp.

I don't have information to recommend specific hosting services that provide a suitable web server, but I hope this information will help.

HOWEVER, there does seem to be a problem with Tomcat 5.5.20. I searched the Netbeans mailing list and found reports of the same problem, with no solution yet. See:

http://www.nabble.com/Web-Application-works-in-bundled-Tomcat-but-not-in-a-stan dalone-Tomcat-tf3287412.html#a9144209

http://www.nabble.com/NetBeans-5.5-vs-Tomcat-5.5.20-tf3043174.html#a8459254

vspurlina at 2007-7-10 10:57:02 > top of Java-index,Development Tools,Java Tools...