开发者

what communication technology should i use to create my app?

开发者 https://www.devze.com 2023-03-05 11:10 出处:网络
hello As a project I\'ve been asked to write using java my own dropbox. My program will have, like the original dropbox a listener (using nio2-already wrote) to a specific folder and will need to uplo

hello As a project I've been asked to write using java my own dropbox. My program will have, like the original dropbox a listener (using nio2-already wrote) to a specific folder and will need to upload the files to a remote server. The server will also have a simple interface that I'm leaving to the end. I can every开发者_开发技巧 technology i want. we learned hibernate (because i need to save the data in mySQL DB). We also learned sockets, servlets, rest, and comet.

i'm a little confused of how to do the communication part of my program. i can use socket but it's very low level and i was searching for a more faster high level and easier technology. I read so much and saw so many terms such as Apache Mina, Netty,RMI...

i need something simple with allot of FAQ and examples online that will support:

  1. a multi thread server application.
  2. i don't care if it's on HTTP...
  3. easy to implement and transfer data between several clients and a server.
  4. a simple way that if a file changes the server will notify the client.

tnx allot


Enter Apache Tomcat with servlets. As for the notification goes. You may embed the container in the client and have the server push the update notification.

0

精彩评论

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