> i want to make a servlet which would return a bean when it would be
> called.
>
> how ?
Return to what? For a calling servlet (or a filter), set it in the
request context with ServletRequest.setAttribute. For a Java client,
serialize it with java.io.ObjectOutputStream or use the quite different
java.beans.XMLEncoder.
Tom Hawtin

Signature
Unemployed English Java programmer
http://jroller.com/page/tackline/