Win a copy of Emmy in the Key of Code this week in the General Computing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

Trade-offs when evaluating Seam

Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Dan. Could you please explain the main concerns and trade-offs one should indentify and assess when deciding whether or not to adopt Seam?

Thank you.
Posts: 164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Before I get to tradeoffs, I want to talk about the decision. If you are using JSF alone or JSF with EJB 3, you would be crazy not to use Seam. Chapter 3 and 4 describe that just a couple of small additions to your project make your application Seam-enabled. I'm really serious that if you are using JSF and not Seam, you haven't done your homework.

Okay, so what are the tradeoffs.

#1 If you aren't using JSF, Seam sort of pushes you there. This will change in Seam 2.1 with the Wicket integration and better GWT integration, but if you want Seam in all of its glory, you really need to use JSF. The book assumes you are using JSF (except for the section on GWT).

#2 ORM isn't always the right solution and that is a lot of what Seam provides. I love ORM and I find anyway possible to use it in a project. But sometimes my aspirations are misguided. You can certainly use Seam without ORM, but you are cutting out many of the features. On the other hand, when it comes down to it, Seam is really just about that @Name annotation and it really doesn't care what that component is doing inside its methods.

#3 You really need to buy into annotations. It's possible to create and configure components in XML (chapter 5), but beyond that, you can't use some features of Seam without annotations.

#4 Bijection is a beautiful thing. I love it. You might not like it. At first, it appears a bit abstract. I remove these barriers in chapter 6 by getting you to understand every last detail of bijection. Still, you might not like what you see. You have to decide on that.

That's all I have for now. Feel free to follow up if you need more.
All of the following truths are shameless lies. But what about this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!