The first principle is: "Program to an interface, not an implementation."
第一条是:“面向接口编程,而非面向实现编程”。
JMS is ideal in this situation because it is an interface specification — not an implementation.
在这种情况下JMS非常理想,因为它是一种接口规范——而不是实现。
Although the REST support is not an implementation of JAX-RS, it has more features than the specification defines.
虽然,对REST的支持并不是JAX - RS的一种实现,但是它具有比标准定义更多的特性。
应用推荐