|
Using JSPs, Tag Libraries, Java Beans, Tomcat in one short example
I've just completed a Java Bootcamp Course. On Tuesday morning, I had newcomers to Java (but with prior programming experience) and by the end of Friday afternoon, they had written some good exercises, using the fundamentals of Java, including Utility classes, and they had also worked with and understood basic Servets, JSPs and standard tag library applications.
 Here's the last exercise from one delegates (shared, with permission) in which I asked the course to write a form to read in a temperature in one unit, convert to another unit via JSP (but keeping the model - i.e. business logic in a separate Java Bean class) and output the result. That's three files even for a simple application but it is easily extensible!
 First file - the HTML form - [see here]
Second file - the JSP / tag library page that gives the view - [see here]
Third and final file - the class that contains the business logic (i.e. the model) - [see here]
That was the last Java course this year - but the Java Bootcamp is already scheduled for five dates nest year, as is the extended Learning to Program in Java for delegates who have not programmed before. If you're not programming in Java, but you will be deploying Java applications on an Apache Tomcat server, have a look at our Deploying Apache and Tomcat course ... six dates already set for 2010, starting on 7th January. (written 2009-12-04, updated 2009-12-09)
Associated topics are indexed under J909 - Java - Putting it all together [2653] Java Server Pages - putting it all together - (2010-02-26) J907 - JSP - JavaServer Pages [3046] Java Beans, tag libraries and JSPs - what and why. - (2010-11-13) [2183] Servlet life cycle, and Java Servlet variable scope - (2009-05-16) [2151] What is a JSP tag library? - (2009-05-01) [2147] A very easy JSP (Java Server Page) - (2009-05-01) [1550] Java (JSP and Servlet examples) live on our server - (2008-02-23) [1050] The HTML++ Metalanguage - (2007-01-22) [79] Last day of Java - (2004-10-08) A507 - Web Application Deployment - Java - Servlets and JSPs [3044] Changing a Servlet - more that just editing and compiling - (2010-11-12) [479] New servlet from old - (2005-10-28)
Some other Articles
Santa Special, 2009Melksham Christmas LightsFlying tonightA reluctance to move from old shoes to newUsing JSPs, Tag Libraries, Java Beans, Tomcat in one short exampleAn update on legal changes from the FSB?Plan your application before you startIntegrated public Transport - what could be done for MelkshamMelksham Market - Tuesdays, 09:00 to 14:00Global and Enable - two misused words!
|
3595 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72 at 50 posts per page
This is a page archived from The Horse's Mouth at
http://www.wellho.net/horse/ -
the diary and writings of Graham Ellis.
Every attempt was made to provide current information at the time the
page was written, but things do move forward in our business - new software
releases, price changes, new techniques. Please check back via
our main site for current courses,
prices, versions, etc - any mention of a price in "The Horse's Mouth"
cannot be taken as an offer to supply at that price.
Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).
|
|