JSP Replacer  JSP Replacer

go to home page Student Projects full screen, hide local find menu Google search web for more information on this topic jump to foot of page translate this page with Babelfish by Roedy Green ©1996-2008 Canadian Mind Products
This essay is about a suggested student project in Java programming. This essay gives a rough overview of how it might work. It does not describe an actual complete program. I have no source, object, specifications, file layouts or anything else useful to implementing this project. Everything I have to say to help you with this project is written below. I am not prepared to help you implement it; I have too many other projects of my own.

I do contract work for a living, which could include writing a program such as this. However, I don’t do people’s homework for them. That just robs them of an education.

You have my full permission to implement this project any way you please.

JSP (Java Server Pages) has caught on surprisingly quickly. However, I think it (and its server-only-solution relatives like Tea, ColdFusion, FreeMarker, Velocity…) are only a stop gap solution. why?

JSP and Brethren Make Inefficient Use of Communication Lines

JSP And Brethren Make Inefficient Use of the Servers

Human Considerations

What should replace JSP?

Applets + Servlets. The client Applet is 100% responsible for presentation and data validation and the server servlet is 100% responsible for fetching and storing the raw data. They should communicate using RMI or another simpler serialised protocol.

Wait a minute! That has been tried and it fell on its nose. What went wrong?

The Grand Plan

We are cutting down some of the power and flexibility of the Applet in return for: You could think of it that we are using Applets to create a sort of intelligent data entry terminal that lets the programmers focus on processing data rather than presentation and editing.

This is not quite such as pipe dream as you might think. I devised a Forth-based computer language that called Abundance back in 1979 that does much of this, and much more, though just for DOS without the GUI complications.

Advantages Of Servlets + Wizard Applets over JSP

Even without the wizard, the toolbox would make it much faster to compose data entry Applets. Even without the widgets, classes for validating at a field/keystroke level might be very useful to the community.

If you are not interested is such a drastic replacement for JSP, but just want something a little simpler, than works essentially the same way see servlet womb for your alternatives.

My Implementation

I have implemented a scheme something like the one described here. If you examine the source code of my website you will see it peppered with macro comments that expand into html code. I have written about 75 macros. You can read more about how it works under the HTML entry. I have not yet released the source code. It not quite ready for general distribution, but if you are curious, I could let you have a look on an as-is basis.
Applet
framework: list of possible frameworks
JSP

CMP homejump to top
CMP logo
feedback Please email your feedback for publication, errors, omissions, broken/redirected link reports
and suggestions to improve this page to Roedy Green : feedback email
made with CSS
HTML Checked!
ICRA ratings logo
mindprod.com IP:[65.110.21.43]
Your face IP:[38.103.63.61] Join the Western Canada Wilderness Committee.
You are visitor number 5,324.
You can get a fresh copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/project/jspreplacer.html J:\mindprod\project\jspreplacer.html