Thus, to know which resource an overloaded name refers to, one must also know the component which is using the overloaded name, and how that component is mapped to container names.
因此,要了解重载名是引用哪个资源,两组件中的一个也必须了解使用重载名的那个组件,并且知道那个组件是如何被映射到容器名的。
The container provides adequate context; using its name in component names is redundant and needlessly lengthens component tags.
容器提供了足够的上下文;在组件名称中使用它的名称是多余的并且不必要地增加了组件标记的长度。
You saw how the findByPrimaryKey causes the container to retrieve a row in a database using the primary key of the EJB component as the primary key of the row in the database.
您已看到了 findByPrimaryKey 子句如何让容器使用 EJB 组件中的主键作为数据库中行的主键来检索数据库中的行。
应用推荐