• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using Seam in conjunction with Tomcat en JSF

 
Remko Strating
Ranch Hand
Posts: 893
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've read and heard that Seam solves problems concerning JSF, but can this framework be used with Tomcat and web services.

What are in short the differences between Seam and the Spring-framework. I'm currently investigating the use of the Spring-framework for my applications. Why should I use Seam instead of Spring.
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, Seam works in plain Tomcat.

Seam versus Spring:

* Seam can use Spring beans but Spring cannot use Seam beans

* Seam is annotation driven while Spring gives you XML hell ...

* Seam deeply integrate more than a dozen leading open source frameworks in a consistent annotation-driven programming model. Spring "integrates" stuff by providing simple factory methods and templates via dependency injection.

* The hallmark of Spring is dependency injection while Seam has dependency bi-jection (outjection and injection)

* Seam has Ajax built-in

* Seam has great tools from commandline ANT to Eclipse / NetBeans. Drag and drop development

* According to Hibernate inventor Gavin King, Seam is the correct way to use Hibernate since it has a stateful context as opposed to Spring's stateless design

* and much more ...
 
Remko Strating
Ranch Hand
Posts: 893
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Michael Yuan,

Thanks for your answer. I'll try some sample applications with Seam and Tomcat.
 
Remko Strating
Ranch Hand
Posts: 893
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An another question. I'm currently testing Apache Axis for webservices.

Could Seam support Webservices??
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Seam allows you to use EJB3 web services. So, the web services piece would not work in plain Tomcat ... Maybe in the future we will integration the apache WS stack. But for now, this is Java EE 5 only.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic