We could optimize, but the application would be at least an order of magnitude slower. Memory use would also skyrocket, as so many classes are created.
我们可以做优化,但应用程序的速度将会变慢至少一个数量级,内存的使用也会扶摇直上,因为有这么多的类被创建。
In this example, a student will use the train (each depicted by separate classes) in order to go to school.
这个例子中,学生将乘坐火车(每部分都由单独的类描述)上学。
In all of the above examples, the EJB components have to import vendor-specific implementation classes in order to use the connection pooling facilities of the resource.
在以上所有示例中,EJB组件必须导入特定于供应商的实现类,以使用资源的连接合用设施。
应用推荐