Program Source File Naming Convention 程序源文件命名规范
This naming strategy can be applied to any type of nested logical contexts, not just program unit contexts.
这种命名策略可以应用于任何类型的嵌套逻辑环境,而不只是程序单元环境。
Keep in mind, however, that you might only need to connect to the naming service once in an entire program, so the extra few lines are worth it.
然而请记住,在整个程序中您可能只要连接到命名服务一次即可,因此额外多几行是值得的。
Specify the port number you found in step 4 inside the properties file so that the test program can find the JNDI naming service (Figure 7).
在这个属性文件中指定您在步骤4中发现的端口号,以便测试程序能够发现这个JNDI命名服务(如图7所示)。
应用推荐