Back to the Web Developer's Journal Main Page
internet.com
side nav bar

Edward Tanguay is a Web developer and language trainer based in Berlin. For more diaries and tips on development visit Edward's Web Developer Site.
HOW DID THEY DO THAT???

Find out in:
Amazing HTML



Site Map

Jobs at webdeveloper.com


Check out our Web-based
Discussion Groups:

Check out and join our email-based Mailing Lists for Web developers.


Developer Channel
FlashKit
Jobs.webdeveloper
JavaScript.com
JavaScriptSource
JustSMIL
ScriptSearch
Streaming Media World
WebDeveloper.com
WebReference
XMLFiles
WDVL
Discussion Groups Book Reviews Software Reviews Download Web Tools

JavaServer Pages.

JSP: The Back Door into Java

Diary of a Web Developer
by Edward Tanguay

Sunday, July 30, 2000

Back in 1995 when Java suddenly became the hottest thing, I jumped into it like everyone else. However, after reading two Java books and taking a weekend Java workshop, I was able to produce nothing but a couple of useless applets too bulky to use in any serious web project. I knew that Java was useful but it seemed that you had to be writing multi-tier ecommerce applications before you could get any use out of it. In the meantime, straight HTML, JavaScript and Microsoft’s wonderfully useful Active Server Pages enabled me to produce the interactive, database driven web sites I was looking for.

Then suddenly last week, I discovered JavaServer Pages.

Much like ASP, JavaServer Pages allows you to intersperse HTML with server script to create dynamically generated HTML code. JDBC allows a database connection and there you have it. JSP also has important advantages over ASP, the largest being that it runs on both Microsoft and non-Microsoft servers. Apparently it is also faster.

But the most exciting thing about JSP for me is that it allows me to finally put my theoretical knowledge of Java to use, and hence, get a foot into the Java programming world. When you get to know JSP a bit, you understand that what it actually does is dynamically create Java Servlets, which have been around for years and are basically improved cgi scripts written in Java. The Wrox book Professional JSP shows side-by-side examples of how JSP is converted into Servlets and how they interact with both client-side and server-side JavaBeans . This allows me to see the inner workings of Java in a way that shows important Java concepts based on useful examples which I can immediately employ. In other words, the road to becoming a Java programmer is now open and it looks something like this: JavaScript knowledge > JSP > Java Servlets > JavaBeans > Java application programming. Finding out about JSP was like seeing a crack of light in a dark tunnel.

JSP’s development environment was surprisingly easy to get up and running on my Windows 98 machine. A helpful message in a newsgroup tipped me off to Allaire’s development tool called JRun 3.0, which I downloaded along with Sun’s JDK. Ten minutes of installing and clicking yes yes yes and voila, JSP scripts are now running in my browser.

As JSP becomes more popular and supported by ISPs, I think it will serve more and more as a useful bridge for web developers who have always wanted to get into Java programming but never knew where to start.

7/17 The script/component model
7/23 Web development with a video camera
More of Edward's diaries



Edward Tanguay is a Web developer and language trainer based in Berlin. For more diaries and tips on development visit Edward's Web Developer Site.

Web Developer's Journal pages on JSP

Back to the Web Developer's Journal
Contact WDJ   •    Suits!   •    Propheads!   •    Ponytails!
Discuss   •    Subscribe   •    Search


internet.com

IT | Developer | Internet News | Small Business | Personal Technology | International | Search internet.com | Advertise | Corporate Info
Newsletters | Tech Jobs | E-mail Offers

internet.commerce
Be a Commerce Partner                                
  

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers