分解服务查找代码还可以将其重用于其他的EJB引用。
Factoring out the lookup code also lets us reuse it for other EJB references.
这段查找代码类似于会话或实体 bean 中的代码。
This lookup code is similar to code that's in the session or entity beans.
您可能希望将键查找代码打包在指定模板中,使代码更加清晰。
You might try to clean up this code a bit by packaging the key lookup code in a named template.
应用推荐