Hi Alex, Were you able to run the tutorial in the Development mode i.e. as a standalone Java app where the ULC client and ULC server run in the same JVM? This will prove that you have a running ULC application.
Now you can deploy this ULC application in client-server mode. Please see the ULC Deployment Guide in doc directory that is part of the ULC release. In general: ----------- ULC application has two parts: Serever: The ULC App you write is deployed on the server as a servlet. Client: ULC provides ULC client libs that are deployed on the client either as Applet or using Java Web Start. You start the client in the browser by clicking on a link (for applet or jnlp file). The ULC client jars are downloaded on the client. ULC client starts and connects to the URL of ULC Application servlet specified in the applet tag or in the jnlp file. Where can you see the sample deployment structure and sample jsp (for applet) and jnlp: -------------------------------------------------------------------------- ------------- Please see section 2.3 of ULC Installation Guide. It shows how you can run sample apps in client-server mode. Once you have run those applications you will see a ROOT dir under webapps dir of Tomcat that is bundled as part of ULC release. In webapps/ROOT dir you can see various jsp and jnlp files. In webapps/ROOT/lib dir there are ULC client side jars In webapps/ROOT/WEB-INF/lib dir there are ULC server side libs as well as the ULC sample app jars In webapps/ROOT/WEB-INF/ there is web.xml which specifies ULC servlet and its mapping to a URL. In addition: You can also see the ULC Application Development Guide which describes how to generate a ULC application based on ULC Application Framework. Thanks and regards, Janak ----------------------------------------- Janak Mulani email: [EMAIL PROTECTED] url: http://www.canoo.com Beyond AJAX - Java Rich Internet Applications http://www.canoo.com/ulc ----------------------------------------- > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Alex Kutka > Sent: Tuesday, December 02, 2008 2:24 PM > To: Novotny, Miroslav; [email protected] > Subject: Re: [ULC-developer] servlet deployment problem > > Thanks for the answer (eventuelne mozme aj po slovensky). > Unfortunately, I don't know how to continue.. > How should I deploy as WAR? And how should I start the display server? > > Last question: > How should I recover from that error, which I see in the browser? > > HTTP Status 405 - HTTP method GET is not supported by this URL > > type: Status report > > message: HTTP method GET is not supported by this URL > > description: The specified HTTP method is not allowed for the > requested > resource (HTTP method GET is not supported by this URL). > > Thanks again. > Alex Kutka > > > Novotny, Miroslav wrote: > > Hi, > > > > You are wrong. There are 2 sides of application : client and server. > > > > Client may be 3 types: JNLP, Applet, StandAlone > > Server may be 2 types: Servlet/WAR/EAR, Ejb/EAR > > > > So the application may be deployed only as WAR or EAR, in > your occasion > > with Tomcat only as WAR. > > > > JNLP or Applet is only the client interface how to start the client > > (display server). > > > > Hope this helps > > Miro Novotny > > > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Alex Kutka > > Sent: Monday, December 01, 2008 5:43 PM > > To: [EMAIL PROTECTED] > > Subject: [ULC-developer] servlet deployment problem > > > > Hi there, > > > > this question is maybe stupid, but I have failed to deploy > a simple ULC > > application as a webapp in the Tomcat server. > > > > I took the code from the tutorial > > http://www.canoo.com/ulc/developerzone/tutorial.html > > (i.e. the file > > > http://www.canoo.com/ulc/developerzone/src/todolist/MyToDoList.java ) > > and compiled it successfully. > > Now I have a proper directory structure with proper WEB-INF > content, a > > valid web.xml file etc. Everything should work, but if I enter the > > sugested URL "http://localhost:8080/ulc/MyApplication/" > into my browser, > > I get I strange message: > > > > HTTP Status 405 - HTTP method GET is not supported by this URL > > > > type: Status report > > > > message: HTTP method GET is not supported by this URL > > > > description: The specified HTTP method is not allowed for > the requested > > resource (HTTP method GET is not supported by this URL). > > > > > > As well, it is a bit suspicious for me, that all provided > demos on the > > page http://www.canoo.com/ulc/demos/index.html can only be > launched as > > Applets or JNLP (Web start). I do not want to deploy the > class as an > > applet or JLNP - but as a servlet. > > > > What I am missing? > > > > Thanks in advance > > Alex Kutka > > Centaur Ltd., > > Bratislava, > > Slovak Republic > > > > _______________________________________________ > > ULC-developer mailing list > > [email protected] > > http://lists.canoo.com/mailman/listinfo/ulc-developer > _______________________________________________ > ULC-developer mailing list > [email protected] > http://lists.canoo.com/mailman/listinfo/ulc-developer > _______________________________________________ ULC-developer mailing list [email protected] http://lists.canoo.com/mailman/listinfo/ulc-developer
