Update: Pete Muir recently posted an alternative to the example described here for the UserProfile object. It avoids potential LazyInitializationException if you access a property which was not initialized inside the loading conversation since the UserProfile is SESSION scoped. I prefer Pete’s approach to the implementation but the concept is the [...]
Entries from December 2007
Contextual injection of core domain concepts with Seam
December 20, 2007
Setting the conversation-timeout in Seam, why it really does work
December 13, 2007
Conversation timeout seems to be a commonly misunderstood Seam concept. I often see postings on the Seam forums claiming that the conversation-timeout doesn’t work! Well, actually it does, you simply have to understand the semantics.
Configuring the conversation-timeout period can be accomplished through the following in your components.xml:
<core:manager conversation-timeout=”900000″ />
At first glance most developers relate [...]
Extending query by example through annotation
December 4, 2007
Query by example (QBE) is a great feature for easily executing Criteria using Hibernate. By simply filling in an object and submitting it, Hibernate automatically generates the query based on the values set in the object. While this is an attractive option, in my experience it usefulness quickly becomes limited. In many cases, specifying Restrictions [...]
Posted in



content rss
Comments
April 26, 2010
@Tim: I will definitely be posting more on the topic of mashups in the next few...
April 26, 2010
You should give jQuery-JSONP a try, it handles timeouts transparently :)...
April 26, 2010
Very help and concise examples! Thank you for sharing. I was wondering if we’d see...
April 6, 2010
Jacob, I fully agree with you about the 7 good reasons you mentioned above for adopting...
April 6, 2010
Good article. Open source is way to go.