UPDATE: This approach will be supported in Seam 2.1 as a feature of seam-gen’d projects as part the profiling functionality. See JBSEAM-3157 to patch your existing seam-gen’d project.
_______________________________________________________________
Swapping configuration between development and production (and often other environments) is usually a custom solution but often follows a general pattern. Personally, I usually leave this up to […]
Entries Categorized as 'JBoss Seam'
Managing Environment Specific Configuration with Seam
June 17, 2008
Seam Framework: Experience the Evolution of Java EE
June 6, 2008
After a highly anticipated wait, Michael and I are pleased to announce that the Rough Cut of JBoss Seam 2E is available with a new title: Seam Framework: Experience the Evolution of Java EE. The new edition is a major update to the original including:
New chapters on Groovy, JBoss Rules (Drools), Quartz, […]
Getting Groovy with Seam after TSSJS
April 1, 2008
TSSJS was a great conference this year. Neal Ford, well-known author and ThoughtWorker, initiated the conference by delivering an inspiring keynote address discussing dynamic languages, DSLs (Domain-specific languages), and their role in the evolution of software development. Matt Raible blogged about the presentation and you can find a brief summary here. Polyglot […]
JBoss Seam 2E Preview Chapters Released
February 13, 2008
The first cut preview chapters for JBoss Seam, Second Edition, 2/E have been released. You can access the preview chapters here and can retrieve the code examples discussed throughout the chapters from this previous posting. We decided to throw in a bonus preview of the Nested Conversations chapter, so enjoy!
Very soon you should […]
JBoss Seam 2E Examples for Preview Chapters
February 11, 2008
The preview chapters will soon be released but you can get a sneak peak by accessing the code examples here. Feel free to download the examples and try them out! Each example project included in the source bundle is a variant of the Seam Hotel Booking example. The booking project demonstrates the use […]
Announcing JBoss Seam Second Edition
January 31, 2008
The much anticipated Second Edition of JBoss(R) Seam: Simplicity and Power Beyond Java(TM) EE (Prentice Hall JBoss) is coming soon. Michael Yuan and myself have teamed up to develop the content for the upcoming Second Edition which will cover the ins and outs of Seam 2, and I don’t just mean bijection
The […]
Generating Namespaces and schemas for your Seam components
January 8, 2008
With Seam you have options for component configuration. One of those options is configuration through use of components.xml. This is especially valuable when you have components that are reused among application instances as it allows the configuration to be specific based on the needs of the application. Seam provides a very simple […]
Contextual injection of core domain concepts with Seam
December 20, 2007
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 […]
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 […]
Session expired messages using Seam security
November 16, 2007
Differentiating between an initial login, a session expired, and a logout when displaying messages to the user on the login screen seems like a simple task. The implementation is unfortunately not quite as simple as it sounds and requires a little legwork. The following tutorial will guide you through the requirements.
The first component […]
Posted in
content rss
Comments
December 13, 2007
Thanks, I’m glad you enjoyed it! If you want even more, our book goes...
December 13, 2007
This is a fantastic article. It’s a shame that Dan Allen spends 50 pages...
June 17, 2008
I manage it by letting you do it. :)
June 6, 2008
A link to the examples has now been provided in the original posting. Please let us...
June 6, 2008
Thanks for the comment, I hadn’t seen the issue! I will contact the publisher...