S
Sboffo
It is a good practise to build servlet for business (DB access)
and servlet for presentation (HTML).
Logically it is light, but the problem is to send data from
the first to the second, in particular way when data is big.
If I get a lot of data from DB, how can I send them to the
presentation servlet?
My solutions are:
-using session (quick to build, but slow to execute)
-using XML (slow to build, and maybe slow to execute)
-using array of object (slow to execute: the add method
is slow).
How do you thing to be the best?
Why?
Thank you very much.
Ferro.
and servlet for presentation (HTML).
Logically it is light, but the problem is to send data from
the first to the second, in particular way when data is big.
If I get a lot of data from DB, how can I send them to the
presentation servlet?
My solutions are:
-using session (quick to build, but slow to execute)
-using XML (slow to build, and maybe slow to execute)
-using array of object (slow to execute: the add method
is slow).
How do you thing to be the best?
Why?
Thank you very much.
Ferro.