| Similar Articles |
 |
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 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 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 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 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 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 August 2000 Sanjay Mahapatra |
Programming restrictions on EJB Sanjay provides an overview of the programming restrictions on EJB component code that developers should adhere to and lists the features in Java that you'd be wise to avoid in order to write reliable and portable EJB 1.1 components..  |
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 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...  |
JavaWorld April 25, 2003 |
Letters to the Editor Authors discuss static versus lazy resolution; HTML/JavaServer Pages (JSP)/servlets versus Swing; thread safety with singletons; and more.  |
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 2002 Humphrey Sheil & Michael Monteiro |
Rumble in the jungle: J2EE versus .Net, Part 1 Heard a lot about .Net versus J2EE? Wondering what that conflict means for you? An unbiased explanation as to how J2EE and .Net match up.  |
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...  |
JavaWorld December 2001 |
Letters to the Editor In this month's letters, David Geary expounds further on the Decorator pattern, Humphrey Sheil defends EJB performance, and Jeff Friesen talks more trash...  |
JavaWorld February 2001 Brian Goetz |
Double-checked locking: Clever, but broken Many Java programmers are familiar with the double-checked locking idiom, which allows you to perform lazy initialization with reduced synchronization overhead. Though many Java books and articles recommend double-checked locking, unfortunately, it is not guaranteed to work...  |
JavaWorld October 2000 Anil Hemrajani |
Do you really need Enterprise JavaBeans? Anil Hemrajani offers his opinions on whether Enterprise JavaBeans are really necessary...  |
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...  |
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.  |
JavaWorld May 2002 Ryan Daigle |
Eliminate JDBC overhead Most J2EE and other types of Java applications interact in some way with information persisted in a database. Interfacing with that database involves several iterations of SQL statements, connection management, transaction lifecycles, result processing, and exception handling. The many parts of this ritualistic dance are common in all contexts; however, this replication doesn't have to exist. This article outlines a flexible framework that remedies the repetition of interacting with a JDBC-compliant database.  |
JavaWorld November 2001 |
Letters to the Editor Should you enable assertions in a production system? What's the difference between Jxta and Jini? Do access modifiers prevent inheritance? Is MVC a design pattern?  |
JavaWorld March 2002 Jacek Kruszelnicki |
Persist data with Java Data Objects, Part 1 The Java Data Objects (JDO) standard provides a unified, simple, and transparent persistence interface between Java application objects and data stores, and can significantly affect how we deal with persistent data...  |
JavaWorld February 2002 Jeff Hanson |
Use Web services to integrate Web applications with EISs Web services expose business processes to bolster object-oriented and component-based programming with a services-based model. You can enhance your current programming model to support Web services by adding a service contract...  |
JavaWorld October 18, 2002 |
Java Product News PolarLake introduces enterprise integration solution... Wily Technology extends Introscope to WebSphere... Netcoole updates J-ASP... QFS launches UI testing tool... Bowstreet adds WebSphere support... McGraw-Hill Osborne Media releases J2EE books... etc.  |
InternetNews September 27, 2004 Clint Boulton |
Sun Persists with Single Programming Model The company's engineers aim to bring the Java community a little closer by creating one persistence model for JavaBeans and Java Objects.  |
JavaWorld October 2000 Siva Visveswaran |
Dive into connection pooling with J2EE Connection pooling is a technique used for sharing server resources among requesting clients. This article focuses on support for connection pooling of both database resources and nondatabase resources in a J2EE environment...  |
JavaWorld December 2000 Steven Gould |
Develop n-tier applications using J2EE Introducing the 13 core technologies of the Java 2 Platform, Enterprise Edition (J2EE): JDBC, JNDI, EJBs, RMI, JSP, Java servlets, XML, JMS, Java IDL, JTS, JTA, JavaMail, and JAF....  |
JavaWorld December 2001 Humphrey Sheil |
To EJB, or not to EJB? Our industry has spawned folklore and rules of thumb to guide us how best to use EJB -- some true, some out of date, and some pure fabrication. When and how to use EJB in your J2EE application, as well as how to know when EJBs are not the right solution for you...  |
JavaWorld December 2001 Jeff Friesen |
Trash talk, Part 1 One feature that distinguishes Java from other computer languages is its garbage collection abilities. In this article, This article introduces garbage collection and shows how Java's optional support for it affects your programs...  |
JavaWorld September 2000 Tom Yager |
Microsoft's C# public beta hits a high note Java's success, and Sun's control of it, has prompted Microsoft to respond with its C# initiative. C# in many ways is a blend of the power of C++ and Java's built-in protections. Java developers will be well served to learn about C#'s pros and cons -- and how the initiative could affect Java's future.  |
JavaWorld October 2002 |
Java Product News (updated October 11, 2002) QFS launches UI testing tool... Bowstreet adds WebSphere support... McGraw-Hill Osborne Media releases J2EE books... CipherSoft adds JSPs to Exodus... exe4j integrates Java apps with Windows... Blaze Advisor receives upgrade... Crediware updates Java GUI tool... PointBase enhances relational database suite... etc.  |
JavaWorld September 27, 2002 |
Java Product News Sun announces new J2ME APIs and J2EE improvements... Ilog launches JConfigurator 2.0... Sybase enhances PowerDesigner... Air2Web increases its Java capabilities... Hit adds new features to JDBC middleware product... TogetherSoft announces Mac and WebSphere support... etc.  |
JavaWorld May 2002 Nik Silver |
Jtrix: Web services beyond SOAP This article describes Jtrix, an open source Web services platform for secure, roving applications. It examines the limits of existing standards, Jtrix's core model, and how Jtrix enables you to create Web services in such areas as hosting, disk space, and CPU time...  |
InternetNews January 9, 2008 Andy Patrizio |
SpringSource's Update to .NET Adds Key Java Features SpringSource's Spring.Net provides programmers with features previously only available to Java developers.  |
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 June 2002 Dirk Laessig |
Score big with JSR 77, the J2EE Management Specification The specification's core is based on the model of managed objects, explained in this article. JSR 77 also defines an Enterprise JavaBeans (EJB) component for easily accessing these managed objects.  |
JavaWorld October 4, 2002 |
Java Product News PointBase enhances relational database suite... Manning publishes JMX guide... esmertec expands JVM product line... Actional launches Web services management platform... AdventNet brings JMX to business-level management tool... ObjectAssembler integrates with Sun ONE Studio... etc.  |
JavaWorld January 2, 2004 Humphrey Sheil |
In pursuit of perfection If we could just address Java's weak points, we might make Java that mythical beast -- the perfect technology platform. So then, what are those changes? Is there such a thing as the perfect technology platform, and does Java have the potential to become it?  |
JavaWorld November 2, 2001 |
Java Product News Compuware introduces OptimalJ... Matisse combines native object support with server-based SQL... Houston Technology Group upgrades EJBX... Instantis releases Web services environment... Sun ONE enlists Aligo... CreamTec updates WebCream... VMGear releases Optimizeit Suite... etc.  |
JavaWorld April 2001 Geoff Friesen |
Object-oriented language basics, Part 1 An introduction to object-oriented programming and how to declare classes and create objects from those classes...  |
JavaWorld December 2000 Julie Salzmann |
Java Product News Java community elects new JCP Executive Committee... RSW Software puts EJBs to the Bean-test... Sun increases IT learning opportunities... Cerebellum Portal Integrator transports dynamic data... Metrowerks debuts Java development tools for wireless devices... etc.  |
JavaWorld November 2002 B.J. Fesq |
Sun boosts enterprise Java This article provides a clear understanding of the enterprise Java platform's direction and introduces J2EE (Java 2 Platform, Enterprise Edition) 1.4's support for emerging Web services standards.  |
JavaWorld May 2002 Eoin Lane |
Is WSDL the indispensable API? Many developers consider Web Services Description Language (WSDL) the new software design view. WSDL offers a verbose, ASCII, standard, and language-agnostic view of services offered to clients. WSDL also provides noninvasive future-proofing for existing applications and services and allows interoperability across the various programming paradigms, including CORBA, J2EE, and .Net. This article shows a service's WSDL view, then explains how you can generate client and service implementations for Java and C#. It finishes by discussing possible sources for initial WSDL view generation.  |
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 October 2002 Abulsorour & Visveswaran |
Business process automation made easy with Java, Part 2 Design options for rule engine integration, data synchronization considerations, workflow engine integration, and some best-practice quality-of-service considerations. Also, emerging data interchange standards that enable a more flexible solution  |
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 March 2002 Matjaz B. Juric |
Integrate EJBs with CORBA Interoperability between EJBs and CORBA is important for integrating Java- and non-Java-based applications. This article shows how to achieve integration between an EJB and a CORBA C++ application...  |
JavaWorld March 2002 |
Letters to the Editor JavaWorld readers warn about synchronization; present a Servlet 2.2-compliant solution for mixing protocols in Web apps; suggest using the Data Object Access design pattern with the Value Object design pattern... etc.  |
JavaWorld April 2002 Ramnivas Laddad |
I want my AOP!, Part 3 How to use AOP and AspectJ to solve real-world problems by modularizing crosscutting concerns...  |
JavaWorld September 28, 2001 |
Java Product News Sun releases J2EE 1.3... Kada and Cisco partner to expand network capabilities... Merant launches content management tool... Java and XSLT now available from O'Reilly... TIBCO licenses J2EE... Amber Archer introduces open source Java class library... etc.  |
JavaWorld October 12, 2001 |
Java Product News EspressChart EJB offers data visualization for Web-based apps... Software Tree updates JDX... eTeks launches Jeks and JeksParser... DCT to preview new SDK... Fujitsu's app server now J2EE-compatible... Hypercom and 360Commerce partner to deliver Java-based payment solution... etc.  |