Similar Articles |
|
JavaWorld January 2002 Ramnivas Laddad |
I want my AOP!, Part 1 Most software systems consist of several concerns that crosscut multiple modules. Object-oriented techniques for implementing such concerns result in systems that are invasive to implement, tough to understand, and difficult to evolve. The new aspect-oriented programming (AOP) methodology facilitates modularization of crosscutting concerns. Using AOP, you can create implementations that are easier to design, understand, and maintain. Further, AOP promises higher productivity, improved quality, and better ability to implement newer features. This article, the first in a three-part series, introduces the AOP concept and the problems it attempts to solve. |
JavaWorld March 2002 Ramnivas Laddad |
I want my AOP!, Part 2 An AspectJ implementation based on Java: this article introduces concepts and constructs in AspectJ and shows simple examples to help understand a concrete form of aspect-oriented programming... |
JavaWorld December 2000 Todd Sundsted |
Secure thread collaboration across protection domains When threads collaborate across protection domains, they introduce interesting wrinkles into the science of building secure applications. This month, we present these scenarios and shows how to use the AccessControlContext and GuardedObject classes to build solid solutions... |
JavaWorld August 2002 Jeff Friesen |
Achieve strong performance with threads, Part 4 The author completes his exploration of threads by focusing on thread groups, volatility, thread-local variables, timers, and the ThreadDeath class. |
JavaWorld July 2002 Jeff Friesen |
Achieve strong performance with threads, Part 3 How priority relates to thread scheduling, how to use the wait/notify mechanism to coordinate the activities of multiple threads, and how to use Java's thread interruption capability to terminate a running thread. |
JavaWorld June 2002 Jeff Friesen |
Achieve strong performance with threads, Part 2 Developers sometimes create multithreaded programs that produce erroneous values or exhibit other strange behaviors. Odd behavior typically arises when a multithreaded program does not use synchronization to serialize thread access to critical code sections. What does it mean to serialize thread access to critical code sections? This article explains Java's synchronization mechanism, and two problems that arise when developers fail to use that mechanism correctly. |
JavaWorld July 2000 Todd M. Greanier |
Flatten your objects The Java Serialization API is used by many other Java APIs (like RMI and JavaBeans) to persist objects beyond the duration of a running virtual machine. This article tries to demystify the secrets of the Java Serialization API. |
JavaWorld July 2002 |
Study guide: Achieve strong performance with threads, Part 3 Glossary of terms... Tips and cautions... Homework... Answers to last month's homework... |
JavaWorld May 2002 Jeff Friesen |
Achieve strong performance with threads, Part 1 Users expect programs to exhibit strong performance. To satisfy those expectations, your programs often use threads. This article begins a four-part series that examines threads. You receive an introduction to threads, explore the Thread class, and learn about runnables... |
JavaWorld February 2001 Robert Nielsen |
Learn Java from Ben Franklin While Benjamin Franklin never wrote a line of Java code, his techniques for better writing can be applied to writing Java. Anyone with at least a basic grasp of Java can use Franklin's learning methods... |
JavaWorld December 2001 Bill Pierce |
Diagnose common runtime problems with hprof Ever been a few days from releasing an application when testing reveals a memory leak or something causing the CPU to spin out of control? Few people realize that the Java 2 JDK provides a useful profiling tool called hprof, which you can use to diagnose these behaviors with minimal fuss... |
Linux Journal June 1, 2007 Dave Berton |
Asynchronous Database Access with Qt 4.x How to code around the default synchronous database access in Qt 4. |
JavaWorld November 2001 Brian Goetz |
Can ThreadLocal solve the double-checked locking problem? ThreadLocal is indeed an underappreciated tool in the Java Class Library and does solve the thread-safety problems of DCL, but unfortunately it does not meet the performance objectives of DCL -- yet.... |
JavaWorld October 2000 Frank Sommers |
Activatable Jini services, Part 2: Patterns of use This article concentrates on the consequences of activation in the Jini context. Sommers exponds on the issue of deactivating objects, then considers the implications of deactivation for well-designed Jini services and how the Jini helper services introduced in the 1.1 beta version of the JSK can contribute... |
Unix Insider September 2000 Jim Mauro |
Scheduling in the user threads library User level threads in Solaris implement a priority scheme and queue-management system distinct from the kernel thread priorities and per-processor dispatch queues that exist in the kernel. This month, Jim Mauro lays the groundwork for discussion on the internals of the threads library, relative to scheduling and thread priorities. |
JavaWorld June 2001 Michael Daconta |
An API's looks can be deceiving When you examine an API, your first impressions are often wrong. The author examines two cases where an intuitive model of how an API should work trips over the complexity of implementation details... |
JavaWorld June 6, 2003 Yexin Chen |
Customize SwingWorker to improve Swing GUIs This article discusses some negative consequences caused by SwingWorker usage and illustrates how to customize SwingWorker to achieve additional architectural design goals. |
JavaWorld April 25, 2003 Anthony Karre |
A do-it-yourself framework for grid computing Large-scale grid computing frameworks can be successfully used to build computational grid infrastructures, but their sophistication can also be a barrier for software designers experimenting with entry-level grid computing. |
JavaWorld December 2000 John Zukowski |
Java threads: A comparative book review Java programs are multithreaded, whether you like it or not. This comparative review of six Java thread programming books will help you decide which books are the best read for learning the Java threading library and creating better technical solutions... |
Unix Insider November 2000 Jim Mauro |
The lightweight process pool A system must maintain enough LWPs available for runnable user threads while keeping the pool small enough so that it doesn't waste kernel resources. How can this be done? Jim Mauro examines the mechanics of the LWP resource pool reserved for unbound user threads... |
JavaWorld November 2001 John Chamberlain |
Implement a J2EE-aware application console in Swing Learn the fundamentals of Swing while creating a command console to control complex enterprise applications. A console provides a window into a system's operation and allows operators to configure, monitor, and control the system in real time... |
JavaWorld February 2002 |
Letters to the Editor Readers and authors debate the fine points of programming languages, the security of redirecting to HTTPS, whether you should sacrifice performance for reusability in JSP (JavaServer Pages) development, and the benefits of templates over JSPs... |
JavaWorld March 2003 Renaud Pawlak |
Add a JAC to your toolshed JAC (Java Aspect Components) is an application server that offers an open source alternative (under GNU Lesser General Public License) to Java 2 Platform, Enterprise Edition (J2EE) environments for the development of Java, Web-based distributed applications. |
Home Toys August 2004 Gary Drake |
Using a Low Cost Personal Computer to Create a Web Enabled Monitoring System With a little care, free software and Automation from BroadbandSentry your old desktop computer can be converted to monitor the Status of your home or office. |
JavaWorld June 2002 |
Letters to the Editor Shouldn't Microsoft get credit where credit is due? How do you program a Java class file into an iPAQ? JavaWorld authors answers those questions and more. |
JavaWorld June 2002 |
Study guide: Achieve strong performance with threads, Part 2 Glossary of terms... Tips and cautions... Homework... Answers to last month's homework... |
JavaWorld July 2000 Tarak Modi |
Lock on to an alternate synchronization mechanism How to create a reader/writer lock for multithreaded programming. That synchronization mechanism is useful if you don't want to prevent other threads from simultaneously reading a shared resource yet still want to allow only one thread to modify the resource... |
InternetNews May 7, 2004 Jim Wagner |
Ready or Not, Here Comes AOP Though considered too complex in many ways, aspect oriented programming is picking up fans in the developer world. |
JavaWorld October 2001 Brian Goetz |
Avoid synchronization deadlocks If you understand how your programs use synchronization, and apply consistent rules for acquiring multiple locks simultaneously, you can reduce the likelihood of synchronization deadlock in Java programs... |
JavaWorld March 2003 |
Letters to the Editor How do you handle failover in a Java Message Service (JMS) system? When is it safe not to declare a static field volatile in a threaded application? Is there synchronization hidden inside Struts? JavaWorld authors answer these questions and more in this month's Letters. |
Unix Insider October 2000 Jim Mauro |
Scheduling in the user threads library, Part 2 How to make use of the scheduling policies available in POSIX threads... |
JavaWorld June 27, 2003 Rick Grehan |
Meet the new JBoss JBoss 4.0, which is a cinch to install, offers a Web server, Enterprise JavaBeans (EJB) 2.0 container, Java Message Service (JMS), JavaMail, and more, but its aspect-oriented programming (AOP) capabilities make the product really stand out. |
JavaWorld May 2001 Brian Goetz |
Can double-checked locking be fixed? This article looks at some of the commonly proposed fixes and shows how each of them fails to render the DCL idiom thread-safe under the Java Memory Model |
JavaWorld June 2000 Bill Venners |
An interview with James Gosling A conversation with James Gosling, the inventor of Java and a vice president and fellow at Sun Microsystems... |
JavaWorld March 2003 Michael Juntao Yuan |
J2EE and beyond As J2EE technology matures, basic Java and J2EE programming skills are no longer adequate to secure a highly paid job in today's tightened market. This article discusses the latest trends in J2EE and developer training. |
InternetNews August 28, 2006 Andy Patrizio |
Intel: Multiple Tools For Multi-Core Development Moving to a multi-core world means applications will have to be written in a different manner, and as such, Intel has introduced three new utilities to make that process simpler. |
Unix Insider December 2000 Jim Mauro |
Solaris 8 threads attributes A at Solaris 8's new features related to threads programming and thread APIs... |
PC Magazine August 12, 2003 Jamie M. Bsales |
Squelch Spam, Too Qualcomm's Eudora 6.0 e-mail program will feature new spam-filtering capabilities. |
JavaWorld June 9, 2003 Jennifer Orr |
Java tools reign supreme JavaWorld presents the winners of its 2002 Editors' Choice Awards. Find out which technologies won Best Java IDE, Best Java Application Server, Best Java Device Application Development Tool, Most Innovative Java Product or Technology, and more. |