Know about the news version of Easy-Cassandra, the 2.0.1 version. With news improvements such more supports with Spring-data, querybuilder a simple way to do more query (insert, update, remove, select) with less code beside run query as atomically way with BatchBuilder, also run commands on asynchronous way.
In this article you will learn how compile Java sources on runtime using the JSR 199 API.
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.
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...
PDF and Video preview for Magnolia 5 Digital asset management
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...
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...
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.
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...
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.
See the release notes for what was fixed. If you want to download it, see this page for more information.
Here are the details of my sessions at Silicon Valley Code Camp
esProc is the good assistant to reporting tools and the expert in report data source computation.
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.
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.
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"/>...
Web Services and XML
This example will show how to build a simple pet catalog application using backbone.js and JAX-RS.
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 entity.
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.
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...