ActiveResource makes it easy to integrate Rails applications through RESTful services, but what if the resource is being produced by a Java application. JAX-RS is the best bet for writing these resources and with a few tricks we can get a service to conform to the requirements of an ActiveResource service. Read on to see [...]
Entries Categorized as 'Java'
Java and Rails integration with JAX-RS and ActiveResource
September 25, 2011
JBoss Seam: Agile RIA Development Framework
May 11, 2010
JBoss just published a white paper that describes how Seam enables rapid development of RIAs by eliminating technology hurdles and placing developer focus back on solving business problems. Specific enterprise use cases demonstrate how increasingly complex features can rapidly be introduced into a software product with Seam in an iterative fashion. The white paper is [...]
Enterprise Mashups with RESTful Web Services and jQuery (Part 2)
April 26, 2010
RESTful web services and jQuery make it easy to create an enterprise mashup. This 2 part article discusses how to create a simple enterprise mashup using jQuery. Part 1 introduced the basic requirements of your enterprise services, the simplicity of JSON, and how to consume your RESTful web services using jQuery. Part 2 covers consuming [...]
Enterprise Mashups with RESTful Web Services and jQuery (Part 1)
April 21, 2010
RESTful web services and jQuery make it easy to create an enterprise mashup. This 2 part article discusses how to create a simple enterprise mashup using jQuery. Part 1 introduces what is required of your enterprise services, the simplicity of JSON, and how to consume your RESTful web services using jQuery. Part 2 will cover [...]
Serving up JSONP from your JAX-RS Web Services
April 18, 2010
If you are developing RESTful services that will be consumed by AJAX clients on different servers, you will likely need to support JSONP. JSONP allows your RESTful web services to support cross-domain communication by enabling your clients to bypass the same-origin policy browser restriction. While some JAX-RS implementations support JSONP, this article demonstrates how any [...]
Tuning Queries when using Pagination with JPA and Hibernate
March 12, 2010
In recent performance tuning of some EJBQL search queries, I’ve had a lot of discussions with other developers on database pagination. There are some definite nuances that you have to be aware of when using Hibernate’s pagination feature, so I thought I would explain them here. Quick Introduction to Database Pagination with JPA Database pagination [...]
Second-level caching: Still an effective performance tuning technique
April 6, 2009
I keep reading discussions regarding the performance of Seam applications. These discussions are generally centered around the performance overhead of the interception techniques used by Seam. While this is definitely a valid issue in certain scenarios, see this excellent forum discussion started by Tobias Hill, many tend to blame Seam too quickly for their performance [...]
Seam Framework promotion at JavaRanch
March 31, 2009
Michael Yuan and I will be answering questions about the book and Seam in general at JavaRanch this week in the JBoss forum. If you would like to ask us a question feel free to stop by! They will be selecting four random posters in the forum to win a free copy of the book [...]
Seam UI Refcard Released
February 23, 2009
As a follow-up to the Core Seam Refcard, DZone has now released my companion reference for using Seam with JSF. The Seam UI Refcard has now been released through the DZone Refcardz site and includes: Simplifying JSF Page Navigation JSF Component Annotations JSF Component Tags Hot Tips and more… So download the Seam UI Refcard [...]
Seam Framework: Available in Paperback
February 19, 2009
I just got my hands on a hard copy of my book, Seam Framework: Experience the Evolution of Java EE. For those who have been awaiting the paperback release, you can order your copy today from Amazon or Barnes and Noble. The book is the second edition of the best-selling JBoss Seam covering the latest [...]
Posted in



content rss
Comments
October 13, 2011
The most difficult and the most dangerous state is this. Unconcious Incompetence...
September 23, 2011
Yes, exactly. Thanks for the insightful comment.
September 23, 2011
These are great points. I think what you are getting at here is being a social...
September 15, 2011
Thanks for the great tips!!!
September 15, 2011
Definitely a good point on “dress for success.” This is going to...