|
Hello Lee, We use record level access and servlets extensively in our organization and here is what we do. 1. Load all of your files in the init method of the servlet (This will conceal the overhead from your users) 2. Use the create java program command to create an as/400 java program for your servlets Call Syntax CRTJVAPGM CLSF('classfilelocation') OPTIMIZE(optimizationlevel) We usually use optimization level 40 but you can use whatever you like. I would suggest the you use the sbmjob command in conjunction with the crtjvapgm command as usually your batch process runs much fast then interactive and this may take some time. It is our understanding that what takes so long that first time around is that websphere basically runs the crtjvapgm command on that class itself, with an optimization level of 10. By doing this in advance you can avoid that first time overhead. Valid Optimization Levels 10 20 30 40 Optimization level ten is the lowest optimization possible and your servlet will run slower then if optmized with a higher level. Optimization level 40 is just the opposite and you will get good performance from the servlet. Hope this helps. __________________________________________________ Do You Yahoo!? Kick off your party with Yahoo! Invites. http://invites.yahoo.com/ +--- | This is the JAVA/400 Mailing List! | To submit a new message, send your mail to JAVA400-L@midrange.com. | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. | Questions should be directed to the list owner: joe@zappie.net +---
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.