Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Interpreting the specs several ways can be normal

 
Zafer Abu saeed
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I beleive that even identical assignments (same version) can be implemented
in several ways. All of them can pass.
(For me, most importantly, this applies to the thin vs fat client issue, I beleive both of them are acceptable).

Why I'm saying that?

Yesterday I had a problem with our web application at the company, it was
tested on Tomcat and confirmed to work without problems. When we moved
it to Weblogic, we immediately had a problem with the ServletContext.getRealPath() method, and discovered that different containers are implementing it different ways.

Then I found a nice opinion about this from a person who encountered the same problem:

"After few hours of playing around i've managed to run my application on all 3 containers and in the process i've learned that they all slightly differ. In most cases they are all correct in their specification interpretation but since the specification leaves some freedom here and there, you can encounter different and strange errors if you move your application across containers."
(see the source)

So, if the specification of Servlet Containers can be interpreted several ways, all of them considered correct and certified, then so the specifications of the assignemnt!
 
Paul Bourdeaux
Ranch Hand
Posts: 783
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree with you Zafer, the same assignment can be implemented several different ways while still ahdering to the specs. (FYI, I have also run into the thrill of different J2EE container specs! )

Sockets vs RMI, thin vs thick clients, singleton data object vs one per client... these are all decisions that can be made either way with a passing result. Each has its advantages and its disadvantages. Whatever we choose, we just need to be sure that we document it in our choices.txt.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic