Recently, I've been investigating the methods Java provides for developing desktop applications that efficiently utilize multicore processors. Java 7's Fork/Join Framework is the current focus of my investigation. But, Brian Goetz has just provided an update on the "State of the Lambda: Libraries Edition," which tells us lots about the current status of what's coming up in Java 8...
FM Lite is a specially tailored subset of FM that aims to complete with threads and multithreading.
A few nights ago, I was browsing the chapters about concurrent programming in Herbert Schildt's excellent "Java: The Complete Reference, 8th Edition," and I was struck by the evolution of concurrency in Java over the years, from threads, through the richness of Java 5's Concurrency Utilities, and on to Java 7's Fork/Join Framework...
With the advent of multicore processors on everything from desktop computers to tablets, pads, and even mobile phones, parallel processing is gaining increasing attention. This is at least in part what's behind the release of the Fork/Join Framework in Java 7, and the inclusion of Lambda Expressions...
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.
Note to the Java 8 development team (and the JCP): the latest completed Java.net poll indicates that Java developers overwhelmingly advocate the inclusion of JSR 310 in Java 8. Not only did the poll draw a large volume of voting, but the votes were unusually strongly skewed...
The post describes three implementations of the Fibonacci function. Each implementation demonstrates a different programming model: sequential, multi-thread and active-object programming.
Release the newest version of the framework to persist objects in Apache Cassandra in easy way. Among improvement is the JPA annotations, also JPQL.
JCassandra jCassandra=persistence.createJCassandra("select * from Person"); List<Person> persons=jCassandra.getResultList();
table 1: sample using JPQL in Easy-Cassandra
The following blog shows an example of Server Sent Events in HTML5. It demonstrates using a sample where a server periodically polls for Twitter information and sends the data to the clients using Server Sent Events
Server-Sent Events (SSE) support in GlassFish
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.
In some earlier posts, I've talked about Java threads, Java Thread Overhead, and Amdahl's Law and Parallel Processing Speed-Up. My next investigation in this series is Java 7's new Fork/Join Framework. I plan to spend quite a lot of time in this particular investigation...
Hello there! I'm Alessandro Gentile and this is my brand new blog on java.net.
I must say, I'm honored to be part of this community. Two months ago I joined the GlassFish project and I began to write tutorials. There are several reasons for my choice and among them there's the love for open source software and java EE.
Markus Eisele in his blog two weeks ago wrote an article that I found truly...
We build too many walls and not enough bridges.
In my previous blog post, I have asked to many of you this question: "What JSF should become?". And since then, I was quite silent. The reason behind it, is that I was working to build a concrete implementation of this vision and today I'm glad to give you a concrete demonstration of it. So Ladies and Gentlemen, why...
It seems not that long ago that the JavaOne 2012 Call for Papers began. Yet, here we are, in the CfP's final weekend! All proposals for JavaOne 2012 sessions must be submitted by 11:59 PM Pacific Daylight Time (US) on Monday. Now, I'm not going to try to compute the equivalent local time for everyone around the world. In my experience, you don't try to submit something like this at the very last minute...
In the past I've always publicized the start and end of the JavaOne Call for Papers (CfP) period. But, this year, it has special significance for me -- I'm planning to submit a proposal for a JavaOne session this year! So, with the deadline just two weeks away...
This blogs lists the tips, tricks and solutions to most commonly faced issues while using Embedded GlassFish.
This blog describes how to configure maven-embedded-glasssfish-plugin to be able to deploy more than one application.