Bluegirl, no doubt Im too late with this, but here goes:
As Radar pointed out, you will be arraigned first, you will plead "not guilty", then the trial will begin. Prosecutor is first up with their witnesses. You could ask for an exclusion order, so that the prosecutions witnesses are kept outside of the courtroom until it is their turn to testify. That way, they cant tailor their testimony to match (even if its unconscious on their part) any previous testimony. If then there are any discrepancies between the witnesses testimony, those are holes that you can exploit in your cross-examinations. After the prosecutor is done their examination-in-chief (i.e. no leading questions allowed, other than fluff stuff that is obvious and not weighty, such as "I understand youre a police officer; is that correct?"), you will get to cross-examine them. You will attempt to create reasonable doubt in their testimony. You are allowed to lead the witnesses in your questions, and you want to make sure you frame your questions in such a way that its a yes/no answer, and preferably you know the answer to your question before you give it. I would ask every witness "did you see my car at any time following yours?" if they say "yes", remind them of their notes wherein they say they did not see your car following, and then ask them to clarify the discrepancy. Obviously the officer cannot have seen your car following, so thats a gimme question to ask the officer.
After your cross-examination, the prosecutor will be able to re-examine their witnesses (with the same proviso of no leading questions allowed), but only to rebut lines of questioning that you led (i.e. they cant bring up entirely new topics, etc.).
If they introduce any evidence that is new to you, such as stop-time charts that havent been previously disclosed to you, I would of course object and let the JP know that this new material was never disclosed and that it has unfairly hurt your ability to make full answer and defence, which is your right under s.7 of the Charter and s.46(2) of the Provincial Offences Act. The JP will likely order an adjournment, which shouldnt be counted against you in terms of s.11(b) waiver – for good measure ask that it be noted on the adjournment order that it was as a result of non-disclosure on the part of the prosecution. The Crown has an ongoing responsibility to provide full and complete disclosure all the way through any proceedings. There should be "no surprises".
After theyre done with their witnesses, they will rest their case. It is then your turn to call witnesses. At this time too, you can make a motion for a non-suit, saying that the prosecution has failed to establish a prima facie case against you for the charge as listed, and point to the various caselaw (R. v. Haddad, and more specifically the R. v. Borg decision that is referenced within). If you call witnesses, then its the reverse from when the prosecution called them. You will have to go first, with an examination-in-chief, the prosecution will then get to cross-examine, and then you will be able to re-examine to rebut or clarify areas where the prosecutor touched on in their cross-examination. After youre done, you will rest your case.
Im not sure if I agree with Radar that we have protection from self-incrimination once you take the witness stand. Anything you say cannot be used to incriminate you in any future separate proceeding, but I believe that once youve elected to take the witness stand, you cannot "take the 5th" as it were ("take the 5th" being an American concept). You cannot be compelled to testify, but that's encapsulated in your right not to take the witness stand.
Afterwards, its closing arguments. You cannot try to introduce any new evidence here, you can only talk about how any evidence already given shows that you are not guilty of the offence. Your defence is reasonable doubt, and also previous caselaw saying that the Crown needs to lead objective, rather than just subjective, evidence showing that you were following too close. As youve said, if the cars ahead were stopped, there can be no following. You could talk about the definition of "follow" or of "headway", as its written in the HTA. Refer to a specific dictionary or bring one with you. Both words connotate the concept of two moving objects, instead of one vehicle coming onto another stopped vehicle (which would be better termed "leaving a proper allowance").
Please let us know how you got on today, and Good Luck!!!