Developing a session bean to have a No-Interface Local view

You can specify that a session bean have a No-Interface view.

About this task

A session bean has a No-Interface Local view when:

  • The bean does not expose any other client views (Local, Remote, 2.x Remote Home, 2.x Local Home, Web Service) and its implements clause is empty.
  • The bean exposes at least one other client view. The bean designates that it exposes a no-interface view with the @LocalBean annotation on the bean class or in the deployment descriptor.

You can also declare metadata for a session bean with No-Interface Local view in the deployment descriptor rather than using annotations.

The following steps contain code snippets that demonstrate the code to use for a No-Interface view.

Procedure


指出主題類型的圖示 作業主題



時間戳記圖示 前次更新: July 9, 2016 11:15
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=tejb_dvnoview
檔名:tejb_dvnoview.html