Win a copy of Rust Web Development this week in the Other Languages 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

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.
 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic