File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Readonly Web services Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Readonly Web services" Watch "Readonly Web services" New topic
Author

Readonly Web services

Ezio A. Ehlke Carrion
Greenhorn

Joined: Jul 05, 2007
Posts: 4

Hello Guys,

What is the technology which I can accomplish such feature, have a readonly webservice? JAXWS or JAXRS(RESTfull)?

I'm working on TeamDoctor assignment and I have a requirement to to just read from web services and I don't know how to design such solution, any idea?

Thank you!


SCJP, SCJD, SCWCD, SCBCD 5, SCEA 5, CSM & PMP
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41186
    
  45
A WS is an API that works over HTTP - if you don't want the API to be able to change anything, then don't provide methods that do that.


Ping & DNS - my free Android networking tools app
ntumba lobo
Ranch Hand

Joined: Oct 21, 2008
Posts: 180
The choice between SOAP WS and RESTful WS depends on how strongly you want the contract between the consumer and producer to defined.

If your WS is intented for B2B exchanges and can be used potentially by other external companies I would go for SOAP which strongly
defined the contract via WSDL.
If your WS is intented for internal use only in your company and the interface is simple enough like in your case, there is no
need for the SOAP overhead and I would go for RESTful WS.

I discarded here the social type of B2B integration where for example the MSN website calls the Facebook RESTful API to display
you facebook status in MSN. That's a particular case.


SCJP 5 , SCWCD 5, SCEA 5
ntumba lobo
Ranch Hand

Joined: Oct 21, 2008
Posts: 180
I have just downloaded 10 min ago my assignment and it is teamdoctor as well !
I guess I'll be facing the same design issue as you
Devashish Bansal
Greenhorn

Joined: May 12, 2011
Posts: 29
This might help:

http://www.ajaxonomy.com/2008/xml/web-services-part-1-soap-vs-rest

esp. see pros/cons part.


SCJP, SCWCD, SCEA Part1
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Readonly Web services
 
Similar Threads
Servlets vs Web Services
What is EAI Web Services?
how to get the value from the readonly field?????
XSLT problem with javaScript removeAttribute()
non-editable in textarea