When I search for something too many times, I try to remember to post it here. So, to drop the warnings for type safety when you know all is fine, you can do the following:
@SuppressWarnings("unchecked") List<CustomerBean> customers = (List<CustomerBean>)session.getAttribute(CSRD_CONTACT_LIST);
© Scott S. Nelson