Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/project-web/hessianphp/htdocs/pmwiki.php on line 242

Warning: Cannot modify header information - headers already sent by (output started at /home/project-web/hessianphp/htdocs/pmwiki.php:242) in /home/project-web/hessianphp/htdocs/pmwiki.php on line 727
HessianPHP | Tutorial / Installation of java example
Recent Changes - Search:

Documents

Community

Related Projects

Powered by PmWiki

Installation of java example

In order to run the example java service you will a java servlet container. Examples of these are Apache Tomcat , Jetty and Resin.

Download and deploy the hessian.war file in your server's webapps folder. Instructions of how to do this are in the documentation of your java server. Caucho's Hessian library is included in the /lib folder of the application.

In this example we will assume the application is deployed under the root of the web server, so the url of the service will be: http://localhost:8080/hessian/service/userService

There is a test page called demo.jsp that will call a method in the service and print results. Assumming you deploy the webapp in the default location, you can see the test page in http://localhost:8080/hessian/demo.jsp


Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/project-web/hessianphp/htdocs/pmwiki.php(461) : regexp code on line 1
Edit - History - Print - Recent Changes - Search
Page last modified on December 21, 2005, at 03:42 AM

Warning: fopen(wiki.d/.flock): failed to open stream: Permission denied in /home/project-web/hessianphp/htdocs/pmwiki.php on line 355

PmWiki can't process your request

Cannot acquire lockfile

We are sorry for any inconvenience.