| View: | [ 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 ] |
| Articles Tutorials |
- Java API reference documentation by Mariana Alupului - [Clicks: 9]
This article, Part 2 of a series, describes different approaches for generating easy-to-use and searchable Java application programming interfaces (API) reference documentation.
[Includes sample code]
http://www.ibm.com/developerworks/rational/library/07/1225_alupului/index.html - Dec, 2007 - Life outside the IDE by Nathan Hamblen - [Clicks: 6]
The thought of programming without your favorite Java IDE shouldn't set your knees to knocking. Learn how old-school programming with a text editor and some cool tools can put you back on the cutting edge of Java development.
[Includes source code]
http://www.javaworld.com/javaworld/jw-12-2007/jw-12-outside-the-ide.html - Dec, 2007 - Java vs Ruby: a Comparison of the Key Elements by Deepak Vohra - [Clicks: 16]
Ruby is often compared to Java and is touted as an alternative to Java. Take a closer look at the building blocks of the two languages and decide for yourself.
http://www.developer.com/java/other/article.php/3716356 - Dec, 2007 - Back to Basics with Dates, Calendars, and Formatters by Rob Lybarger - [Clicks: 10]
Learn how to use the Calendar class to properly compute differences between dates, understand why using "24*60*60*1000" is a really bad idea, and see how ChoiceFormat can be used to display relative date differences in a human-friendly format without effort.
http://www.developer.com/java/other/article.php/3715906 - Dec, 2007 - Exceptions for action by Jean-Pierre Norguet - [Clicks: 7]
Is your code overloaded with exceptions? Get some guidelines for writing efficient, reusable exceptions that minimize processing overhead without leaving users or sysadmins in the dark.
http://www.javaworld.com/javaworld/jw-11-2007/jw-11-exceptionset.html - Nov, 2007 - Stick a fork in it by Brian Goetz - [Clicks: 11]
One of the additions to the java.util.concurrent packages coming in Java 7 is a framework for fork-join style parallel decomposition. The fork-join abstraction provides a natural mechanism for decomposing many algorithms to effectively exploit hardware parallelism.
http://www.ibm.com/developerworks/java/library/j-jtp11137.html - Nov, 2007 - REST easy with the JavaBeans Activation Framework by Jeff Hanson - [Clicks: 7]
Find out what makes the JavaBeans Activation Framework a perfect vehicle for RESTful data transmission, then put JAF to work in a sample Web application that tracks requests and responses through a Java Servlet-based system.
[Includes source code]
http://www.javaworld.com/javaworld/jw-10-2007/jw-10-resteasy.html - Oct, 2007 - Java diagnostics, IBM style, Part 4: Extending the IBM Dump Analyzer for Java with analysis modules by Helen Beeken, Toby Corbin, Daniel Julin, Julie Stalley, Martin Trotter - [Clicks: 14]
In the first article in this series, you learned about the IBM Dump Analyzer for Java, a tool that can perform analysis against a formatted system dump and offer suggestions for problem diagnosis. One of the great advantages of this tool is that you can extend its functionality by writing your own analysis modules. This article wraps up this series on IBM diagnostic tooling for the Java platform by showing you how to build analyzers that will help you plumb the depths of your system dumps and fine-tune your Java code.
http://www.ibm.com/developerworks/java/library/j-ibmtools4/index.html - Oct, 2007 - Java diagnostics, IBM style, Part 3: Diagnosing synchronization and locking problems with the Lock Analyzer for Java by Toby Corbin - [Clicks: 10]
The IBM Lock Analyzer for Java, available from alphaWorks, provides real-time lock monitoring on a running Java application. It highlights threads suffering from lock contention that could be hurting application performance. Developers can use this information to modify their applications to reduce lock contention and thus improve performance. This article introduces the IBM Lock Analyzer for Java, explains the architecture on which it is built, and provides some thoughts about the tool's future direction.
http://www.ibm.com/developerworks/java/library/j-ibmtools3/index.html - Oct, 2007 - Becoming a Better Programmer: A Conversation With Java Champion Heinz Kabutz by Janice J. Heiss - [Clicks: 19]
Dr. Heinz Kabutz, Java Champion and creator of the Java Specialists' Newsletter, discusses the importance of design patterns and unit testing, the 10 laws of Java concurrency, and life as a developer on the island of Crete.
http://java.sun.com/developer/technicalArticles/Interviews/community/kabutz_qa.html - Oct, 2007 - Java diagnostics, IBM style, Part 2: Garbage collection with the Extensible Verbose Toolkit by Holly Cummins - [Clicks: 10]
The Extensible Verbose Toolkit, new tooling from IBM, is designed to help diagnose and analyze memory-related Java performance problems. This article, second in a four-part series, explains how to obtain and use the toolkit and demonstrates how you can use it to quickly diagnose some common problems.
http://www.ibm.com/developerworks/java/library/j-ibmtools2/index.html - Oct, 2007 - Better monitors for Java by Theodore S. Norvell - [Clicks: 14]
Learn techniques that take the guesswork out of safe multithreaded programming, then get started with a free, Java-based monitor package that automates assertion checking during execution.
http://www.javaworld.com/javaworld/jw-10-2007/jw-10-monitors.html - Oct, 2007 - Launch Java Applications from Assembly Language Programs by Biswajit Sarkar - [Clicks: 12]
Java to assembly is one thing, but what about calling Java from assembly language? Biswajit Sarkar says he's worked on assembly programs where the most effective way to incorporate higher-level functionality was to create and invoke a JVM. In this article, he shows how it's done.
[Includes source code]
http://today.java.net/pub/a/today/2007/10/04/launch-java-applications-from-assembly-language-programs.html - Oct, 2007 - Introduction to JSR-275: Measures and Units by Jean-Marie Dautelle - [Clicks: 8]
The new Measures and Units specification takes the uncertainty out of Java programming with physical measurements.
http://www.javaworld.com/javaworld/jw-10-2007/jw-10-jsr275.html - Oct, 2007 - Java diagnostics, IBM style, Part 1: Introducing the IBM Dump Analyzer for Java by Helen Beeken, Daniel Julin, Julie Stalley, Martin Trotter - [Clicks: 7]
Java applications have become increasingly complex; as a result, diagnosing problems in these applications is a non-trivial task and may require extensive work with an external service organization. A helpful pointer in the right direction could save both time and expense. The IBM Dump Analyzer for Java is a tool that performs basic analysis against a formatted system dump and produces a concise report indicating what it thinks your next course of action should be. This article introduces the IBM Dump Analyzer for Java and provides some background information about the types of problems that the tool can diagnose. It explains the architecture on which the IBM Dump Analyzer for Java is built and provides some thoughts about the future direction of the tool.
http://www.ibm.com/developerworks/java/library/j-ibmtools1/index.html - Oct, 2007 - The Box: A Shortcut to finding Performance Bottlenecks by Kirk Pepperdine - [Clicks: 10]
Finding performance bottlenecks can be a difficult task and it can get more difficult as our applications grow in size. The Box is a methodology tool that focuses us efforts to improve performance.
http://www.infoq.com/articles/the-box - Sep, 2007 - Resource Management: An Introduction by Art Sedighi - [Clicks: 4]
Take a look at the resource management side of the Grid and virtualized environment. It is not an easy problem to tackle. Hopefully, the tactics shown here will help.
http://www.developer.com/java/other/article.php/3700171 - Sep, 2007 - How to Handle Java Finalization's Memory-Retention Issues by Tony Printezis - [Clicks: 7]
Learn how to avoid memory-retention problems when working with third-party classes that use finalizers.
http://java.sun.com/developer/technicalArticles/javase/finalization/ - Sep, 2007 - Optimizing regular expressions in Java by Cristian Mocanu - [Clicks: 7]
Fast track your regular expressions with the help of possessive quantifiers, independent grouping, lookarounds, and the regex pattern-matching engine itself.
http://www.javaworld.com/javaworld/jw-09-2007/jw-09-optimizingregex.html - Sep, 2007 - Limiting JVM on VPS (Virtual Private Server) by Serge Bornow - [Clicks: 7]
It can be difficult to set up and run Java (JVM) on a Virtual Private Server. If you get past the initial steps, you will see that it is well worth your effort.
http://www.developer.com/java/other/article.php/3697421 - Aug, 2007 - Coordinate conversions made easy by Sami Salkosuo - [Clicks: 6]
Applications offering location-based services are all the rage, but how can a computer identify a location in the real world? There are several ways to answer that question, but they all involve a geographic coordinate system, and there are several such systems in use. In this article, application architect Sami Salkosuo offers Java code that converts location data between two popular systems: the familiar system of longitude and latitude and the Universal Transverse Mercator system.
[Includes sample code]
http://www.ibm.com/developerworks/java/library/j-coordconvert/index.html - Aug, 2007 - Java RTS Real-Time Enables Financial Applications by Eric Bruno - [Clicks: 11]
Version 2.0 of Sun's Java Real-time System (Java RTS) contains a real-time garbage collector and RTSJ-compliant programming models. Find out how it can lend predictability and deterministic behavior to financial applications.
[Includes source code]
http://www.devx.com/Java/Article/35246 - Aug, 2007 - Develop with Java and PHP technology on AIX Version 5.3, Part 5: Installing and integrating the PHP Java Bridge by Doug Monroe, Martin Brown - [Clicks: 9]
It is possible to develop applications that employ both Java and PHP technology on AIX. Part 5 of this six-part series teaches you how to install, set up, and integrate the PHP Java Bridge into the Tomcat application server, making you all set for developing a PHP Web interface.
http://www.ibm.com/developerworks/aix/library/au-javaphpaix5/index.html - Aug, 2007 - Real-time Java, Part 6: Simplifying real-time Java development by Michael Dawson - [Clicks: 9]
Now that real-time Java virtual machines support scoped memory, defining common patterns for scoped memory usage can improve developer productivity. These patterns reduce the need to understand or work with scopes directly by providing scopes' core functions with less complexity. This article, the sixth and last in the Real-time Java series, introduces the Lifecycle Memory Managed Periodic Worker Threads pattern as a model for simplifying real-time Java development. It demonstrates the pattern's feasibility through a sample implementation and simple example application.
[Includes sample code]
http://www.ibm.com/developerworks/java/library/j-rtj6/index.html - Jul, 2007 - Enabling Peer-to-Peer BitTorrent Downloads with Azureus by Jacobus Steenkamp - [Clicks: 9]
BitTorrent is one of the more popular protocols being used for peer-to-peer file transfers, and enabling your Java applications to use this protocol has never been easier. With a little theory and a lot of working code, this article shows you how to add peer-to-peer protocols to your own apps.
http://www.onjava.com/pub/a/onjava/2007/06/21/enabling-peer-to-peer-bittorrent-downloads-with-azureus.html - Jun, 2007 - Develop with Java and PHP technology on AIX Version 5.3, Part 3: Integrating the Java business application with DB2 Version 9 by Doug Monroe, Martin Brown - [Clicks: 2]
It is possible to develop applications that employ both Java and PHP technology on AIX. You can use the Java programming language for the core logic (or redeploy an existing Java-based application), while gaining the benefits of PHP as a Web-based interface platform. In this article, the third of the series, find out how to connect the core application created in the second installment to a DB2 database for the storage of the survey questions and responses.
[Includes sample code]
http://www.ibm.com/developerworks/aix/library/au-javaphpaix3/index.html - Jun, 2007 - Real-time Java: Writing and deploying real-time Java applications by Caroline Gough, Andrew Hall, Helen Masters, Alan Stevens - [Clicks: 8]
This article, the fifth in a six-part series about real-time Java, shows how to write and deploy real-time Java applications using the tools provided with IBM WebSphere Real Time. Using sample applications, the authors demonstrate the Metronome garbage collector for controlling garbage-collection pauses, the Ahead-of-time compiler for avoiding run-time compilation pauses, and NoHeapRealtimeThreads for meeting the most stringent timing requirements.
[Includes sample code]
http://www.ibm.com/developerworks/java/library/j-rtj5/index.html - Jun, 2007 - Track Conversation State on the Client using Applets by Ganesh Ram Santhanam - [Clicks: 7]
HTTP's statelessness has long been a challenge to webapp developers, requiring state to be maintained somewhere, usually on the server. In this article Ganesh Ram Santhanam offers a new approach, exploiting an interesting trait of the Java Plug-In to allow applets to maintain state for your JavaScript, even across Applet.destroy() calls.
[Includes source code]
http://today.java.net/pub/a/today/2007/05/29/track-client-side-conversation-state-with-applets.html - May, 2007 - An Interview with Robert Brewin by David Bock - [Clicks: 11]
What happens when you get the CTO of Sun and the editor of OnJava in the same room at JavaOne? A short but informative interview for the OnJava readers about JavaFX Script, JavaFX Mobile, and the future of the Java platform.
http://www.onjava.com/pub/a/onjava/2007/05/10/an-interview-with-robert-brewin.html - May, 2007 - Develop with Java and PHP technology on AIX Version 5.3, Part 1: Setting up the Java environment by Doug Monroe, Martin Brown - [Clicks: 12]
Develop a Java application on AIX and learn how to extend it by using a PHP interface to look at the underlying Java code. It is possible to develop applications that employ both Java and PHP technology on AIX. You can use Java code for the core logic (or redeploy an existing Java-based application), while gaining the benefits of PHP as a Web-based interface platform. This article, the first in a series, examines the basics of the Java environment and PHP integration methods on AIX, provides a quick overview of a sample application that uses this structure, and then looks at the core elements required before you start developing the application itself by installing the Java programming language and Apache Tomcat.
http://www-128.ibm.com/developerworks/aix/library/au-javaphpaix1/index.html - May, 2007 - Real-time Java, Part 4: Real-time garbage collection by Benjamin Biron, Ryan Sciampacone - [Clicks: 9]
Nondeterministic pauses in traditional garbage collection (GC) have inhibited Java technology from being a suitable environment for real-time (RT) development. Metronome GC -- part of IBM WebSphere Real Time -- provides deterministic GC behavior that, when combined with other features, enables developers to write hard RT applications in the Java language. The authors describe the approach that Metronome uses for deterministic GC, technical issues involved in developing Metronome, and the tools and facilities available for tuning GC.
http://www-128.ibm.com/developerworks/java/library/j-rtj4/index.html - May, 2007 - Converting Your Java App into a Windows Service by Narendra Venkataraman - [Clicks: 21]
Reusing a framework usually is a good idea, but sometimes developing your own code for a specific task is easier. Developing code to convert a Java application into a Windows service turns out to be one of those rare cases.
[Includes source code]
http://www.devx.com/Java/Article/34438 - Apr, 2007 - Real-time Java, Part 3: Threading and synchronization by Patrick Gallop, Mark Stoodley - [Clicks: 10]
This article, the third in a five-part series on real-time Java, examines aspects of threading and synchronization that an implementation of the Real-time Specification for Java (RTSJ) must support. You'll also learn about related threading and synchronization concerns that are essential to keep in mind when you develop and deploy real-time applications.
http://www-128.ibm.com/developerworks/java/library/j-rtj3/index.html - Apr, 2007 - Real-time Java, Part 2: Comparing compilation techniques by Mark Stoodley, Kenneth Ma, Marius Lut - [Clicks: 22]
This article, the second installment in a five-part series on real-time Java, looks at some of the issues involved in native code compilation for the Java language. Neither dynamic (Just-in-time) nor static (Ahead-of-time) compilation alone can meet the requirements for all Java applications. The authors compare the two compilation technologies in various execution environments and show how they complement each other's strengths.
http://www-128.ibm.com/developerworks/java/library/j-rtj2/index.html - Apr, 2007 - Implement Parallel Processing in Your Java Applications by Eric Bruno - [Clicks: 18]
How do you as a Java developer adapt your applications to the multi-core and parallel computing trends? A new Java framework can help you build parallel applications quickly.
http://www.devx.com/Java/Article/34289 - Apr, 2007 - Real-time Java, Part 1: Using the Java language for real-time systems by Mark Stoodley, Mike Fulton, Michael Dawson, Ryan Sciampacone, John Kacur - [Clicks: 19]
This article, the first in a five-part series on real-time Java, describes the key challenges to using the Java language to develop systems that meet real-time performance requirements. It presents a broad overview of what real-time application development means and how runtime systems must be engineered to meet the requirements of real-time applications. The authors introduce an implementation that addresses real-time Java challenges through a combination of standards-based technologies.
http://www-128.ibm.com/developerworks/java/library/j-rtj1/index.html - Apr, 2007 - Controlling Threads by Example by Viraj Shetty - [Clicks: 19]
The methods people commonly think of for controlling threads were deprecated long ago, and are not safe to use. In this article, Viraj Shetty shows the appropriate techniques for starting, pausing, resuming, and stopping activities taking place in a multithreaded application.
[Includes source code]
http://www.onjava.com/pub/a/onjava/2007/04/06/controlling-threads-by-example.html - Apr, 2007 - Reflections on Java Reflection by Russ Olsen - [Clicks: 17]
Java Reflection is not confusing once you have a good understanding of the concepts. In this article, Russ Olsen describes how to get useful information about a class using the basics of the Reflection API.
http://www.onjava.com/pub/a/onjava/2007/03/15/reflections-on-java-reflection.html - Mar, 2007 - Esper: Event Stream Processing and Correlation by Thomas Bernhardt, Alexandre Vasseur - [Clicks: 19]
Event-driven architectures turn a traditional data-driven application's architecture upside-down. Instead of storing the data and running queries against stored data, Esper allows applications to store queries and run the data through. This article introduces Esper, a lightweight event processing kernel written in Java.
http://www.onjava.com/pub/a/onjava/2007/03/07/esper-event-stream-processing-and-correlation.html - Mar, 2007 - Comments on Comments on Comments by Jeff Langr - [Clicks: 12]
Another view on a long debated issue: comments within code.
http://www.developer.com/design/article.php/3660716 - Feb, 2007 - Multi-threaded Magic: Building Multitasking Applications by Sridhar M S - [Clicks: 19]
Multi-threading is used so widely that it's become ubiqitous. How else do you think you can listen to music at the same time that you change the display of your music player? This article introduces the basics of this increasingly useful methodolgy.
http://javaboutique.internet.com/tutorials/multi/ - Feb, 2007 - Tackling Java Performance Problems with Janino by Tom Gibara - [Clicks: 27]
The Janino library takes a very different approach to performance, allowing you to dynamically compile your most-used expressions. Tom Gibara introduces Janino and makes some remarkable claims about its capabilities.
http://today.java.net/pub/a/today/2007/02/15/tackling-performance-problems-with-janino.html - Feb, 2007 - Countdown to DST 2007 by Paulo Caroli - [Clicks: 24]
This article by Paulo Caroli provides you with a simple mechanism that will validate the JRE correctness regarding the DST transition dates.
http://www.theserverside.com/tt/articles/article.tss?l=CountdownDST2007 - Feb, 2007 - Effective Java Exceptions by Barry Ruzek - [Clicks: 33]
One of the biggest architectural decisions for a Java developer is how to use the Java exception model. Barry Ruzek explains how Aspect Oriented Programming (AOP) techniques can help you to make the right choices.
http://dev2dev.bea.com/pub/a/2006/11/effective-exceptions.html - Jan, 2007 - The POJO Container: POJO Clustering at the JVM Level by Ari Zilka - [Clicks: 14]
POJO clustering at the JVM level not only provides a simple way for applications to achieve scale-out, but also sets the stage for a stack of enterprise-scale services and practices based on simple POJOs -- the POJO container.
http://www.devx.com/Java/Article/33495 - Jan, 2007 - Delve into Hierarchical Inherited Rule-Interpreted XML by Chad L. Meadows - [Clicks: 7]
With the new XML technology called Hierarchical Inherited Rule-Interpreted XML, you can replace standard Java properties with dynamic versions. It allows you to define properties that you can evaluate based on the state of the application using simple expressions or even Groovy expressions, and it lets you use only one properties file for multiple instances of the application. Learn how to apply this technology in a simple, practical example as a replacement for Java properties files.
http://www-128.ibm.com/developerworks/java/library/x-hirix1.html - Jan, 2007 - Go Inside the Java Real-Time System by Eric Bruno - [Clicks: 15]
Real-time Java is about more than applications that need to be fast. Find out what real-time requirements actually are and get an in-depth look at what Sun Microsystem's real-time Java can do for you.
[Includes sample code]
http://www.devx.com/Java/Article/33475 - Jan, 2007
- Develop with Java and PHP technology on AIX Version 5.3, Part 2: Building the Java business application by Doug Monroe, Martin Brown - [Clicks: 3]
It is possible to develop applications that employ both Java and PHP technology. You can use Java technology for the core logic (or redeploy an existing Java-based application), while gaining the benefits of PHP as a Web-based interface platform. In this tutorial, the second part of a five-part series, create a simple Java business application and then deploy it as a servlet on the Apache Tomcat application server on a System p system with the IBM AIX Version 5.3 operating system.
[Formats: html, pdf]
http://www.ibm.com/developerworks/edu/au-dw-au-javaphpaix2-i.html - Jun, 2007