Search |
||||||||||||||||||||||||||||||||||||||||||||||||||||
Blogs by topic Programming and user rexyoung
Programming![]()
Introduce several helper classes that will ease you implementing advanced Observer pattern that will: 1) Switch threads between producer and listener; 2) Reduce coding issues by allowing producer to complete its own handling before its listeners start event handling.
![]()
Design thread model along with OO model for your Swing application. A thread model defines a scope e.g. a set of classes a thread (or a pool of threads) will stay in. As threads would step out the scope, scopes employ message passing for event notification.
![]()
Thread-safe is used to describe a Java class that is ready to be accessed by multiple threads without causing deadlock and/or broken state. Here I am referring to how to make an entire application especially a Swing application thread-safe.
![]()
This usually happen when Spring servlet receives HTTP requests that contain JSON strings, and you do not want to construct JSON objects then convert them to Spring beans. Nobody likes to handle two set of value objects.
![]()
This trick is for a specific situation where two applications (both in your hands) want efficient and convenient communication, and HTTP connection is the only method available between them. Part two lists and discusses several implementations and demonstrations.
![]()
This trick is for a specific situation where two applications (both in your hands) want efficient and convenient communication, and HTTP connection is the only method available between them.
![]()
ThreadPoolExcecutor will create new threads up to the maximum pool size when there are lots of tasks coming in. And it will shutdown idle threads when there is no more incoming tasks. But it can not detect light workload in which a few small tasks consistently come in. As a result, it keeps the maximum number of threads to serve few tasks rotationally.
Swing![]()
Introduce several helper classes that will ease you implementing advanced Observer pattern that will: 1) Switch threads between producer and listener; 2) Reduce coding issues by allowing producer to complete its own handling before its listeners start event handling.
![]()
Design thread model along with OO model for your Swing application. A thread model defines a scope e.g. a set of classes a thread (or a pool of threads) will stay in. As threads would step out the scope, scopes employ message passing for event notification.
![]()
Thread-safe is used to describe a Java class that is ready to be accessed by multiple threads without causing deadlock and/or broken state. Here I am referring to how to make an entire application especially a Swing application thread-safe.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|