uCosminexus Application Server, Expansion Guide
This subsection describes the following items as an impact on servlet API when using the session failover functionality.
The following table describes the notes on servlet API related to HttpSession objects after inheriting a session.
Table 5-19 Notes on servlet API related to HttpSession objects
| No. | API name | Notes |
|---|---|---|
| 1 | getCreationTime() | If an HttpSession object is created by inheriting, the information of the HttpSession object before inheriting is inherited. |
| 2 | getLastAccessedTime() | |
| 3 | getId() | If an HttpSession object is created by inheriting, you can obtain the same ID as the HttpSession object before inheriting. |
| 4 | isNew() | Even if an HttpSession object is created by inheriting, return value true is not returned. |
The servlet AIPs that are not described in this table are not impacted when the session failover functionality is used.
If you implement the servlet APIs described in the following table, communication with a database or an EADs server occurs as the extension of API invocation. As a result, performance is affected.
Table 5-20 Communication with a database or an EADs server
| No. | Class | Method |
|---|---|---|
| 1 | javax.servlet.http.HttpServletRequest | getSession()#1 |
| 2 | javax.servlet.http.HttpServletRequest | getSession(boolean create)#1 |
| 3 | javax.servlet.http.HttpSession | invalidate()#2 |
All Rights Reserved. Copyright (C) 2013, 2015, Hitachi, Ltd.