开发者

Need advice for my Server part

开发者 https://www.devze.com 2023-01-12 13:29 出处:网络
I\'m stuck on my server part. I thing it would be fine if I make an REST architecture but I\'m not sure.

I'm stuck on my server part. I thing it would be fine if I make an REST architecture but I'm not sure.

开发者_运维问答

My application is that an identitied user edit his name, age, hobbies...and I want to stock all the informations of all the users on my data server. Then, I could send the information of a user to another in a ListView with an adaptater.

Any idea to help me?

Thanks in advance


I have recently added a series of posts to my blog that may help. It covers creating a RESTful service using Java EE technologies on the GlassFish server. The example produces consumes XML, but could easily be adapted to handle JSON.

  • Part 1 - The Database Model
  • Part 2 - Mapping the Database Model to JPA Entities
  • Part 3 - Mapping JPA Entities to XML using JAXB
  • Part 4 - The RESTful Service
0

精彩评论

暂无评论...
验证码 换一张
取 消