Smith Brown wrote:I'm so sorry... I'm novice in this item. Who can help? Where to dig?
You have to start with yourself. Come up with a detailed specification so you know exactly what you want to do. Try to come up with a specification that explains:
0) what is this application supposed to do
1) related to your product, what is a client
2) related to your product, what is a server
3) what is the relationship of client to server
4) what does the server serve
5) how is the client supposed to talk with the server
6) how is the server supposed to talk to the client
7) where is the server going to run, relative to the client
8) how many clients will there be
9) can clients interact with each other
10) what happens when a client disconnects
11) what happens when a client reconnects
12) is the client persistent in sessions
13) is the client persistent between sessions
14) what is a session
15) what are your security needs
These are just some general client/server type questions, but once you know what the application is supposed to do, there is a ton of domain-specific questions you need to answer. A good approach (I find, anyway) to come up with these questions and answer them is to consider how the application is supposed to be used. Consider the application from the user's perspective. Why is the user using the application? How does s/he connect? What does s/he expect when connected? What does s/he expect when coming back? Etc... Create a document which you use to describe the user's workflow from start to finish with every interaction you can think of (use-cases) so that you get an idea of how the application is 'expected to work.'
After that you can start to come up with an idea of structure and design.
Then you can think about implementation and start looking for specific technologies that might make your life easier.
But trying to choose a technology when the only concepts you have are 'async' 'client' and 'server' is an impossible task, and even if you choose one chances are it will either be wrong since there was not enough information put into making the choice.
posted 5 years ago
I would like to see how to make async crud example in java without ajax, jquery, with spring framework may be.