在实践中,可以通过一种更健壮的方式更好地处理这类消息(例如,可以将消息放到一个“故障”队列中,并在单独的MDB中进行特殊处理)。
In practice, such a message can be better handled in a more robust way (e.g., it might make sense to put it into a "failed" queue and have a special treatment for it in a separate MDB).
如果您跟随最佳实践,例如对自己的应用程序分层,就可以用最轻松的方式进行修改。
If you follow best practices, such as layering your application, changes can be applied with minimal effort.
生活方式总是会让这个过程进行得不那么顺利,不管实践者怎样努力,再多铁一般的意志也弥补不了一个繁忙的工作日程或者照顾孩子等等。
Lifestyle can really throw a monkey-wrench in the process, no matter how dedicated the sleeper wants to be: no amount of iron will can compensate for a hectic work-schedule, or kids, etc.
应用推荐