它简单地为用户空间的应用程序提供了一种访问内核网络子系统的方法。
This simply provides a way for user-space applications to gain access to the kernel's networking subsystem.
为了测试Team Room的通知功能,而不必访问外部网络,也不使用电子邮件检验系统,我们可以编写mock测试方法。
In order to test our Team Room notification function without accessing the external network or having an email validation system in place, we can write mock test methods.
这种方法不但能够降低网络开销,而且在EJB内部通过为整个业务功能创建一个事务环境也可以大大地减少对数据库的访问次数。
Not only will this reduce network overhead, but within EJBs, it also critically reduces the number of database calls by creating a single transaction context for the entire business function.
应用推荐