AussieRon
11-23-2005, 01:00 AM
How can I print a lot of data to a clients local printer.
PLATFORM:
My intranet site is written in J2/J2EE with jsp but no ejb (yet).
Designed to the MVC architecture.
Apache Tomcat is the container. Using MySQL rdbms.
OVERVIEW:
Currently I use a Print Options applet from a jsp. There is
no need for a print preview, and I have the menu bar disabled.
The client just selects the print option from the applet
and the requested form full of data is printed. Some forms print in
duplicate or triplicate and may print other associated forms.
This is ok when there are not too many params for the applet.
My applets are not part of a package and reside under webapps/myapp/Applets
PROBLEM:
Now I want the capability of printing, say 20 invoices each
with multilpe line items. This would be far too many params for
the applet. As I am using MVC, is it possible to access a list
in the model, from an applet?
Should I put the applets in a package like com.myapp.Applets.
Should I be looking at EJB.
Are there better solutions to this problem.
PLATFORM:
My intranet site is written in J2/J2EE with jsp but no ejb (yet).
Designed to the MVC architecture.
Apache Tomcat is the container. Using MySQL rdbms.
OVERVIEW:
Currently I use a Print Options applet from a jsp. There is
no need for a print preview, and I have the menu bar disabled.
The client just selects the print option from the applet
and the requested form full of data is printed. Some forms print in
duplicate or triplicate and may print other associated forms.
This is ok when there are not too many params for the applet.
My applets are not part of a package and reside under webapps/myapp/Applets
PROBLEM:
Now I want the capability of printing, say 20 invoices each
with multilpe line items. This would be far too many params for
the applet. As I am using MVC, is it possible to access a list
in the model, from an applet?
Should I put the applets in a package like com.myapp.Applets.
Should I be looking at EJB.
Are there better solutions to this problem.