File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes Seam or Spring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Seam or Spring" Watch "Seam or Spring" New topic

Seam or Spring

Vyas Sanzgiri
Ranch Hand

Joined: Jun 16, 2007
Posts: 686

There are so many frameworks!! What is the benefit of Seam over Spring. Or is it just JBoss/JSF specific?

===Vyas Sanzgiri===
My Blog
Rakesh Enoch

Joined: Jun 27, 2008
Posts: 23
I haven't used Spring till now. But SEAM makes your task very simpler. Saves time, as it does integration by itself. You just need to focus on your Business logic and UI

Rakesh Enoch SCJP 1.5 86%
Vyas Sanzgiri
Ranch Hand

Joined: Jun 16, 2007
Posts: 686

Hi Rakesh,

Spring is also geared to the same direction: to concentrate more over the Business logic and UI and worry less about the configuration (convention over configuration is what they call)

I want to understand what is the use of so many frameworks around. Or are we all beating around the same bush?
Padmarag Lokhande
Ranch Hand

Joined: May 29, 2008
Posts: 93
Hi Vyas,

I'm sure you must have gone through the net for both the technologies.
Both technologies provide integration, AOP and ease.

The major difference is Seam is more geared towards Stateful architecture while Spring is more suitable for Stateless.
Also the EJB3 support in Seam is a major reason to consider the framework.
Seam is based on EJB3 and JSF - the two technologies from Sun. And seam is also being promoted as Web-beans.

Each framework has its pro's and con's. You need to evaluate the framework based on your needs.

- Padmarag Lokhande
Vyas Sanzgiri
Ranch Hand

Joined: Jun 16, 2007
Posts: 686

Thanks Padmarag
karthikeyan Chockalingam
Ranch Hand

Joined: Sep 06, 2003
Posts: 259
Comparing similar features offered (like remoting, persistence etc), my vote is for Seam. But if you want a wider integration with other frameworks and a better documentation it should be Spring (may be till Seam gets more documentation and how tos). But if you are not under pressure to meet a strict deadline Seam is the way to go.

I agree. Here's the link:
subject: Seam or Spring
It's not a secret anymore!