on Jul 29, 2015
JDK 8 introduced a lot of new features and improvements in the platform from Lamda expressions, Stream collection types,
Functional interfaces, Type annotations, Nashorn etc.
Guava library from Google provided some support for functional programming idioms prior to JDK 8.
I have been using Guava for some of my projects. So here is a small write up on
how new functionality added in JDK 8 makes it...
on Jul 14, 2014
The Java is a platform which grown up quickly, for many rations such it can write once time and run anywhere, it runs languages on JVM. There is a myth that Java cannot compile its sources on run time, but it's truth?
Have a dynamic language is important to make some projects, for example, calculate taxes to different cities, so the source should be on the database and each city it puts the...
on Jan 19, 2014
Just recently I was engaged to assist with an application that wasn
on Dec 11, 2013
JavaLand 2015 Wrap Up
After months of preparation, it all came down to three days of intense execution, and I was just one speaker. I can only marvel at the logistical acumen that was on display from the JavaLand and DOAG team. I had an action packed agenda: two conference sessions, two Early Adopter's Area (EAA) session, and one training day session. Thrown into the mix were a couple 1:1...
on Mar 30, 2015
I've just finished tuning a client's application where one of the items on the table was to find the source of calls to System.gc(). Using Censum made easy work of understanding the source of the calls. The team I was working with not only missed that these calls to System.gc() where creating havoc with their end users experience, they didn't even realize that something, some where was messing...
on Jan 27, 2015
Since begin of the time, the man need to do exchanges of goods materials or services, began with simples goods exchanges. In this time, already has necessity to start the standardization process, the first step was using metals as gold, silver and bronze becoming to representative money today. Nowadays with large number of e-commerce and automation of finance market and another systems that take...
on Aug 25, 2014
I meant to mark this anniversary when it came up, but missed doing so. It's been ten years, so what's an additional five weeks going to mean. On 28 June 2004 I announced, with my first entry on this blog, the first part of Java to be released into open-source. That initial release of the JavaServer Faces reference implementation was the first step in the journey towards opening Java that...
on Aug 1, 2014
As my colleague and co-spec lead Shing-Wai Chan announced last week, Oracle is getting ready to start JCP work on Servlet 4.0, including support for HTTP/2. While this JSR hasn't officially started, there are two undergoing efforts for HTTP/2 in Java that I'd like to bring to your attention.
The first is from long-time Servlet EG member Greg Wilkins, who we all know as the man behind Jetty....
on Jul 29, 2014
While looking at the bar graph from most recently completed Java.net poll about Java 8 implies a fairly strong consensus, in actuality I think this poll implies that there's quite a lot of disagreement on which aspect(s) of Java 8 are most important for Java/JVM developers going forward. A total of 245 votes were cast in the poll, and two well thought out comments were posted. The exact question...
on May 6, 2014
The official launch of Java 8 is now less than a week away. The Java 8 Launch Webcast will take place at 10:00 AM Pacific Standard Time (PST) on Tuesday, March 25. The launch event will include a welcome and overview by Mark Reinhold, a panel discussion on Java SE 8 new features and enhancements, a chat with Twitter CIO Adam Messinger, discussion by Java community leaders, a Java ME 8 overview,...
on Mar 18, 2014
In this post, I try to give a reasonable account of Java's error handling system being as it is that the handling of errors is a concern that any reasonable programming language must find some way to contend with. Java's error handling methodology is based on an idea of exceptions.
An exception is a condition that prevents your program from further executing along the current path. It signifies...
on Mar 5, 2014
If you have followed previous posts, you might begin to perceive a pattern in the semantics of the Java programming language. If not, it might help to go over previous posts as I tend to return to expand on previous topics or add clearer examples as time permits. Inner classes might at first seem like a whole new language to the uninitiated but they are a nice feature in Java that allow you to...
on Feb 20, 2014
In the normal course of solving a general programming problem, it is almost certain that you will become compelled to create, and identify useful ways by which to hold any number of objects within your program. In Java, you are normally inclined toward the array as the natural choice for holding a group of primitives, but this has the obvious limitation of being of a fixed size, whereas, under...
on Feb 12, 2014
Interfaces are completely abstract classes in Java that provide you with a uniform way to properly delineate the structure or inner workings of your program from its publicly available interface, with the consequence being a greater amount of flexibility and reusable code as well as more control over how you create and interact with other classes. More precisely, they are a special construct in...
on Jan 18, 2014
There are mainly two ways by which one may reuse classes in Java. The first is by way of composition. Composition provides a way to compose your classes from objects of existing classes, essentially making use of the objects' functionality as opposed to its form.
The second method is by what we call inheritance, which describes how one may derive a new class as a type of an existing class. With...
on Dec 18, 2013
A key consideration for the library designer in the normal conduct of operations is maintaining the ability to make changes or improvements to the library at any time without requiring the consumers (client programmers) of that library to do the same. In Java, a library consists of a logical grouping of .class files packaged together to make a working program.
An apt analogy to this point may be...
on Dec 8, 2013
Operators in Java work much like they do in mathematics, producing a value from one or more operands. An operand is any quantity on which an operation can be performed and in Java these include primitives and objects.
Basic arithmetic operators in Java include addition (+), subtraction (-), multiplication (*), division (/) and the assignment operator (=), all of which constitute the binary...
on Nov 11, 2013
Runtime type information (RTTI) refers to the correct identification of the type of your objects at run time. When you write code, it is generally desirable to do so in a way that takes advantage of OOP features like encapsulation and inheritance to make your program easily extensible, by for instance, as much as possible manipulating references to base classes and letting polymorphism work for...
on Apr 21, 2014
The new version of Easy-Cassandra, the version 2.0.1, have launched, some news are:
Refactoring constructor on Session Factory
QueryBuilder (InsertBuilder, UpdateBuilder, DeleteBuilder, SelectBuilder and BatchBuilder)
Go faster both write and read
More supports to Spring-Data
As have an easier the configuration a Session Factory, it was made the ClustInformation, this...
on Feb 13, 2014