Firstly, the definition and characters of blocking mode and non-blocking mode in socket communication areintroduced, and the question of wakening up a synchronic blocking thread is proposed. Then, a typical blocking sock-et communication within mobile stock operations is given, and a method based on exception detecting to waken upsynchronic blocking threads is proposed. Additionally, a phenomenon of vibrating is also analyzed and solved. Andlastly, a conclusion is given.
The rapidly changing requirements and business rules stimulate software developers to make their applications more dynamic, configurable, and adaptable. An effective way to meet such requirements is to apply an adaptive object-model (AOM). The AOM architecture style is composed of metamodel, model engine and tools. Firstly, two small patterns for building up metamodel are analyzed in detail. Then model engine for interpreting metamodel and tools for end-uses to define and configure object models are discussed. Finally, a novel platform—applicationware—is proposed.