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
a little discussion in a television series here that i am the speaker. the topic is Java. The host, TV Excelence, said any update for Java and why Java is silence now.
I said there are Java worlds which use Java but we cannot said it is Java, but use Java.
1. BigData with Hadoop under Apache , is a new ecosystem that based on Java.
2. Smartphone/Gadget with Android under Google with Apache...
on Oct 19, 2013
I’ve been talking about JSF 2.2 new features out on the conference trail for quite a while now. I usually talk about the big three: Flows, Resource Library Contracts, and HTML5 Friendly Markup. This blog entry talks about another, mostly behind-the-scenes, feature: ClientWindow. I introduce the concept of ClientWindow and give a simple example illustrating one solution to a common web...
on Oct 7, 2013
Silicon Valley Code Camp is one of the best known secrets and one of the best organized conferences in the Bay Area.
I have the pleasure to speak at this conference for the past two years and am amazed at its growing popularity.
Here are some statistics for this year
4500 registrations and registration was closed
The Code Camp consists of these points:
By and for the developer...
on Oct 6, 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
My JavaOne 2013: Wrapup
This blog entry summarizes my session participation at JavaOne 2013. I plan to update this entry with links to the content on Parleys.com as it becomes available.
Sessions I Attended
In general, speaking more than listening is a very bad way to live. I find this holds true at conferences as well. Here are the sessions I attended. I attended eight and presented six, so I...
on Oct 1, 2013
Recently, I was asked to participate in creating another Java application at my company.
It was to be our team's third major Java application since 2002.
We felt we had plenty of wisdom from our previous two Java applications to apply to our third one.
One of our first steps was to form an application architecture sub-team.
This sub-team's purpose was to provide the development team with a solid...
on Sep 22, 2013
My company uses a large number of software applications to support all aspects of its business.
These software applications are either "bought" or "built".
The portions of the company that cannot be supported by purchased software are
supported by custom developed, in-house, applications.
A variety of technologies are used to create and build these custom applications.
The Java framework has been...
on Sep 15, 2013
A while ago, I was asked to evaluate another Java application that was being used at my company.
It was a point-of-sale app, developed entirely "in-house" by one of our overseas affiliates.
I wondered what their MVC model would look like.
How different would their Java app be from the ones I have worked on?
I started my evaluation by learning all I could about the architecture and design of this...
on Sep 8, 2013
What happens if you configure a Hadoop-centric scalable big data infrastructure running on the Amazon EC2 cloud, that's programmed to perform some very basic processing on delimited ASCII data records (about 30 characters in each record), and you feed it a single data record? How quickly do you think that massively powerful system would process that teensy, trivial input data set? Milliseconds?...
on Sep 26, 2013
Government... Isn't interacting with it your favorite social pastime? What? It's not? OK, so what don't you like about it? What? You're saying that, in your country, you can't just log into your favorite government sites and experience speedy, reliable, secure services?
I'll guess, then, that you must not live in Ecuador... Poor you!
But, don't feel too bad. From what Java Champion Jeff...
on Sep 24, 2013
At the JavaOne 2013 Java Technical Keynote, there was a series of demos of software that enables two people to play chess, using some of Java's latest features, including Java EE 7 Websockets, many variations of Java 8 (recent weekly builds), Lambda Expressions, Java ME, Embedded Java, ... It was an impressive demo of many of Java's recently-released and not-yet-finally-released capabilities,...
on Sep 23, 2013
This blog entry summarizes my session participation at JavaOne 2013. The more serious business of parties is an entirely different matter not fit for blogging.
Sessions I am presenting
JavaServer Faces from a New Perspective: JSF 2.2, HTML5, Bean Validation 1.1, EL 3.0, JPA 2.1 - JUN10155
9/22/13 (Sunday) 9:00 AM - Golden Gate University, 536 Mission Street - Room 5215...
on Sep 19, 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
The Joy of Clojure, Second Edition by Michael Fogus and Chris Houser has 4 new chapters!
Save 45% with Promo code mlfogus2jn at manning.com.
The authors have released the following chapters:
•Chapter 14, "Data-oriented programming"
•Chapter 15, "Performance"
•Chapter 16, "Thinking programs"
•Chapter 17, "Clojure changes the way you think"
We have four new chapters for you. Chapter...
on Sep 3, 2013
Save 45% on The Programmer's Guide to Apache Thrift with Promo code mlthriftjn2 at manning.com.
The Programmer's Guide to Apache Thrift by Randy Abernethy has been updated!
•Chapter 1-3 have been updated and the following chapters have been added:
•Chapter 4, "Handling Exceptions"
•Chapter 5, "Serializing Data with Protocols"
•Chapter 6, "Apache Thrift IDL"
We have three new chapters...
on Aug 28, 2013
“Artifact assembly & publishing” is new to Gradle in Action + 45% off
Gradle in Action by Benjamin Muschko is 45% off with Promo code mlmuschkojn at manning.com.
In the context of continuous delivery, publishing your artifact plays a crucial role. Once you've packaged the delivery with a specific version, it’s ready to be deployed to various target environments for acceptance...
on Aug 27, 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