摘要:do your java applets and servlets need to read and write files stored on a server elsewhere in the network? if so, you need nfs, a fast file-access protocol that is destined to become a standard for f......
摘要:a layout manager is an object that positions and resizes components within a display area according to a specific algorithm. the java 1.2 awt package provides 10 layout manager classes that can be use......
Implement Persistent Objects with Java Serializationwhether it is a word-processing application that saves documents to a disk, a utility that remembers its configuration for subsequent use, or a game that allows players to assume world domination and then set it aside for the night, the ability to store and later retrieve data is vital. without it, software would be hardly more effective than the typewriterusers would have to retype their data to make further modifications once their applications exit.
most java programmers are comfortable writing and reading basic java data types like strings and integers to and from disk. however, writing code that saves abstract data types, like any object you have written yourself, can become both complex and repetitive. first, you have to create a specification for the proposed file structure. next, you have to implement save and restore functions that convert the object data to and from primitive data types, and finally you need to test it with sample data.
... 下一页
摘要:
java brought garbage collection to mainstream programming. never before have commercial software developers been so aware of the need and benefit of using a collector. notwithstanding, the benefits ......