Sitting here at the office, and between the tasks I am set, I'm currently pondering the possibilities. I've done quite a bit of reading here, about what other folks have done as far as defenses goes, but I don't know that well the mechanics of actual mine cart behavior. So let me run through my mental scenario.
A minecart is placed on a very short track. It is loaded down with whatever will be the projectiles. (Considering glass spears at the moment) When full, and Fun is required, the cart is set to be dumped. Urist McCartDumper shows up eventually, grabs cart and cargo both, and drops it down a 5z pit where it freefalls. At the bottom, is a carved ramp up with a track ramp. The cart rockets down this ramp, straightens out, and passes the end of track, going out into open space. The gap is 1 point wide. On the other side, a wall with carved fortifications. The cart slams into the wall and the hamster that is the focus of my ire is now dodging glittery pretty death. The cart, now empty, falls down a couple Z levels where it can be recovered moderately safely. The cart is then taken topside and again loaded.
Would the mechanics permit this? Does a cart hitting a track ramp follow the track at high speed without dumping its cargo? If the cart goes off the end of a track, does it fall too far to spray its cargo out on the same z level as the track it just left?
I have no idea.