Javascript and
Java are totally unrelated, so you need to convert your bean into some format Javascript can understand.
One popular option is JSON -
http://www.json.org/ http://developer.yahoo.com/common/json.html The other option would be to create some kind of XML document from your JavaBean, and then process that XML using Javascript on the client side. If you decide to go this way, I would recommend checking out
XStream HTH
Sonny