Optionally, you can give it a name in the same namespace as that used by EJB components.
我们还可以在同一个命名空间下为其定义一个名字,就像EJB组件那样,不过这是可选的。
Although you should avoid name hiding (giving local variables the same names as attributes), the use of accessors to always access attributes means you can give local variables any name you want.
虽然应该避免名称隐藏(为本地变量赋予与属性相同的名称),但是始终使用读写方法来访问属性意味着:可以为本地变量赋予任何名称。
In addition, give the authentication alias the same name as the alias that you created when you defined the datasource in WebSphere (as shown in Figure 9).
此外,给这个鉴定别名一个与您在WebSphere中的定义这个数据源相同的别名(如图9所示)。
应用推荐