A new method to develop with ajax application
As we knew , if we want to invoke the services or data from remote server, it’s called ajax, the first step to set up an ajax demo is to create a remote page or service in your web server, then by the script located into browser, we could get what we want in our client.
The process is similar with this .
After understanding the basic concept about this process , I conclude another method to develop with ajax application. For that, I call it “configurating ajax development”.
For the first, I create a configuration file on the server, reloading that file every time when web application server starts up, in the configuration file, a kind of XML format, some segments and elements are defined there, then we use a single servlet source , by that, we invoke the javascript functions to get remote data from servlet page, especially, I will make more introduction about the process and how they work.
As follows, a diagram is presented here .
By using the reflecting foundation, we can get instance from loaded file, and get executing result. It seems to be easy.
发表于 @ 2008年08月26日 17:15:00|评论(loading...)|收藏