Jump to content


***********java Learning Center **************


  • You cannot reply to this topic
78 replies to this topic

#1 BENDU_APPARAO

BENDU_APPARAO

    Hero

  • Members
  • 1,252 posts
  • LocationLos Angeles

Posted 09 February 2012 - 02:55 PM

Web Services (Restful) Tutorial

IS JAVA PLATFORM INDEPENDENT LANGUAGE ???? --- http://www.andhrafri...rm-independent/

ABSTRACT CLASS VS INTERFACE DIFFERENCES (MOST IMP)  ---- http://www.andhrafri...s-vs-interface/

what is an API:

http://www.andhrafri...-api-ante-enti/



Happyness Question:::http://www.andhrafri...ication-server/


BendApparao Question:::http://www.andhrafri...n-mostly-asked/


Mama lu ....mana Bujjulu mama ki help gaaa neenu RestFul web services tutorial ni kodigaaa rasaa ( inka example rayaledhu just intraduction ......)

you can access the tutorial here -- http://www.iforerunn.../3064.page#3252


What is REST?

REST is a term introduced by Roy Fielding in his Ph.D. dissertation to describe an architecture style of networked systems. REST is an acronym standing for REpresentational State Transfer.


It relies on a stateless, client-server, cacheable communications protocol -- which is the HTTP protocol so REST basically rely on HTTP for communication.

Why is it called Representational State Transfer?

The Web is comprised of resources. A resource is any item of interest. For example,
we are accessing a profile in our forum by clicking http://www.andhrafri...-bendu-apparao/ ....here the base URL is http://www.andhrafriends.com/user and /23132-bendu-apparao is the resource avilable on the server.

Here when we are accessing the resource on the server ,  that means the State of the resource is transfer over the network ....

REST - An Architectural Style, Not a Standard

REST is not a standard (Http protocol is stranded which is used by REST) ....it is an STYLE of accessing resources using existing technologies (like AJAX) .

So REST contains below technologies / Standers
  • HTTP -- (Protocol)
  • URL - - (Resources)
  • XML/HTML/GIF/JPEG/etc (Resource Representations)
  • text/xml, text/html, image/gif, image/jpeg, etc (MIME Types)
    SO what are the advantages .......
  • REST is a lightweight alternative to SOAP Web Services and RPC
  • Platform-independent (you don't care if the server is Unix, the client is a Mac, or anything else)
  • Language-independent (C# can talk to Java, etc.)
  • Standards-based (runs on top of HTTP)
  • Can easily be used in the presence of firewalls
    So What about REST vs SOAP comparison (first interview question on REST web services)


    REST Advantages
  • Lightweight – not a lot of extra xml markup
  • Human Readable Results
  • Easy to build – no toolkits required
    SOAP Advantages
  • Rigid – type checking, adheres to a contract (Using WSDL)
  • Development tools (as it is existing from long back )
  • Standards available for Security (JAX-WS security) and attachments (SAAJ)






#2 BENDU_APPARAO

BENDU_APPARAO

    Hero

  • Members
  • 1,252 posts
  • LocationLos Angeles

Posted 09 February 2012 - 03:03 PM

calling bujjulu ......

#3 madathakaaja

madathakaaja

    Sr. Hero

  • Members
  • 4,039 posts
  • LocationOn 9th cloud :)

Posted 09 February 2012 - 03:04 PM

sHa_clap4 sHa_clap4 sHa_clap4

#4 nagchiru

nagchiru

    Jr Artist

  • Members
  • 203 posts

Posted 09 February 2012 - 04:04 PM

baga rasavu koddiga REST teesko

#5 CaliStar

CaliStar

    Hero

  • Members
  • 1,615 posts
  • LocationMongolia

Posted 09 February 2012 - 04:05 PM

GP

#6 dennis

dennis

    Celebrity

  • Members
  • 9,743 posts

Posted 09 February 2012 - 04:12 PM

nice 1

#7 HAPPYNESS

HAPPYNESS

    LEGEND

  • Members
  • 18,791 posts

Posted 09 February 2012 - 04:28 PM

Steps to develop a REST web service kuda raayi baa just like in SOAP

we need a WSDL, Service Package,  Request, Response pages

#8 Maximus

Maximus

    LEGEND

  • Members
  • 19,851 posts

Posted 09 February 2012 - 04:31 PM

View PostHAPPYNESS, on 09 February 2012 - 04:28 PM, said:

Steps to develop a REST web service kuda raayi baa just like in SOAP

we need a WSDL, Service Package,  Request, Response pages
Posted Imageshame o shame radaamanukunnaa.. plz do the needful..

#9 HAPPYNESS

HAPPYNESS

    LEGEND

  • Members
  • 18,791 posts

Posted 09 February 2012 - 04:33 PM

JDBC connection...Connection Pooling...konni frameworks (Hibernate, Struts) gurinchi kuda raayi baa..maa lantii....Java agnanulaki upayoga padutundi repu real time ki Java meda poyinappudu Posted Image

#10 BENDU_APPARAO

BENDU_APPARAO

    Hero

  • Members
  • 1,252 posts
  • LocationLos Angeles

Posted 09 February 2012 - 04:58 PM

View PostHAPPYNESS, on 09 February 2012 - 04:28 PM, said:

Steps to develop a REST web service kuda raayi baa just like in SOAP

we need a WSDL, Service Package,  Request, Response pages

REST lo WSDL undadhu baa WADL untundi but that is not contract (not mandatory) .... meegatha vati gurunchi .. steps to develope (using Jersy and Resteasy) kuda rasthaa

#11 BENDU_APPARAO

BENDU_APPARAO

    Hero

  • Members
  • 1,252 posts
  • LocationLos Angeles

Posted 09 February 2012 - 04:58 PM

View Postnagchiru, on 09 February 2012 - 04:04 PM, said:

baga rasavu koddiga REST teesko

emi mama nacha ledhaaa :(

#12 HAPPYNESS

HAPPYNESS

    LEGEND

  • Members
  • 18,791 posts

Posted 09 February 2012 - 05:06 PM

View PostBENDU_APPARAO, on 09 February 2012 - 04:58 PM, said:


REST lo WSDL undadhu baa WADL untundi but that is not contract (not mandatory) .... meegatha vati gurunchi .. steps to develope (using Jersy and Resteasy) kuda rasthaa
()>> ()>>

#13 dennis

dennis

    Celebrity

  • Members
  • 9,743 posts

Posted 09 February 2012 - 05:08 PM

View PostBENDU_APPARAO, on 09 February 2012 - 04:58 PM, said:


emi mama nacha ledhaaa :(
its nice baa..satire veyyali ani try chesadu le...lite lelo :)

#14 southyx

southyx

    Jr Artist

  • Members
  • 57 posts

Posted 09 February 2012 - 06:06 PM

gp

#15 CITI

CITI

    LEGEND

  • Members
  • 35,435 posts

Posted 09 February 2012 - 06:07 PM

bookmarked bendaapparao u awesome bhayya




0 user(s) are reading this topic

members, guests, anonymous users