我们还讨论了在实体e JB上强制声明事务,以及不向实体接口公开单个的cmp属性。
We also discussed declaring transactions on entity EJBs to be mandatory, as well as not exposing the individual CMP attributes to the entity interface.
有了类型推断,编译器可以通过强制解决计算出变量类型,而不是使程序员明确声明它们。
With type inference, the compiler figures out the types of variables based on constraint solving, rather than making the programmer declare them explicitly.
可选参数和强制参数的参数声明是相同的。
The parameter declaration is identical for optional and mandatory parameters.
应用推荐