Friday March 02, 2007 Terracotta is an open source distributed shared object facility for Java, which allows multithreaded applications to run on clusters with minimal changes. It works with existing application servers and other web platforms, which makes distributing application loads across multiple nodes (JVMs) straightforward. It performs thread synchronization and even thread migration transparently for the user.
In addition to the runtime facilities, Terracotta provides a declarative approach to clustered software. That is, the programmer merely annotates which data members are shared. Likewise, the user may specify which methods contain critical sections, thereby creating a monitor.
The system architecture relies on a central server that stores the state of shared objects. Client nodes (JVMs) receive updates for objects currently in memory; thus, any data transfers occur only at the object level. For fault tolerance, the server itself may be clustered with one live and others in standby.
Best of all, it is open source. While I still don't think that Java is suitable for building HPC applications, the solution may be great for developing Grid and cluster management tools.
Thursday February 22, 2007 There is an article that debunks the rumor that Java is slow. This article suggests that the "myth" of C/C++ applications, as native binary, will always be faster than Java, is not true. To a certain extend I agree with the author - poorly written C/C++ app can perform much worse than a Java app. Now, Java is my favorite programming language, but as someone working in HPC, all I can say is that I'm not at all convinced.
Posted by melvin ( Feb 22 2007, 04:53:26 PM SGT ) Permalink Comments [4]
Wednesday August 02, 2006 
objectListDataProvider.setList(arrayList);
Finally I need to bind this data provider to the JSF table. I switched to the JSP view, locate the table code and change the sourceData="#{....}" to:
<ui:tableRowGroup binding="#{main.tableRowGroup1}"
id="tableRowGroup1" rows="10"
sourceData="#{page1.objectListTableDataProvider}"
sourceVar="currentRow">
For each column, I also have to change the text="#{currentRow.value['xxx']}" by replace xxx with the variable name of the javabean class, then I'm done!
This is a personal weblog, I do not speak for my employer.
| « December 2009 | ||||||
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 | ||
| Today | ||||||
Today's Page Hits: 11