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

Blog Posts by Community

• Glassfish  • Global Education and Learning  • Identity Management  
• Java Communications  • Java Desktop  • Java Enterprise  
• Java Patterns  • Java Tools  • Java User Groups  
• Java Web Services and XML  • JCP  • JDDAC  
• Jini  • JXTA  • Mac Java  
• Mobile and Embedded  • NetBeans  • Open JDK  
• Portlet  • Robotics  • Sun Grid  
• Sun RFID and Sensor  


Java Patterns

When we starting planning how we were going to use Java technology at Amway (10 years ago); we realized we had many decisions to make about standards to adopt, practices to learn, architectures to use, patterns to follow, etc. Fortunately for us, there were many sources of information to help us figure all of this out. Unfortunately for us, there were many sources of information to help us figure...
on May 21, 2012 | Permalink | Discuss
Any intelligent fool can make things bigger, more complex, and more violentBut it takes a touch of genius and a lot of courage to move in the opposite direction. Albert Einstein Introduction Ladies and Gentlemen, beyond the fact that I'm going today to share with you, most of the things a developer should know when building a JAX-RS web service with Groovy, this blog post is first and foremost a...
on May 20, 2012 | Permalink | Discuss
We build too many walls and not enough bridges. Isaac Newton Introduction 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...
on Apr 10, 2012 | Permalink | Discuss

Java Desktop

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.
on May 21, 2012 | Permalink | Discuss
A couple weeks ago I figured out (more or less) what's wrong with Java threads. It's not that there's anything so wrong with Java threads per se -- it's just that they were designed to meet a need that is different from what developers face today: a world full of multicore processors...
on May 8, 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
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
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...
on Apr 16, 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

Java Enterprise

Here's how to access the latest JSF 2.2 spec snapshot. 1. go to maven.java.net 2. type in "javax.faces:javax.faces-api:2.2-SNAPSHOT". 3. use the tree browser to open the -javadoc.jar artifact. 4. Use the artifact browser to open the index.html.
on May 17, 2012 | Permalink | Discuss

Java User Groups

10 years ago, when we were decided to use Java technology to create a new application, for use at Amway Corp; we thought it was sufficient to say, "We are using Java!". We were wrong... We quickly realized that there was Java 2 Standard Edition and there was Java 2 Enterprise Edition. Since we were architecting our application to run in an application server-based environment, we concluded that...
on May 14, 2012 | Permalink | Discuss
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
Hello all. My name is Larry Fernandez and I am a Principal Software Developer in IT. I work for Amway Corp in Grand Rapids, Michigan. March 2012 was my company's 10-year anniversary using Java. We have over 1 million lines of J2EE code in production, with more on the way. I have been here since our "Java" beginnings and I have played many roles (developer, architect, project manager, etc.). We...
on May 9, 2012 | Permalink | Discuss
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.
on Apr 19, 2012 | Permalink | Discuss

Java Tools

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
FM Lite is a specially tailored subset of FM that aims to complete with threads and multithreading.
on Apr 25, 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

Glassfish

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
on Apr 21, 2012 | Permalink | Discuss
Server-Sent Events (SSE) support in GlassFish
on Apr 20, 2012 | Permalink | Discuss

Global Education and Learning

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...
on Apr 15, 2012 | Permalink | Discuss