The Source for Java Technology Collaboration
User: Password:
Register | Login help    

Search

Online Books:
java.net on MarkMail:


View by: Most Recent | Topic | Community | Webloggers | James Gosling   
Monthly Archives:    

Blogs by topic Programming and user rexyoung

• Accessibility • Ajax • Blogging • Business • Community 
• Databases • Deployment • Distributed • Eclipse • Education 
• EJB • Extreme Programming • Games • Grid • GUI 
• IDE • Instant Messaging • J2EE • J2ME • J2SE 
• JavaOne • Jini • JSP • JSR • JXTA 
• LDAP • Linux • Mobility • NetBeans • Open Source 
• OpenSolaris • P2P • Patterns • Performance • Porting 
• Programming • Research • Security • Servlets • Struts 
• Swing • Testing • Tools • Virtual Machine • Web Applications 
• Web Design • Web Development Tools • Web Services and XML 


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.
on Oct 11, 2009 | Permalink | Discuss
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.
on Oct 9, 2009 | Permalink | Discuss
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.
on Oct 6, 2009 | Permalink | Discuss
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.
on Nov 20, 2008 | Permalink | Discuss
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.
on Sep 14, 2008 | Permalink | Discuss
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.
on Sep 10, 2008 | Permalink | Discuss
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.
on Nov 11, 2007 | Permalink | Discuss

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.
on Oct 11, 2009 | Permalink | Discuss
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.
on Oct 9, 2009 | Permalink | Discuss
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.
on Oct 6, 2009 | Permalink | Discuss