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.
This article is about three methods of data processing.
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...
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.
JSR 356: Java API for WebSocket provides a standard Java API for creating WebSocket Applications. The specification provides an API for...
“Indexing, updating and deleting data” is new to Elasticsearch in Action + 45% off
"Serializing Data with Protocols" & "Apache Thrift IDL" are new to The Programmer's Guide to Apache Thrift + 45% off
“Artifact assembly & publishing” is new to Gradle in Action + 45% off
"Using State in Actors" is new to Akka in Action + 45% off
The Mikado Method MEAP Update + 45% saving!
Save 45% on The Mikado Methodat manning.com. Offer expires Aug 26, 2013.
Kanban in Action MEAP Update + 45% off
Grails in Action, Second Edition MEAP Update + 44% off
CoffeeScript in Action, has been updated with a new Ch 11 and a new TOC + 44%
Java Persistence with Hibernate, Second Edition MEAP Update + 44% savings!
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.
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...
Spring is most popular Java framework and has the Spring Data plug-in, its goal is do a high level layer among Java application and information center such SQL, NOSQL, bigdata, etc. Know more how it works Spring Data on Cassandra.
Cassandra is an open source column oriented nosql database. It was born to solve problems with persistence and high performance. Cassandra has been used by many companies in many industries for a wide variety of use cases. In addition it has a strong and thriving community supporting it.
We will be having a special series of events throughout Brazil in the first week of September. Each day...
In the process of Java development, programmers will come across data computation. But Java alone is not convenient to handle such computation. SQL has limited impact on improving the computational efficiency for Java. In this case, a new way is needed.
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...