WAR文档的部署描述符现在需要引用这个会话ejb。
The deployment descriptor for the WAR archive now needs to reference the session EJB.
无状态会话Bean的声明式事务设置可以在ejb部署描述符(ejb - jar . xml)中完成。
The declarative transaction Settings for the stateless session bean are done in the ejb deployment descriptor (ejb-jar.xml).
先前在会话bean描述符的 <ref-name>标记中声明的名称现在按照其完整的JNDI名称列出。
The names declared earlier in the <ref-name> tag of the session bean descriptors are now listed in their full JNDI name context.
因为我们将在运行这个应用程序时从Web项目中引用会话beanHelloWorldSession,所以我们必须把EJB引用添加到 Web模块部署描述符中。
Since we will be referencing the session bean HelloWorldSession from the Web project when running the application, we have to add an EJB reference to the Web module deployment descriptor.
这意味着如果有十个需要访问相同JNDI数据源的会话bean,就必须在部署描述符的每个bean上定义相同的资源引用。
This means that if I have ten session beans that need to access the same JNDI data source, I need to define that same resource reference on each bean in the deployment descriptor.
在ejb - jar . xml部署描述符中可以看到新会话bean的描述,如清单1所示。
You can see the description of the new session bean in the ejb-jar.xml deployment descriptor, shown in Listing 1.
可以按照处理会话Bean安全性相同的方式使用部署描述符和安全注释配置实体Bean安全性。
You can configure entity bean security using the deployment-descriptor and security annotations the same way as we did for session bean security.
我们通过在Bean 类中使用注释来指定EJB3会话 Bean的部署描述符。
We specify the deployment metadata of the EJB3 session bean using annotations in the bean class.
在两种情况下,每个会话bean (Task或Service)的部署描述符仅仅包括他所实际使用的每个会话bean的EJB - REF。
In either case, the deployment descriptor for each session bean (Task or Service) simply includes an EJB-REF for each session bean that it actually USES.
在两种情况下,每个会话bean (Task或Service)的部署描述符仅仅包括他所实际使用的每个会话bean的EJB - REF。
In either case, the deployment descriptor for each session bean (Task or Service) simply includes an EJB-REF for each session bean that it actually USES.
应用推荐