Implementation Via Internet Access

I want to know that your guys, after finish developing the application with Smartclient and execute it with using internet Access, will you face the problems like slow responds in functions like hiding columns, or late feed back to the data transaction ? Please share the experience with me if you have .. Because i am going to re-engineer an application with it … Thank You …

In general you won’t see any interface slowdown in applications served over the Internet vs., say, a company intranet or your local machine. Remember that the main application code is Javascript and so the speed of the application depends on (1) the complexity of your code and (2) the speed of the client machine. Of course if you have many clients using older machines/browsers you may experience slowdown for that reason – but it won’t be caused by serving the application from the Internet.

On the other hand, communication with the server (such as getting data) will be a little slower over the Internet than it would be locally. Additionally, a slow Internet connection or an overloaded server might cause a long delay between request and response. I would suggest testing your application online to get an idea of how big your requests and responses can be without severely affecting performance.

Remember, though, that a “big” response would be something on the order of megabytes or gigabytes, which you’re very unlikely to need in a SmartClient application unless you’re uploading or downloading large files. Even thousands of data records only require a few kilobytes in JSON or XML, which will take at most a couple of seconds over most modern Internet connections. In my experience it generally isn’t the server communication that slows down RIA applications, it’s the script; and like I pointed out, the script runs on the client machine and doesn’t have anything to do with how you’re communicating with the server (Internet/intranet/local).

Thankx ledifni , but my doubt to the slow respond problem is haven’t settled since I still haven’t tried to execute the deliverable ( still under progressing ). I affraid i will face the same problems due to the my last lesson with using another AJAX framework ( ICEFACES ). And it just a minor problem that i was exprienced. So finally I gave up ICEFACES and change to SmartClient. Furthermore, there is some un-expected problem i will face when using SmartClient, therefore , i really hope that all the developer can share me what the problems will be facing , either minor or major …

Cheers ..

Hi Howey,

ICEFaces is a JSF-based Ajax framework. In the JSF architecture, all user interactions that cause any part of the screen to be updated require contacting the server. What is transmitted between client and server is new HTML.

SmartClient is a completely different architecture, called a client-server or sometimes a “smart client” architecture. The majority of user interactions do not involve the server at all, therefore, they are the same speed regardless of network delays and/or a slow server. When a SmartClient application contacts the server, only data is transmitted, so server contact is much less frequent, requires much less bandwidth, and requires much less work on the part of the server.

Many JSF/Ajax applications have been migrated to SmartClient in order to improve responsiveness and scalability.

Hope this helps.

Thankx Isomorphic , does it mean that all the AJAX will be implemented at client side , whereas only the data transmission will be executed at Server sides. If really like that, then , i do believe that , you have clearly settled my doubt ..
Your contribution is to be appreciated .

Hello Howey,

Yes that’s correct. For example, some SmartClient applications consist of only of static files deployed on a webserver (.js, .gif, etc) and communicate with web services which return data only - the same web services are accessed by other applications which are not web-based, such as installable Java applications.