Blogs by topic: Java Tools
| • Accessibility | • Ajax | • Blogging | • Business | • Community |
| • Databases | • Deployment | • Distributed | • Eclipse | • Education |
| • EJB | • Extreme Programming | • Games | • GlassFish | • Grid |
| • GUI | • IDE | • Instant Messaging | • J2EE | • J2ME |
| • J2SE | • Jakarta | • JavaFX | • JavaOne | • Jini |
| • JSP | • JSR | • JXTA | • LDAP | • Linux |
| • Mobility | • NetBeans | • Open Source | • OpenSolaris | • OSGi |
| • P2P | • Patterns | • Performance | • Porting | • Programming |
| • Research | • RMI | • RSS Feeds | • Search | • Security |
| • Servlets | • Struts | • Swing | • Testing | • Tools |
| • Virtual Machine | • Web Applications | • Web Design | • Web Development Tools | • Web Services and XML |
Education
The search algorithm is used for finding an item within a collection of items. String searching algorithm is a category of the search algorithm. The main idea of string searching algorithm is to find text pattern in a string. There are many techniques used to solve this. This third and last entry will be about 'Boyer-Moore (BM)' algorithm and how you can apply it on a simple Java code.
The search algorithm is used for finding an item within a collection of items. String searching algorithm is a category of the search algorithm. The main idea of string searching algorithm is to find text pattern in a string. There are many techniques used to solve this. This first entry will be about 'brute-force search' and how you can apply it on a simple Java code.

This article has the main objective show a little example for persist information in Cassandra using java.
For demonstrated the persistence with Cassandra will used the Easy-Cassandra, a framework open source for use this SGBG in an easy mode.
@ColumnFamilyValue(nome = "person")//
public class Person implements Serializable {
private static final long...

A preview of the pure Java version of VisualLangLab is now available. The GUI, and other characteristics, are virtually identical to the previous version, but the JAR file is very much smaller as it does not bundle the Scala API jars.
Programming

Fast Messenger in JavaScript can forward messages for your objects and functions within the main UI thread, one or multiple web workers, or even between UI thread and web workers. This way your JavaScript programs are promoted to be multi-threaded in no time.

FM Lite is a specially tailored subset of FM that aims to complete with threads and multithreading.

Fast Messenger provides FutureReply a mechanism similar to the Future in Java. Sequential OO programs may keep the same program flow while enjoying high concurrency out of asynchronous messaging. When you obtain an instance of FutureReply by sending out a message, your code will continue without blocking. You can perform any work before you decide to check whether a reply is ready. Even the checking offers you two options, you can check, leave (non-blocking) and come back later, or you can wait (blocking) until a reply is ready.

This post revisits the active object implementation of the quick sort example, and introduces basic concepts of active object model provided by Fast Messenger. In the post I will explain what active objects are, how they identify themselves, how they address each other, and how they communicate with codes found in the quick sort example. (This post will not cover features not found in the example.)

This post describes two concurrent implementations of quick sort algorithm. One version uses active objects (provided by Fast Messenger) for concurrence, while the other version uses traditional multithreading.

The post describes three implementations of the Fibonacci function. Each implementation demonstrates a different programming model: sequential, multi-thread and active-object programming.

What is the largest double that could in theory be produced by Math.random()? In this newsletter, we look at ways to calculate this based on the 48-bit random generator available in standard Java. We also prove why in a single-threaded program, (int)(Random.nextDouble() + 1) can never be rounded up to 2.

We coax Rhino (an elusive, misunderstood, and ignored member of the Java ecosystem) into a mind meld, giving it access to the JVM's thoughts, experiences, memories, and knowledge; and take it where no rhino has gone before!
I mentioned the idea to use Wordle as an execution profiler while presenting the profiling section of my performance tuning course in Paris last December. The idea was seeded by presentation that Neal Ford did a few years ago in which he used Wordle to expose the vocabulary of a Java application. Instead of vocabulary, I wanted to see if Wordle could be used to visualize an applications dominate behavior.

A new tutorial exercises VisualLangLab using all the examples and techniques in Chapter-3 "A Quick Tour for the Impatient" of the book "The Definitive ANTLR Reference". A new "WildCard" pseudo-token that matches any other defined token has been added to facilitate recovery from grammar errors in the input. Read about the various other improvements that make VisualLangLab even more user-friendly.
Community

Running the new version of the Easy-Cassandra framework it main objective is making it easy the communication between Apache Cassandra and your application in java. With it you able create, update, retrieve, delete the java's objects in easy way and simple, for this you must add some annotation in Class and fields.
Characteristics
An ORM easy to use in Cassandra...

Know how persist document in the Cassandra in a way fairly simple
GUI
Use the new Java7 (JDK7) grammar to search the source-code of Oracle's JDK 7u3 for usages of the new Java7 "project coin" language features (strings in switch, multi-catch, try with resource, diamond, binary literals, underscores in numeric literals, ...)
Accessibility

Easy-Cassandra is a framework ORM API and a high client for Apache Cassandra in java, with this is possible persist information from the Java Object in easy way. For this is only necessary add some annotations in some fields and your class. It works like an abstraction's tier in the Thrift, doing call for Cassandra.
The Easy-Cassandra...
Tools

I think that Maven is a great tool for development. But it can be used for more. For instance, I've just prepared things so that starting from a clean room you can try out my lightweight CMS, NorthernWind, by just invoking a couple of commands. They will install and run NorthernWind, an embedded server and an example site. More information at the NorthernWind blog.
Testing
Today I decided it was past time to reorganize the slides in the performance testing section of the course. I added a number of new diagrams and charts to help organize the materials and then I went back and started to review some of the definitions that I was using. First up was the question; what is performance testing and how is it related to load testing






