Blogs by Community: Java Enterprise
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...
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...

Prior to last year's JavaOne, I was in contact with Ryan Cuprak, president of the Connecticut Java Users Group (USA). The plan was that we'd get together at some point during JavaOne and chat. As it turned out, once JavaOne started it quickly became a whirlwind...

Aliber is an opensource project for leave, created by Edy Setiawan, which win Inaicta (Indonesia ICT Award), a growing edition of APICTA, win as winner 1st in Indonesia Mobile Competition in Malang/VEDC. but he cannot go to Thailand for APICTA because "juror" said not good product, but MERIT ..strange conspiration :(
Java Patterns
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...
Java Desktop

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

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.

Know how persist document in the Cassandra in a way fairly simple

A couple of weeks ago, I sent out a little quiz to my readers of The Java Specialists' Newsletter. No one managed to figure out what the code does without running it. Some managed to explain the result once they had run it. Perfect quiz for weeding out those job applicants you don't like. Especially if you are working in the banking industry. OK, enough hints, let's look at the quiz :-)
NetBeans

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

In the previous articles we have concentrated on testing using Glassfish. But can you use the same
recipe to do testing on Weblogic. The answer is YES, but ..... Yea you know there is always a caveat.
First make sure you have Weblogic installed properly. Note I did the testing with the latest 12c version,
so your mileage may vary.
Download the attached zip file again and follow along. In...

We added an accordion demo to our JSF demos. See it in action over here. If you have suggestions. Let us know!

In the previous article we described how to do testing with multiple containers. But since joining
the Glassfish team I have wondered how can I test applications against different versions of JSF on Glassfish?
As it turns out it is actually quite straightforward. This blog entry shows you how to do it. It will
allow you to test using a 2.1.2 version and up. All by using properties passed in...
Recently I had the privilege of writing an article for Java Tech Journal about using HTML5 Server Sent Events in a JSF 2 User Interface.

In the previous article we have worked out how to run the integration tests against Glassfish,
but what about other versions of Glassfish or even other servers?
Well, the infrastructure groundwork has been laid for that. Before we are going to reap the fruits
we are going to explain the difference between downloading, installing and configuring your server
within Cargo.
The main reason...

In the previous article we added the Glassfish application server into the mix for testing. This looks all nice,but one might wonder how this would work in a parent project (POM) and child projects setup. Well it is fairly easy to accomplish.
We will move all the bits first over to the new parent POM we are going to use. See below for what theparent POM will look like.
<?xml version=&...

Using HtmlUnit, Glassfish and Maven for integration testing

Use HtmlUnit and Maven for integration testing
Perfection is achieved through times.
Anonymous
Introduction
How someone can improve if he has no clear vision of what he could become? I'm asking this tough question to myself while reading to the definition of JSF. As it is written in its specification, JavaServer Faces is a user interface framework designed to significantly ease the burden of writing and maintaining applications that run on a...
Ladies and Gentlemen, today, while I'm writing this blog post, I'm one-eyed. Last saturday, I woke up earlier in the morning and I noticed that I couldn't see out with my right eye. I went to see an ophtalmologist to find the cause and the solution and now I'm taking drugs. I'm sharing this crazy experience with you only because...




