Skip to main content
View by: Most Recent | Topic | Community | Webloggers   
Monthly Archives:    

Blogs by topic: Programming

• 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...
on May 26, 2012 | Permalink | Discuss
  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...
on Mar 17, 2012 | Permalink | Discuss

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.
on May 10, 2012 | Permalink | Discuss
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.
on May 3, 2012 | Permalink | Discuss
Brian Goetz recently provided new details on the status of JSR 335 in his OpenJDK document "State of the Lambda: Libraries Edition." Project Lambda is a fundamentally important enhancement to Java 8. And, based on the response of developers in our recent poll...
on May 2, 2012 | Permalink | Discuss
Fast Messenger Lite is available in JavaScript. This post lists links to three demos. The first demonstrates how to use active object in a regular html page. The second shows how active objects in UI and Web worker thread communicate. The third demo has two web workers, and again active objects in three threads can send messages to each other including web worker to web worker.
on May 1, 2012 | Permalink | Discuss
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...
on Apr 25, 2012 | Permalink | Discuss
FM Lite is a specially tailored subset of FM that aims to complete with threads and multithreading.
on Apr 25, 2012 | Permalink | Discuss
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...
on Apr 22, 2012 | Permalink | Discuss
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...
on Apr 9, 2012 | Permalink | Discuss
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.
on Apr 4, 2012 | Permalink | Discuss
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.)
on Apr 1, 2012 | Permalink | Discuss
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.
on Mar 28, 2012 | Permalink | Discuss
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...
on Mar 18, 2012 | Permalink | Discuss
The post describes three implementations of the Fibonacci function. Each implementation demonstrates a different programming model: sequential, multi-thread and active-object programming.
on Mar 18, 2012 | Permalink | Discuss
I've been neglecting my blog, but just a quick note to mention that my latest talk at JavaOne, DSLs with Groovy, is posted up on Slideshare. The talk's designed for someone with no significant Groovy experience (unlike most Groovy DSL talks), so if it's interesting to you, check it out. I'm hoping (but not promising) to turn the talk into a series of Blog entries in the coming weeks.  So if you...
on Mar 10, 2012 | Permalink | Discuss
In my previous blog post, I did some experimentation with simultaneous execution of multiple threads. Since the threads were all doing relatively large chunks of work, the overhead from thread creation and management was almost irrelevant. In this post, I take a look at the overhead that launching a series of threads...
on Feb 29, 2012 | Permalink | Discuss

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...
on Apr 21, 2012 | Permalink | Discuss
I'm at Strata Santa Clara again this year. I'll post my raw notes. Hope you find them helpful.
on Feb 28, 2012 | Permalink | Discuss

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, ...)
on Mar 3, 2012 | Permalink | Discuss