session attribute in java ee code example Example: session.setAttribute api java long getCreationTime()