| View: | [ 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 ] |
| Articles |
- JSR 310: A New Java Date/Time API by Jesse Farnham - [Clicks: 4]
Java SE's Date and Calendar classes leave much to be desired. Will the third time be the charm? JSR 310, tracking for inclusion in Java SE 7, once again tries to offer a comprehensive date and time API, borrowing much of its design from the popular Joda Time API. In this article, Jesse Farnham takes a look at JSR 310's concepts and how they may yet bring sense to dates and times in Java.
http://today.java.net/pub/a/today/2008/09/18/jsr-310-new-java-date-time-api.html - Sep, 2008 - Creating DSLs in Java, Part 4: Where metaprogramming matters by Venkat Subramaniam - [Clicks: 5]
Newer JVM-compatible languages like Scala, Groovy, and JRuby are better suited to creating internal DSLs than the Java language itself. Find out why in this final article in Venkat Subramaniam's introduction to creating DSLs in Java.
http://www.javaworld.com/javaworld/jw-09-2008/jw-09-dsls-in-java-4.html - Sep, 2008 - The Open Road: javax.annotation by Elliotte Rusty Harold - [Clicks: 6]
Annotations were introduced in Java 5, and now that the community has had time to try them out and get used to them, Java 7 is preparing to adopt them aggressively. In this installment of The Open Road, Elliotte Rusty Harold looks at the annotations proposed by JSR 305 and how they'll make your code more amenable to static analysis, compiler checks, and other tools to improve safety and robustness.
http://today.java.net/pub/a/today/2008/09/11/jsr-305-annotations.html - Sep, 2008 - Create a Java applet to download information in remote Web services by Nicholas Chase - [Clicks: 5]
Start with a Java applet and build a server-based proxy system that uses your browser to access an arbitrary Web service. You'll use JavaScript code to access applet-based information and call a servlet, which retrieves the remote information. Thus, you bypass the same-server restrictions on what an applet can and cannot do.
http://www.ibm.com/developerworks/xml/library/x-jappws/index.html - Sep, 2008 - Efficient data transfer through zero copy by Sathish K. Palaniappan, Pramod B. Nagaraja - [Clicks: 5]
This article explains how you can improve the performance of I/O-intensive Java applications running on Linux and UNIX platforms through a technique called zero copy. Zero copy lets you avoid redundant data copies between intermediate buffers and reduces the number of context switches between user space and kernel space.
[Includes sample code]
http://www.ibm.com/developerworks/java/library/j-zerocopy/index.html - Sep, 2008 - The case for Java modularity by Jeff Hanson - [Clicks: 4]
It never rains but it pours! Get some background on the long and winding road to Java modularity, then compare the two specification requests vying for inclusion in Java 7: JSR 291: Dynamic Component Support for Java SE and JSR 277: (Sun's) Java Module System.
http://www.javaworld.com/javaworld/jw-08-2008/jw-08-java-modularity.html - Aug, 2008 - Creating DSLs in Java, Part 3: Internal and external DSLs by Venkat Subramaniam - [Clicks: 2]
Learn about the importance of method chaining in internal DSLs, then try creating an external DSL using a powerful language recognition tool, openArchitectureWare.
http://www.javaworld.com/javaworld/jw-08-2008/jw-08-dsls-in-java-3.html - Aug, 2008 - Return-Type-Based Method Overloading in Java by Vinit Joglekar - [Clicks: 14]
Overloaded method names must differ by parameter count and type and not return type, right? Wrong! The VM knows the return type of all methods and with a little bytecode engineering, you can have methods that differ only by return type. Vinit Joglekar shows you how it's done.
[Includes sample code]
http://today.java.net/pub/a/today/2008/07/31/return-type-based-method-overloading.html - Jul, 2008 - Four harmful Java idioms, and how to fix them by John O'Hanley - [Clicks: 10]
John O'Hanley reveals the fault lines in four widespread Java idioms, then tickles our brains with new ideas about optimizing Java code for maintainability.
http://www.javaworld.com/javaworld/jw-07-2008/jw-07-harmful-idioms.html - Jul, 2008 - Fun with Continuations by Raphael Mudge - [Clicks: 8]
Continuations offer the ability to persist program state, which gives you the ability to employ a number of sophisticated techniques in your development. Sleep, a Perl-like scripting language that runs on the JVM, offers first-class support for continuations. In this article, Raphael Mudge shows you how to use continuations in Sleep and what you can do with them.
http://today.java.net/pub/a/today/2008/07/24/fun-with-continuations.html - Jul, 2008 - An Introduction to Real-Time Java Technology: Part 2, Garbage Collection and the Sun Java Real-Time System (Java RTS) by Brian Goetz, Robert Eckstein - [Clicks: 3]
Part 1 of this series looked at the Real-Time Specification for Java (RTSJ), JSR 1, and examined the topics of thread priorities, memory management, and advanced communication between threads. Part 2 will examine the topic of garbage collection and introduce the Sun Java Real-Time System (Java RTS), Sun's commercial implementation of the RTSJ.
http://java.sun.com/developer/technicalArticles/Programming/rt_pt2/ - Jul, 2008 - An Introduction to Real-Time Java Technology: Part 1, The Real-Time Specification for Java (JSR 1) by Brian Goetz, Robert Eckstein - [Clicks: 7]
Often associated with high speed, real-time computing is more about predictability, the knowledge that the system will always perform within the required time frame.
http://java.sun.com/developer/technicalArticles/Programming/rt_pt1/ - Jul, 2008 - Creating DSLs in Java, Part 2: Fluency and context by Venkat Subramaniam - [Clicks: 6]
Take your next step toward building fluent, context-aware DSLs, starting with examples based on real-world APIs from EasyMock and Guice. Then try a hands-on exercise in building a fluent, context-aware DSL using Groovy.
http://www.javaworld.com/javaworld/jw-07-2008/jw-07-dsls-in-java-2.html - Jul, 2008 - Beyond XML and JSON: YAML for Java Developers by Jacek Furmankiewicz - [Clicks: 9]
Get a high-level introduction to the YAML file format for Java developers. Find out how it differs from XML and JSON and examine its relative advantages and drawbacks.
http://www.devx.com/Java/Article/38509 - Jul, 2008 - Robust Java benchmarking, Part 1: Issues by Brent Boyer - [Clicks: 9]
Program performance is always a concern, even in this era of high-performance hardware. This article, the first in a two-part series, guides you around the many pitfalls associated with benchmarking Java code. Part 2 covers the statistics of benchmarking and offers a framework for performing Java benchmarking. Because almost all new languages are virtual machine-based, the general principles the article describes have broad significance for the programming community at large.
http://www.ibm.com/developerworks/java/library/j-benchmark1.html - Jun, 2008 - Robust Java benchmarking, Part 2: Statistics and solutions by Brent Boyer - [Clicks: 6]
Program performance is always a concern, even in this era of high-performance hardware. This article, the second in a two-part series, covers the statistics of benchmarking and offers a framework you can use to benchmark Java code ranging from self-contained microbenchmarks to code that calls a full application.
http://www.ibm.com/developerworks/java/library/j-benchmark2/index.html - Jun, 2008 - Next Generation in Applet Java Plug-in Technology by Dana Nourie, Kenneth Russell - [Clicks: 6]
Discover the new Java Plug-in technology, which runs applets in a different, more efficient and reliable way than ever before.
http://java.sun.com/developer/technicalArticles/javase/newapplets/ - Jun, 2008 - Understanding the closures debate by Klaus Kreft, Angelika Langer - [Clicks: 11]
Does Java need closures? The question might seem best left to Java theorists, but the final decision could redefine the way you work in Java code. Learn what you need to know about the three proposals for closures in Java 7 and how they differ.
http://www.javaworld.com/javaworld/jw-06-2008/jw-06-closures.html - Jun, 2008 - Creating DSLs in Java, Part 1: What is a domain-specific language? by Venkat Subramaniam - [Clicks: 11]
Some say general-purpose languages such as Java are on their way out, soon to be replaced by DSLs for every occasion. Get ready for the shift in this first installment of Venkat Subramaniam's four-part introduction to domain-specific languages.
http://www.javaworld.com/javaworld/jw-06-2008/jw-06-dsls-in-java-1.html - Jun, 2008 - Dead like COBOL by Ted Neward - [Clicks: 10]
With the recent reports of Java's imminent demise, you're probably wondering if it's time to leave the platform behind for greener pastures. Before you make a decision, step back and examine the Java ecosystem, along with that of its competitors, to see if the rumors have any substance. It's time, in other words, to have a State of the Java Union address, holding neither pride nor prejudice in the evaluation of the platform.
http://www.ibm.com/developerworks/java/library/j-cobol.html - May, 2008 - Realistically real-time by Jean-Marie Dautelle - [Clicks: 4]
In this preview to his JavaOne technical session, Javolution creator Jean-Marie Dautelle benchmarks various methods to reduce the worst-case execution time of Java applications.
http://www.javaworld.com/javaworld/jw-04-2008/jw-04-realtime.html - Apr, 2008 - Dynamic programming and sequence alignment by Paul Reiners - [Clicks: 10]
Molecular biology is increasingly dependent on computer science algorithms as research tools. This article introduces you to bioinformatics — the use of computers to solve biological problems. Learn the basics of dynamic programming, an advanced algorithmic technique you may find useful in many of your programming projects.
[Includes sample code]
http://www.ibm.com/developerworks/java/library/j-seqalign/ - Mar, 2008 - The Open Road: Superpackages by Elliotte Rusty Harold - [Clicks: 5]
Wonder what the relationship between com.example.package and com.example.package.test is? There isn't one! This lack of an orderly package-visibility relationship has made life difficult for a number of programmers trying to balance organizational needs against practical concerns. In this entry of "The Open Road," Elliotte Rusty Harold takes a look at how JSR 294 ("superpackages"), intended to be part of Java SE 7, proposes to fix this problem.
http://today.java.net/pub/a/today/2008/03/06/jsr-294-superpackages.html - Mar, 2008 - Java theory and practice: Stick a fork in it, Part 2 by Brian Goetz - [Clicks: 12]
One of the additions to the java.util.concurrent packages coming in Java 7 is a library for fork-join-style parallel decomposition. In part one of this series, author Brian Goetz showed how fork-join provides a natural mechanism for decomposing many algorithms to effectively exploit hardware parallelism. In this article, he'll cover the ParallelArray classes, which simplify parallel sorting and searching operations on in-memory data structures.
http://www.ibm.com/developerworks/java/library/j-jtp03048.html - Mar, 2008 - Dynamic Service Discovery with Java by Rob Lybarger - [Clicks: 10]
Learn what dynamic service discovery is and what it can do for you. Then see how easy it is to integrate this magic into your own project.
[Includes sample code]
http://www.developer.com/java/ent/article.php/3728576 - Feb, 2008 - Ropes: Theory and practice by Amin Ahmad - [Clicks: 4]
Systems that manipulate large quantities of string data are poorly served by the Java language's default String and StringBuilder classes. A rope data structure can be a better alternative. This article introduces Ropes for Java, a rope implementation for the Java platform; explores performance issues; and provides pointers for effective use of the library.
http://www.ibm.com/developerworks/java/library/j-ropes/index.html - Feb, 2008 - Open source Java projects: Java Native Access by Jeff Friesen - [Clicks: 12]
The Java Native Interface offers a complex and potentially error-prone approach to accessing native code from your Java programs. This month Jeff Friesen introduces JNA: an open source Java project that lets you take what you need from native libraries without writing a line of non-Java code.
[Includes source code]
http://www.javaworld.com/javaworld/jw-02-2008/jw-02-opensourcejava-jna.html - Feb, 2008 - The future is now -- Java development in 2008 by Andrew Glover - [Clicks: 19]
Andrew Glover turns back the hour glass for a retrospective on the major developments of last year, and reveals what those events tell us about Java development in 2008.
http://www.javaworld.com/javaworld/jw-01-2008/jw-01-javain2008.html - Jan, 2008 - Java API reference documentation by Mariana Alupului - [Clicks: 22]
This article further discusses the JavaTOC doclet, how to use it, and how to extend it. The approaches described are the Javadoc standard solution and the Eclipse Plug-in Help System generated using the tool. I will run the JavaTOC doclet in Eclipse through the Custom doclet wizard, and second through Ant build system. The JavaTOC tool generates the TOC XML navigation for Java API reference documentation.
[Includes sample code]
http://www.ibm.com/developerworks/rational/library/08/0115_alupului/index.html - Jan, 2008 - Integrating Java and Erlang by Dennis Byrne - [Clicks: 16]
In this article, Dennis Byrne provides an introduction to the Erlang, a general-purpose concurrent programming language. Byrne uses Erlang to build a simple client server application after which he reverse engineers the application in pure Java using Jinterface, an open source component of Ericsson's Open Telecom Platform.
http://www.theserverside.com/tt/articles/article.tss?l=IntegratingJavaandErlang - Jan, 2008