Blogs by topic: Open JDK
| • 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 |
Community

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
This version has the improvements below:
Supporting...

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...

Eclipse is famous IDE in em Java, follows the open source model. The Eclipse project was stated by IBM that does the first version, then donated like open source for the community. The begin costs was above 40 millions. Nowadays, the Eclipse is one of the most used worldwide. Has important feature how the SWT uses and not the Swing, there are too many plug-ins...

Given some information about Java 7, i will now show the imrovements to the latest version.In this article i use the netbeans version 7.0.1, for this you need to download the JDK 7 (the link is below the article). After downloading and installing Netbeans (but during the installation remember to select the JDK 7 path).
The first example will show switch with String, previously...
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.

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...

Many things changed from java 1 in 1995 at java 7 2012. Learn about this reading this article.
Programming
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 second entry will be about 'Knuth-Morris-Pratt (KMP)' algorithm and how you can apply it on a simple Java code.

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.

This blog describes how to build both, a 64-bit and a 32-bit version of OpenJDK 8 on a plain, vanilla WindowsXP 64-bit operating system using only free (as in free beer) tools.
body {
font-family: arial, helvetica, sans-serif;
font-size: 10pt;
}
caption.my {
font-weight: bold;
margin: 0px 0px 10px 0px;
}
span.update {
font-weight: bold;
color: maroon...
Databases

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
Easy-Cassandra 1.0.8
Easy-Cassandra 1.0...
Performance

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...

invokedynamic is getting faster, a lot of faster.
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...
Open Source

Old friends may want to gather in Brussels the weekend of February 4-5 for FOSDEM.
J2SE

There appears to be over-reacting and fearism concerning a recent decision to cancel the DLJ project, and subsequently Ubuntu's plan to remove DLJ-based Java packages from their repository. I'm totally out of the loop of this except for a couple things. As the former DLJ Project Lead I was still vaguely involved with the management of that project, and recently there was an...

How to create a kind of volatile final field i.e. a static field that will be considered as a constant by the VM but that can be updated as well using JSR 292 API.

Was added to his package to facilitate applications which needs scalable processes.
A feature is atomic variable. Variable atomic means that it cannot be divided - it's like the S.O. with any resource (Driver CD, USB) cannot be divided but needs be used in many processes.
...
GUI

Welcome java 7 part 3 -NIO 2 JSR 203
So like the coin project, in the NIO 2 there aren't unprecedented features in this e -specification, but now it's possible do some easier work I/Os in java. With the class java.io.Files are possible to perform several operations in simple mode. For that it needs and uses the java.io.file.Path, this interface represents files and...
Blogging
The month of July was a global gathering for all Java Communities around the world to say "Hello" to Java 7.
JUG-AFRICA also hosted multiple events to celebrate Java 7 (see the photos below). I have traveled in Africa to give technical Java7 talks and met with hundreds of vibrant Java and Android developers. In Dakar, Senegal (July 7), Brazzaville, Congo (July 9) and Kinshasa, DRC Congo(July 10).






