|
I dont have the email that originally started this thread, so
please disregard if my response is way off topic. We faced the issued last
year of how to present reports to our web users. We wanted the end user to
be able to use just a browser with no applets and also to keep the downloads
very small. The solution we found was generate a pdf file on the as/400
(done with some free java classes) and have the jsp execute a very small
javascript function to do a window.open on the url pointing to the pdf
file. If the user has adobe acrobat reader installed, this works very
nicely and is slick. The pdf java classes can generate a 50 page pdf file
in about1-2 seconds on our system given a vector of strings, so the whole
process is real-time for the user. The pdf classes use the standard Flate
compression to reduce the size of the file. Most of our standard reports
end up being about 1K per page. No AWT, no remote AWT.
The pdf classses were used by Joe Pluta as the core of his
copy spool file to pdf utility. I think you can still get the beta version
off his www.zappie.net web site in his
javatorium. If not drop me an email. The source/classes are free
public domain.
On the applet issue, we spent four months totally removing all
applets from our application. We use servlets/jsp's on the as/400
exclusively and the user just needs a browser (and acrobat reader for
reports). There are just too many users out on the public internet that
have old/slow pcs, slow internet connections, weird configurations... I
see more and more developers dropping applets for applications used over the
public internet. Oh yeah, by the way, we get great looking web pages with
just html and limited use of javascript.
Alex Garrison
|
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.