aspose file tools*
The moose likes Other Application Frameworks and the fly likes Seam and Web Services Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Seam and Web Services" Watch "Seam and Web Services" New topic
Author

Seam and Web Services

Paras Jain
Ranch Hand

Joined: Feb 26, 2005
Posts: 137
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


Paras Jain
SCJP 5.0
Jason Porter
Ranch Hand

Joined: Apr 26, 2007
Posts: 120
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

Joined: Mar 05, 2003
Posts: 164
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.


Dan Allen | http://mojavelinux.com | Author of Seam in Action - http://mojavelinux.com/seaminaction
Jignesh Patel
Ranch Hand

Joined: Nov 03, 2001
Posts: 626

What is RESTeasy integration?
Dan Allen
Author
Ranch Hand

Joined: Mar 05, 2003
Posts: 164
Start here: Seam's RESTeasy integration
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Seam and Web Services