Java API for WebSocket is a new JSR to Java EE 7. It provides a stardard Java API for creating WebSocket applications. This gives web applications the ability to push data.
In Java EE 6 samples, we added a chat room sample to illustrate how to use of Servlet 3.0 asynchronous operation. In that sample, the servlet code did the following:
keep track of AsyncContext in a Queue
create a thread to...
on Aug 13, 2013
JSR 356: Java API for WebSocket provides a standard Java API for creating WebSocket Applications. The specification provides an API for...
on Aug 7, 2013
Larry Fernandez is a Principle Software Developer at Amway Corp in Ada, Michigan. He has been in IT software development since 1981, and was named an IBM Champion in 2012 and 2013. Larry's team is currently working on its second major Java/J2EE application using WebSphere Application Server technology.
In this fifth Java.net "Lightning Interview" we ask Larry to share some of the...
on Aug 4, 2013
This brief blog entry explains the Mojarra bug triage process, and shares some tips for maximizing the chances your bug will be quickly fixed and find its way into a release. Mojarra is the JSF implementation in several app servers and is the source code from which the reference implementation of the JSF specification is derived.
Mojarra has had a publically accessable issue tracker since 2004,...
on Jul 15, 2013
Expression Language (EL) was first introduced as part of JSTL 1.0, was then moved JSP 2.0 and was unified with JSF 1.2 in JSP 2.1. In Java EE 7, EL is a new separate JSR, JSR 341. Many new features are introduced in EL 3.0.
This blog shows how to use new following new features of EL 3.0:
Lambda expression (section 1.20 of EL 3.0 spec)
The new operator ; to separate...
on Jul 1, 2013
Most voters in the just-completed Java.net poll on Java EE 7 believe that Java EE 7 will be the most widely used version of Java EE within the next few years. A total of 354 votes were cast in the poll, which ran for three weeks.
The exact question and results were:
How long will it be before Java EE 7 is the most widely used Java EE version?
14% (51 votes) - Less than 6 months
on Jun 30, 2013
In the recently completed Java.net poll on Continuous Integration (CI), a majority of voters declared that they don't know what Continuous Integration is. A total of 280 votes were cast in the poll, which ran for two weeks.
The exact question and results were:
Does your company utilize Continuous Integration (CI) in its software development projects?
30% (85 votes) - Yes
9% (25 votes) - CI...
on Aug 12, 2013
Over the next few months, I will be running a new advanced TDD/BDD workshop in cities around Australia, including Sydney, Melbourne, Perth, Canberra and Brisbane (I also travel internationally a lot, so if you are interested but not in Australia, get in touch!). Here is the outline of the new course:
Learn TDD/BDD from the author of BDD in Action
Test Driven Development (TDD) is an...
on Aug 7, 2013
In report development, we may need to present the data from multiple databases in one report, such as data from MSSQL database for CRM and Oracle database for ERP. If the reporting tool like iReport only supports single data source, then we need to consolidate the multiple data sources into a single data source.
The Crystal, BIRT, and other so-called reporting tools for multiple data source can...
on Aug 6, 2013
The data computation layer in between the data persistent layer and the application layer is responsible for computing the data from data persistence layer, and returning the result to the application layer. The data computation layer of Java aims to reduce the coupling between these two layers and shift the computational workload from them. The typical computation layer is characterized with...
on Jul 31, 2013
Recently, I read Why Big Data Projects Fail by Stephen Brobst. I can’t agree more with his opinions which exposed the problem I’ve been worried about. In this article, I am going to further discuss this topic to remind the enterprises to beware of falling into such pitfall of failure.
Let’s have a look on a positive example. As a successful enterprise in leveraging big data, how does Google make...
on Jul 24, 2013
In Java development, we may encounter the complex set operations. Java alone is not powerful enough to save programmers’ efforts in implementing the computation details, which is time-consuming and poor in code reuse. In view of this, programmers usually resort to dynamic calculation script for set operation.
SQL is surely the first kind of script that comes into most programmers’ mind. However,...
on Jul 16, 2013
Java User Groups
Apache Thrift’s Role in Distributed Applications
By Randy Abernethy, authors of The Programmer's Guide to Apache Thrift
Apache Thrift helps programmers build high performance cross-language services to address the growing need for multilanguage integration. In this article, based on chapter 1 of The Programmer’s Guide to Apache Thrift, author Randy...
on Aug 1, 2013
The Cassandra's data base is a NOSQL column family's oriented, is a data base made to work of high performance, scalability and fault tolerant. In your new version, it gets some improvements like Cassandra Query Language third version, CQL 3.0 with storage with collections and key complex.
With improvements in Cassandra, there is a one problem: How do I use all potential of the Cassandra...
on Jul 23, 2013
The Browser Binding with a CMIS Repository
By Florian Müller, Jay Brown, and Jeff Potts, authors of
CMIS and Apache Chemistry in Action
A big part of the CMIS specification describes how the CMIS domain model is mapped to the bytes that are transferred. These mappings are called bindings. CMIS 1.0 defines two bindings, the Web Services...
on Jul 2, 2013
How did you first get into developing / coding?
My first encounter with a computer was in 1987 during a physics class. This particular one (a Commodore C64) went immediately to my Xmas wish list. When I teared away the gift wrapping, I found the datasette broken. A datasette was a tape drive using audio cassettes for storage – without it, there were no chance to play any of the bundled games;...
on Jun 24, 2013
As a developer, when you are building and/or designing a Java application;
the first (or one of the first) question you might ask is...
"What are the objects?"
This seems to be a very simple question. But it is not.
There probably is no single "right" answer to this question.
Nevertheless, careful consideration given to this question will contribute to
a good start to one's Java development...
on Jun 23, 2013
Global Education and Learning
The 15th anniversary of OSCON showed its interest in diversity, and continuing to broaden the market for open source technology. I saw a lot of discussions on how to get people interested, and keep people involved. It was remarkably open to all sorts of ideas on how to keep open source going into the future.
I started with Tim Berglund’s GitHub Power Tools, which was filled with people who had...
on Jul 30, 2013
Lambda Expressions (JSR 335) are perhaps the most significant innovation in Java 8. Many consider Lambdas (or 'closures') a game-changing technology for the Java language. Our most recently completed Java.net poll asked the community for its take on the significance of Lambda Expressions as they pertain to company decisions on how quickly to migrate to and adopt Java 8.
A total of 490 votes...
on Jul 27, 2013
An interesting article: Social Enterprise Architecture that describes the idea of using the Social Technologies to improve the engagement and interactions of the business and IT, and the Enterprise Architecture organization to provide more structure and semantics to the interactions and collaboration tools in the enterprise.
There is a tool called Semantic Center that was written in Java and ADF...
on Jul 22, 2013