I want write about hessian project. It is a binary web service protocol and open source project. I will explain it with a sample code. I will use it with java servlet technology.
First you have to define a common interface: Let's call it HessianService. Then, you define a servlet in server side which implements this common interface you define and also extends com.caucho.hessian.server.HessianServlet . You can access this servlet on client side with the help of the common interface.
common interface :
server side :
client side :
references : http://hessian.caucho.com/
First you have to define a common interface: Let's call it HessianService. Then, you define a servlet in server side which implements this common interface you define and also extends com.caucho.hessian.server.HessianServlet . You can access this servlet on client side with the help of the common interface.
common interface :
server side :
client side :
references : http://hessian.caucho.com/

Hessian: Java Client can't connect to php server
ReplyDeleteI am using Hessian Binary Protocol. It works fine when
CASE I:
Server
-- Java
Client
-- Java
-- PHP
CASE II:
Server
-- PHP
Client
-- PHP
But it throws exception
java.io.IOException: Server returned HTTP response code: 500 for URL
when
CASE III:
Server
-- PHP
Client
-- JAVA
Any help ?