java - Making a web service, which approach? -



java - Making a web service, which approach? -

i have made java ee 6 application user can browse set of questions, add together new questions , on. user can optionally log in he/she gets "credit" adding question or reporting bad.

now want create iphone application user can pretty much same. reply web service assume. have not worked web service before see there @ to the lowest degree alternatives: soap , rest.

which 1 should choose? want user able log in application browse questions in database...pretty much many of actions can on web site.

i don't know much security , overhead introduce.

also want user able retrieve list of questions thorugh web server , have alternative save it, he/she won't need have net unless he/she wants update it. can accomplish both web services?

you can take @ this previous post guidance. recommend using rest, seems less messy soap , java has back upwards available shown here.

through utilize of annotations, can created facade users connect. in turn, facade phone call relevant logic presuming have.

java iphone ios java-ee soap

Comments

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

c++ - compiler errors when initializing EXPECT_CALL with function which has program_options::variables_map as parameter -

How do I check if an insert was successful with MySQLdb in Python? -