are both the code segments a correct usage of setAttribute(
String name, Object value)?
long customer = 40L;
session.setAttribute("customer", new Long(customer));
long customer = 40L;
session.setAttribute("customer", customer);
SCBCD5, SCWCD5, SCJP5
"Even if you're on the right track, you'll get run over if you just sit there."