# How to use hessian with custome java type?

**URL:** <https://www.ruby-forum.com/t/how-to-use-hessian-with-custome-java-type/116855>\
**Category:** Ruby\
**Created:** [October 10, 2007, 12:34pm UTC](https://www.ruby-forum.com/t/how-to-use-hessian-with-custome-java-type/116855 "2007-10-10T12:34:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![liwenqiu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/9d8465/32.png) [@liwenqiu](https://www.ruby-forum.com/u/liwenqiu)\
**Post date:** [October 10, 2007, 12:34pm UTC](https://www.ruby-forum.com/t/how-to-use-hessian-with-custome-java-type/116855/1 "2007-10-10T12:34:20Z")

</div>

hi all:  
i have implement a service at ‘[http://localhost:8080/hessian/basic](http://localhost:8080/hessian/basic)’  
by  
hessian, a method will return custom java type, it include some  
attributes,  
access attributes by getter and setter method.  
and how to use ruby get the attribute in custom java type. thanks
