Ashish,
Now in multi-user environment, i am using lot of system resources/time in parsing at server-side. Isn't that the reason why server-side processing is better? Server is traditionally defined as a machine that has more memory, computing power and other resources using which it can efficiently handle multiple client requests.
If client's browser is able to parse xml, then i just need to pump xml to client-side. Ofcourse i get other advantages in sending xml to client-side, like performance, less server round trip, more dynamic options on client-side etc etc. How do you ensure a common degree of compliancy between different parsers on the clients? If the client parser is not compatible with some XML feature that is used in the XML cooked by the
EJB, that particular client will not be able to make sense out of data. If you let the client do parsing/processing, aren't you making some assumptions such as all the clients understand the XML that you produce?
Can you explain more about "less server round trip?" In a typical server-side processing scenario the server generates the renderable format and gives it to the client. Where are additional round-trips coming from?
Now my client is not expected to do any technical work in manual installing ms parser 3.0 kinda stuff!!. So i want to automate this, like when he hits login screen, then jscripts detect that whether he got parser ver 3.0 or not. If he hasn't got parser installed, i want to install parser in his browser auotmatically like we do in plug-ins Have you decided at this point of time that your clients will only be using MS parser? ( if the answer is yes, then ignore my second question ). What if you want to extend your user base and some people want to use Netscape? What if you stump on a shortcoming of MS parser seven months down the line? How do you make sure clients don't upgrade their parsers without telling you? What happens if they do, and the new version of the MS parser( say, 4.0 ) has some features that may change the processing/redering?
As you can see, I am raising some valid concerns about client-side processing. I am not a great advocate of client side logic simply because there are too many variables in the equation. Things can go terribly wrong and it can result in a maintenance nightmare.
Think about it.
Cheers!
------------------
Ajith Kallambella M. Sun Certified Programmer for the Java�2 Platform.
IBM Certified Developer - XML and Related Technologies, V1.
Co-author of
Java 2 Certification Passport