Win a copy of Spring Boot in Practice this week in the Spring 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Using Seam in conjunction with Tomcat en JSF

 
Ranch Hand
Posts: 893
Tomcat Server Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author
Posts: 1436
6
Python TypeScript Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Tomcat Server Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Tomcat Server Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
An another question. I'm currently testing Apache Axis for webservices.

Could Seam support Webservices??
 
Michael Yuan
author
Posts: 1436
6
Python TypeScript Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic