java - What exactly application of RESTful web services? -


i developing java application 2 java applications communicate each other share data between them. wrote code restful webservice , shared data. problem while doing data visible publicly means application can put uri , full data. there secure way so? , purpose of restful webservices?

it used sharing data , fastest way send , receive data between 2 application

in order use need have way of encryption , key sharing mechanism implemented

try see 1 http://www.keyczar.org/

@suku in brief used develop crud (collect record update delete) commends store , retrieval of information using http or post commands server side program,

and depending on context decide of crud command executed database.

why restful framework in sharing data between 2 system need expose 4 basic commands sync or share want share

by make use of http commands (get post put , delete) same crud operations.

fyi http commands

i think purpose exchanging data between systems in more light weight way.not web services need processing power parse xml serialize local interface become object in memory before saving.

so restful technique used when

such structural , accurate representation of object not needed in between system, both system exchanging make use of raw data instead of serialized object.

and when 2 system exchanging data need make use of data , when not need have same structural representation of object attributes , relationships used in object oriented programming. ( still can use serialized object transfers between systems ) note : each system must sure exchanging meaningful.

hope answer questions.


Comments

Popular posts from this blog

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

How to use vim as editor in Matlab GUI -