J2EE機能名/定義名 | J2EE定義方法 | Java EE 7機能名/定義名 | Java EE 7定義方法 | 説明 |
---|---|---|---|---|
モジュール名 | Interstage管理コンソールの配備画面で指定 | アプリケーション名 | asadminのdeployサブコマンドの--nameオプションで指定 | J2EEとJava EE 7で使用できる文字が違います。詳細はそれぞれ以下を参照してください。 |
Webアプリケーション名 | ijsdeploymentコマンドの-cオプションで指定 | コンテキストルート | asadminのdeployサブコマンドの--contextrootオプションで指定 | |
コンテキストの共有 | Interstage管理コンソールの配備画面で指定 | コンテキストの共有 | Interstage Web application deployment descriptor (glassfish-web.xml)ファイルの<glassfish-web-app><property>タグのcrossContextAllowedプロパティ | |
クッキーに設定する /しない | Interstage管理コンソールの配備画面で指定 | クッキーに設定する /しない | Interstage Web application deployment descriptor (glassfish-web.xml)ファイルの<glassfish-web-app><session-config><session-properties><property>タグのenableCookiesプロパティ | Java EE 7では、web.xmlの<session-config>-<cookie-config>タグやServlet APIのjavax.servlet.SessionCookieConfigで設定できます。 |
Webブラウザでセションを保存する | Interstage管理コンソールの配備画面で指定 | Webブラウザでセッションを保存する有効期限 | Interstage Web application deployment descriptor (glassfish-web.xml)ファイルの<glassfish-web-app><session-config><cookie-properties><property>タグのcookieMaxAgeSecondsプロパティ | Java EE 7機能の場合、Webブラウザ上でセッションを保存する際の有効期限を秒単位で設定します。 なお、Java EE 7では、web.xmlの<session-config>-<cookie-config>タグやServlet APIのjavax.servlet.SessionCookieConfigで設定できます。機能差異の詳細は「Webブラウザでセションを保存する」を参照してください。 |
クッキーにSecure属性を常に付加する | Interstage管理コンソールの配備画面で指定 | クッキーにSecure属性を常に付加する | Interstage Web application deployment descriptor (glassfish-web.xml)ファイルの<glassfish-web-app><session-config><cookie-properties><property>タグのcookieSecureプロパティ | Java EE 7では、web.xmlの<session-config>-<cookie-config>タグやServlet APIのjavax.servlet.SessionCookieConfigで設定できます。 |
エンコーディング | Interstage管理コンソールの配備画面で指定 | エンコーディング | Interstage Web application deployment descriptor (glassfish-web.xml)ファイルの<glassfish-web-app><parameter-encoding>タグ | |
認証 | Interstage管理コンソールの配備画面で指定 | - | - | Java EE 7機能の場合、常にWebサーバの認証情報を使用します。 |