12288Code Reviews and PMD Can Crush Bugs In Your Codehttp://www.exforsys.com/content/view/2123/352/There are a number of different code reviews you can use to enhance the quality of your Java projects. The the primary difference between them is their level of formality. The different code reviews are broken down into three categories, and these are code walkthroughs, code inspection, and code reading. A code walkthrough is the most basic of the three. A code walkthrough occurs when programmers get together to study the codes they've created. A code inspection is the most challenging of the three. It is was first developed in the 1970s, and it follows a process in which each programmer has a specific roleJava > Tips and Tutorials > MiscellaneousOct 12, 2006Exforsys
One of the strengths of the Java platform is its object-oriented nature; one of the benefits of object-oriented languages is that they aid code reuse. But what if you're a Java programmer and you want to reuse code that wasn't written in the Java language? With Bridge2Java, an IBM alphaWorks technology, Java developers can integrate COM objects into their applications. William Phillips explains how it works.
There is source code of simple class AePlayWave in this article, which can play WAV(AUFF, SND, AU might also be supported) sound files asynchronously (in a separate thread, without interruption of main program). It is possible to use it in console or GUI Java programs for playing user notification sounds. There is also trivial RSS-feed checker, which plays various sounds on rss-feed update.
I had looked through many documents on the net concerning capitalization in English and also spoke to some people that are supposed to know things like this. Then I've written some code that puts all this theory into Java. I also know that there are different ideas of how to write names like d'Angelo or d'Artagnan and that some people capitalize them as D'Angelo and D'Artagnan but I've chosen to stick to the first approach. The same applies to other names like di Caprio, da Vinci, etc. Feel free to change the code so that it reflects your vision of name capitalization. I think it's pretty obvious where to make the changes.
Over the past three years, parallel clustering has begun to change the face of supercomputing. Where once the monolithic multimillion-dollar machine ruled, the parallel cluster is fast becoming the supercomputer of choice. Predictably, enthusiasm in open-source circles has spawned hundreds -- if not thousands -- of parallel clustering projects. The first and most well-known open-source clustering system is Beowulf. Launched in 1994 by Thomas Sterling and Donald Becker under the auspices of NASA, Beowulf started out as a 16-node demonstration cluster. Today, there are hundreds of implementations of Beowulf, ranging from the Oak Ridge National Laboratory's Stone SouperComputer to Aspen Systems Inc.'s custom-built commercial clusters (see Resources).
Unfortunately for Java programmers, most clustering systems are built around C-based software messaging APIs such as Message Passing Interface (MPI) or Parallel Virtual Machine (PVM). Parallel programming in C is no easy task, so I have devised a workaround. In this article, I will show you how to use a combination of Java threads and Java Remote Method Invocation (RMI) to create your own Java-based supercomputer
JRuby is an alternate language for the Java platform. It is based on Ruby, a programming language developed by Yukihiro "Matz" Matsumoto. As stated on the RubyCentral homepage (see Resources), Ruby is a programming language that "combines the pure object-oriented power of the classic OO language Smalltalk with the expressiveness and convenience of a scripting language such as Perl." It is a relatively mature language, known for its clean, intuitive syntax and semantics and transparent, developer friendly programming model.
JRuby is a pure Java implementation of the Ruby interpreter. Like most languages discussed in this series, JRuby is both powerful and easy to learn. It incorporates the sophisticated text-processing of Perl, the iterators and closures familiar to Groovy developers, and the rapid development features of Jython and other languages discussed in this series. JRuby is also an interpreted language, so it can be run from the command line or used to evaluate simple expressions or blocks of code on the fly.
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.