For all of you who are trying to figure out how to integrate with Google’s single sign-on functionality, this article might be for you. I’ve taken the liberty of condensing all of the actual logic required to perform OAuth Google login, and provided it as a class and a JSP (seen below). In order to follow along better, I suggest cloning the example GitHub repository, and deploying to the application to your server of choice.
Lincoln Baxter, III
(OCPsoft Founder) shared his insight on the state of technology today and where future innovation is likely to occur. We have seen many advancements in technology over the last several years, but our lives remain complex and we face many of the same problems that have plagued the industry for decades. What are these problems? How will they be addressed? What can we get excited about?
Read the full article on JBoss.org »
(Link through DZone.)
So Java EE 6 is out, and you’ve decided to give it a go. You’re trying to port an existing application over to the new stack (or are trying to create a new one for the first time,) but exceptions are bursting through the seams and you just can’t seem to get things to work. If you’re familiar with Spring and Hibernate (with all the joy that is OpenSessionInView or
OpenSessionInConversation,) more than likely the problems you’re having are related to the Java Persistence API (
JPA), combined with Enterprise Java Beans (
EJB). Contexts and Dependency Injection (
CDI) should be a familiar face if coming from Spring, but things are subtly different in the world of Java EE.
As a vocal blogger, I feel responsible for promoting and sharing the good work of others, whether that be technology, creative work, or in this case: a book. I will take no exception to that philosophy when it comes to the JavaServer Faces
framework. For a quick read, try the summary. If you are intrigued, read on! I hope you find this review valuable.
I don’t know why I waited so long. Maybe I just thought the G1 was ugly, maybe it’s my futile fight against the mob of conformity. I bought the Droid. Now my already over-active sense of entrepreneurship, restless production has new food. Goodbye night-time reading for a little while.
A business partner of mine asked some basic questions about cloud computing. We had a small exchange that I felt worth sharing.
Q. Do you think it’s a good idea?
Absolutely. Press CTRL-ALT-DEL -> T, sometime. Click performance — I guarantee your CPU is running at about 1-5% utilization, somewhere around 97-99% of the time. From another perspective: that’s 95-99% waste of power, 97-99% of the time. And that’s just while you are physically using your computer… then you have to consider all of the wasted disk space. We have huge disk drives in our PCs (Most corporate employers only give us access to a small portion,) but that’s huge waste as well.