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
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
This is my first blog on java.net! Happy new year!
At 2014/01/11, A big Java EE 7 event has been held on China Nanjing Software Valley jointly organized by China (Nanjing) Software Valley Joint Management Committee and China Nanjing Java User Group.
ChinaNanjingJUG(http://q.weibo.com/1696581) is founded at 2013, and focus on the promotion of Java EE and Java related technology into China....
on Jan 13, 2014
Very soon, it will be time for the annual Java One conference in San Francisco, California.
Thousands of Java-fanatics will make the journey to my favorite city "by the bay" (and my home town).
Thousands more Java-fanatics will not attend (including me) and wish they could.
I hope all attendees will have a great and productive time at Java One 2013.
My general advice to attendees is, "Make the...
on Aug 25, 2013
Lets start with a small quiz: Can you find 3 differences in the pictures below?
Yeah, you got it. That was an easy one. :)
Surprisingly, implementing preview for extra asset types has been relatively simple as well. When coming up with the architecture of DAM, the Magnolia team chose to not generate previews and thumbnails of assets directly in the module, but rather delegate this functionality...
on Dec 31, 2013
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
Say you have a problem with how a particular component renders and you want to do it a bit different. Well in JSF that is not a problem there is a hook-in that you can use to override how a renderer does it rendering. The sample below shows you how to do it.
You will have to do 2 things.
1. Register your own renderer for a given renderer type
2. Implement your own renderer.
First lets make sure...
on Nov 5, 2013
JavaEE 7 and Glassfish 4.0 were released a little while ago.
What is in the future? Well, see the Aquarium blog for the latest Glassfish Roadmap.
And that is it.
on Nov 4, 2013
If you started reading because of the title I got you! Anyway all jokes aside the JCP process is quite unique. It has been serving the purpose of the Java community for quite a while.
In the past people have complained that you could only file or influence JSRs if you were part of a big company. Well that has been a thing from the past. For a while now it is possible to join the JCP in different...
on Nov 3, 2013
Tyrus 1.3 has been released, get more information here. Or download it from here.
Glassfish users should take all the Tyrus JAR files and replace them in the modules directory with the downloaded ones to get Tyrus 1.3 working in Glassfish.
And that is it.
on Nov 2, 2013
See the release notes for what was fixed. If you want to download it, see this page for more information.
on Oct 31, 2013
I will be presenting the following sessions at Silicon Valley Code Camp 2013. For those in the Bay Area, Silicon Valley Code Camp is on Oct 5,6 2013 in Foothill College, Los Altos. It is a very well organized conference by the developers for the developers. This year has 232 sessions and 4500 registrations and am always amazed at the way Peter Kellner and his team pull this off!
These are my...
on Oct 2, 2013
According to research, most complex report development work can be simplified by performing the data source computation in advance. For example, find out the clients who bought all products in the given list, and then present the details of these clients.
In developing such reports, it is the “computation” part and not the “presentation” part that brings about major difficulties. In which stage...
on Sep 11, 2013
I've been blessed with the opportunity to speak about JSF 2.2 at JavaZone and JavaOne. Just before both events I'm doing a full day JSF 2.2 class. This blog entry advertises both classes.
JSF 2.2 Class in Mannheim, Germany Monday 2013-09-09
Thanks to Papick Taboada, I partnered with OIO to present a full day JSF 2.2 class at their facility in Mannheim, Germany on Monday 2013-09-09. Here is the...
on Aug 28, 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
If you are having a problem with your JPA queries and you are trying to understand what SQL queries it actually sends below the covers you can configure the JPA runtime to show the actual SQL statements it sends over. How? Well for EclipseLink you would add the following to your persistence.xml file.
<property name="eclipselink.logging.level" value="FINEST"/>...
on Oct 27, 2013
Web Services and XML
Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface. JAX-RS provides a standardized API for building RESTful web services in Java. This example will show how to...
on Sep 16, 2013
I'm expanding on an earlier post where I explained how to deploy JAX-RS Web Services to the Oracle Cloud. In that entry the web service simply returned a hard-coded "Hello World". In reality, you most likely want your web service to expose something more meaningful. In this post I'm going to expand the HelloJerseyApp to display the results from a table, which I'll expose using a JPA...
on Aug 30, 2013
javax.servlet.http.HttpSession provides a way to identify an user across multiple HTTP requests and to store user specified information. In other words, it provides a support of stateful communications with the stateless HTTP protocol.
For security and memory management, sessions need to be invalidated at a certain time. There are two related methods in HttpSession.
on Aug 29, 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