File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Seam and Web Services

 
Paras Jain
Ranch Hand
Posts: 138
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I was just wondering how and whether does Seam support WebServices.
I know Spring and wanted to learn new technologies like JSF and Webservices. I was planning to start with Spring webservices. But it seems to me that Seam would be best to learn JSF. If it supports web services then probably I will start with Spring to learn both.
Your thoughts?

Regards,
Paras
 
Jason Porter
Author
Ranch Hand
Posts: 126
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What exactly do you mean by "supports"? Because Seam is an EE5 framework you can use JAX-WS and company. Seam adds a few things into the mix by letting you create a stateful webservice (http://docs.jboss.com/seam/2.0.2.SP1/reference/en-US/html/webservices.html), and it also includes support for an implementation of JSR 311 (JAX-RS) -- RESTeasy http://in.relation.to/Bloggers/RESTEasySupportNowAvailableInSeam. I hope that helps answer your question.
 
Dan Allen
Author
Ranch Hand
Posts: 164
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In Seam 2.0, the support for Web Services is primarily just allowing you to use a Seam component as a Web Service endpoint by combining Seam annotations with JAX-WS anotations and, as Jason mentioned, for stateful web services (which is kind of an edge case for most people in the beginning). There is no support for the client of the Web Service in Seam. Effectively, Seam "punts" on that for now. This is one area where I say that you should use the Seam-Spring integration.

The RESTeasy integration is a very exciting part of Seam 2.1 and will eliminate the pain of using all of that XML cruft that comes along with Web Services.
 
Jignesh Patel
Ranch Hand
Posts: 626
Mac
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is RESTeasy integration?
 
Dan Allen
Author
Ranch Hand
Posts: 164
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Start here: Seam's RESTeasy integration
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic