in reply to Web: interactive, REST: batch?

Sounds like you had a messy design. Further seperate your web service layer and client web page layer should be really helpful (seperate C M V).

With a better design, your web page generator shouldn't care the underlying web service, at least not much.