if (serializedAC != null) {
ByteArrayInputStream bais = new ByteArrayInputStream(serializedAC);
ObjectInputStream ois;
try {
ois = new ObjectInputStream(bais);
ApplicationContext applicationContext = (ApplicationContext) ois
.readObject();
session.setAttribute(WebApplicationContext.class.getName(),
applicationContext);
} catch (IOException e) {
logger.log(Level.WARNING,