> It is extremely short-sighted to make an architecture decision based
> on the putative skill of a current team member.
Web designers with JavaScript experience seem to be easier to find
than Java engineers. The user interface of the applet is really a
web design issue rather than an engineering issue, so it make sense
to do it using tools with which web designers are skilled.
> Architecture decisions should be based on engineering principles.
I don't think I've violated any engineering principles.
> Javascript has issues as the primary front-end tool - it is harder to
> lock down exceptions and types, it bloats the client
The UI is very simple, so none of this seems to be an issue in this
case.
> and browsers can have JS disabled for a variety of reasons,
And browsers can have Java disabled for a variety of reasons.
If the end user wants to run our applet, he or she will enable both
Java and JavaScript.
A Java developer criticizing JavaScript for issues of deployability
seems ridiculous to me; it is much easier and faster for an end user to
enable JavaScript than to install the JRE and enable Java.
> As you discovered, it is also tricky to manage the sandbox interactions.
True.
> When one doesn't use an applet for the GUI, why is it necessary to use
> an applet? Why not set up a Web app with server-side logic?
Because the purpose of the applet is to measure aspects of network
performance. That can't be done on the server side without client
side code.
> Has anyone considered the long-term effects on maintainability of your
> architecture?
Yes.
It replaces an older configuration in which the client side was
an ActiveX control written in Delphi (as was the server end). That
meant that it was only available to end users running Internet Explorer.
It was also much harder to find developers skilled in Delphi.
Eric
Lew - 25 Mar 2007 01:47 GMT
> -- cogent answers --
That is very enlightening, thank you.
It is educational to see the legitimate uses for Javascript and the JS/Java
interactions as you describe them.
It is perhaps more so to see the considerations of talent costs and
availability that you described. My lesson is that there is no single "best"
solution for all situations, but that the human and unique technical needs of
each situation demand wholistic attention.
I appreciate your considered response; because of it doors have opened in my mind.
-- Lew
Eric Smith - 26 Mar 2007 20:15 GMT
> > -- cogent answers --
> That is very enlightening, thank you.
My pleasure. Thank you for raising the issues, as it made me think about
the system architecture in more depth than I had done previously.
Eric