Ofcourse by putting it as a context attribute, it would make your life earier in jsps if you require to access the object properties especially so if you are using technologies like jstl and el which provides transparent scope lookup.
Iam not sure about the singleton even otherwise though.
Where are you accessing it ? In your
servlet or
jsp's service methods ? Is the singleton object obtained as a local reference in these cases ? If so there is an even chance that it may be gc-ed. (somebody correct me if you know this for wrong).
Application context attributes are specifically used in such cases and I think, may be the best practise to adopt.
cheers,
ram.