|
Charles, Go through stuff on the moreservlets.com site that will take you through the basics of web servers, servlets and JSPs. Then once you got the basic understanding, use the wizards in WDSC to generate you a basic java web application. Run websphere in debug on your local PC, then single step through the code. I found I learned more through doing this and tweaking the generated code than anything else. Ive been through this process and now want to go on and learn some of the more advanced java concepts Cheers Colin.W -----Original Message----- From: CWilt@xxxxxxxxxxxx [mailto:CWilt@xxxxxxxxxxxx] Sent: 19 March 2004 14:30 To: midrange-l@xxxxxxxxxxxx Subject: RE: ** POLL - How many of you are playing with Java/Websphere/JSP ** Joe, Are there any books you recommend for learning how to use this on the iSeries (and other platforms)? Thanks, Charles > -----Original Message----- > From: Joe Pluta [mailto:joepluta@xxxxxxxxxxxxxxxxx] > Sent: Thursday, March 18, 2004 7:32 PM > To: 'Midrange Systems Technical Discussion' > Subject: RE: ** POLL - How many of you are playing with > Java/Websphere/JSP ** > > > > From: Pete Helgren > > > > Maybe I have Java dyslexia or something but when I see HTML, Java > code, > > and JavaScript all mixed together with Javabeans > > I think perhaps you haven't gotten a chance to work with a proper JSP > interface. It sounds like you're working with CS-101 geek-level JSPs, > which don't use servlets. Back in the olden days, ex-Perl programmers > wrote JSPs as self-contained units which contained both business logic > and UI. Those days are long gone, and those programmers are now busy > doing .NET stuff <grin>. Instead, we now have JSP Model II which > bears a striking resemblance to the old green screen interface > we're used to. > > With JSP Model II, the idea is simple: > > 1. A servlet is invoked (from an HTML menu, usually) > 2. The servlet executes business logic to generate data > 3. The servlet populates a bean with that data > 4. The servlet invokes the JSP > 5. The JSP gets data from the bean and renders it with the rest of the > HTML 6. The user enters data and hits a button > 7. The user data is posted back to the servlet > > Think of it this way: A display file is basically a bunch of constants > with fields that allow you to display variable data from a buffer > (some of which may be input-capable). A Model II JSP is an HTML page > with places where you display variable data from a bean (some of > which may be > input-capable). > > A Model II JSP is very like a traditional display file. The > servlet can > execute business logic in its native Java, or, like I prefer to do, it > can call an RPG program to do the heavy lifting. > > Anyway, it's a great architecture. > > Joe > > _______________________________________________ > This is the Midrange Systems Technical Discussion > (MIDRANGE-L) mailing list > To post a message email: MIDRANGE-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/midrange-l > or email: MIDRANGE-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/midrange-l. > _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l. This e-mail has been sent by a company of Bertram Group Ltd, whose registered office is The Nest, Rosary Road Norwich NR1 1TF. This message, and any attachments, are intended solely for the addressee and may contain privileged or confidential information. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you believe that you have received this email in error, please contact the sender immediately. Opinions, conclusions and statements of intent in this e-mail are those of the sender and will not bind a Bertram Group Ltd company unless confirmed in writing by a director independently of this message. Although we have taken steps to ensure that this email and any attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.