I just feel that I (at least) could use JSP as the presentation layer. a
JSP file will be compiled to a servlet which I think the object of that
page. For the Object-Oriented case, I use Javabeans. You needn't to
compare Java to Perl, but maybe you can choose one equivalent Java
package to compare with Perl.
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]] On Behalf Of Brad Cox
Sent: Sunday, May 27, 2001 5:05 AM
To: [EMAIL PROTECTED]
Subject: Just say no to JSP
I've just completed a major revision of the WAP software and
articles that were published in the last two month's Dr. Dobb's
Journal.
The software and articles are available at
http://virtualschool.edu/wap. The demonstration application isn't
working there yet (tomcat configuration still underway).
Please check it out. I welcome all comments, particularly suggestions
as to how to get this approach broadly adopted.
Just say no to JSP
Perl and JSP encourage the view that web pages are files, links are
file names, and request and database fields are strings. But although
html does represent everything as data, html is a restriction on
browsers, not web applications.
Java should be used as a fully object-oriented language, not as a
deficient Perl. Pages should be page objects, links between pages
should be messages between objects, and fields should be instances of
application-specific fields that encapsulate the ability to validate
user input.
WAP was developed and tested with the Apache/Tomcat/JServ servlet
engine but should work with others such as Resin. If the engine
supports JSP it is not used. The software replaces the sole useful
feature JSP provides with the MLS preprocessor described below.
--
---
For industrial age goods there were checks and credit cards.
For everything else there is mybank.dom at
http://virtualschool.edu/mybank
Brad Cox, PhD; [EMAIL PROTECTED] 703 361 4751
========================================================================
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets