Application domains offer good configuration and deployment isolation, but other means need to be utilized to protect services from each other and to provide isolation at run time.
应用程序域提供良好的配置和部署隔离,但还需要利用其他方法来隔离服务并提供运行时隔离。
Unit tests are meant to run in isolation, which means that no database is running, no Web server is running, and — most important — no Grails-related metaprogramming occurs.
单元测试意味着在隔离环境中运行,所以不会运行数据库和 Web 服务器,最重要的是不会发生与 Grails 相关的元编程。
Breaking isolation means connecting web services and specifying how collections of web services are jointly used to realize more complex functionality — typically a business process.
打破孤立就是要把Web服务连接起来并指定怎样共同使用一组组web服务来实现更复杂的功能—业务流程就是一个典型的例子。
应用推荐