About InfoWorld : Advertise : Subscribe : Contact Us : Awards : Events : Store
InfoWorld HomeNewsTest CenterOpinionsProduct GuideTechIndex
 COLUMN ARCHIVE  FORUMS
 

COLUMN

 
The Open Source
Nicholas Petreley

JSP in Harms' way

I'VE ALREADY RAVED about the Python language for Web application development, so equal time for Java is in order. As big a fan of Python as I may be, I must admit that for server-side Web applications development Java is by far the most mature and flexible of the options available. Java as a language may be wordy and less appealing than Python, but Java Server Pages (JSP), JavaBeans, and JSP Custom Tag Libraries are much more mature.

   ADVERTISEMENT
  

Free IT resource

Open Source Business Conference (OSBC) May 22-23, 2007

Sponsored by OSBC

Free IT resource

TechNet: More ways to know it, share it, and keep it running.

Sponsored by Microsoft

RELATED LINKS
»  Canonical chases deals to ship Ubuntu Server preinstalled
»  Sun delivers first UltraSparc T2-based servers
»  IT trainer offers master's degree for hackers
»  Platforms RSS feed 

IDG ENTERPRISE NETWORK
More Operating Systems News...  (ComputerWorld)
CrossOver Office aims to ease a switch to Linux  (ComputerWorld)

TOP NEWS 


IT SOLUTION SEARCH
As I've complained loud and often, server-page solutions can encourage bad coding practices because they tempt people to integrate too much HTML with their code. JSP by itself is no exception. But once JSP programmers learn how to use JavaBeans and Custom Tag Libraries, they are likely to employ them in a project to reduce duplication of effort. As a side benefit, the use of JavaBeans and Custom Tag Libraries encourage programmers to design applications that allow HTML designers to create pages without much actual Java code.

Tomcat and Apache are the de facto standards for using Java for Web applications in the open-source world. The first place to look for information is the site jakarta.apache.org, which will take you to the Jakarta Project site. Jakarta is the name for the Apache mother project that encompasses Tomcat. You can use Tomcat with the open-source AOL Web server, too, but most of the work is being done using Apache.

An even better resource is David Harms' book JSP, Servlets, and MySQL, recently published by M&T Books. The title is a bit misleading in that it specifically names MySQL as the database of choice. Although it focuses on MySQL as the basis for its tutorial and examples, the book is great to have regardless of what database you intend to use.

Indeed, this book is an oasis among dunes of useless materials on the topic of JSP and servlets. Harms doesn't fatten his book to appeal to publishers. Every ounce is there for a reason.

Most importantly, Harms nails down his audience perfectly. He doesn't assume too much or too little about the reader, so I wasn't running to the Web to find out more details or skimming pages because I was bored. That's quite a feat considering the chapters cover topics with which I am already quite familiar. I read them not because I needed to but because Harms added some nice tips and other tidbits to my knowledge.

One of the most beneficial things you can glean from this book is the advice and know-how to create a properly partitioned Web application. Harms devotes a section of the book to the Model View Controller approach to development, but this coding practice is kept in mind throughout the whole work. As a result, readers aren't likely to go off half-cocked and integrate too much Java code into their HTML just because they discover early in the book that it is possible to do so.


Nick is the founding editor of VarLinux.org ( www.varlinux.org ). Reach him at nicholas@petreley.com.




RELATED SUBJECTS

Operating Systems

Discuss this article in our online forums

MORE >


SPONSORED WHITE PAPERS
EMC - Lower costs and improve reliability-Get the EMC CLARiiON white paper!
Ciphertrust - Are you ready for Sobig.G? Learn how to protect your email systems.
CDW - Personal attention. CDW. The Right Technology. Right Away.
EMC - Explore key performance features and capabilities of EMC ControlCenter 5.1.1.
Intel - Free Intel white paper shows you how to deploy a secure wireless LAN
Cisco - FREE WHITE PAPER: BLUEPRINT to design and implement secure VPNs
Verity, Inc. - "Mass Consolidation Hits the Web-Search Market"
McDATA - Download a FREE storage consolidation white paper from McDATA(R).
Lucent Technologies - Overcoming Common Firewall Limitations
Lucent Technologies - Leverage Your Mobile High Speed Data Access. Download Free White Paper!
Nokia - Get the scoop! Mobilizing business white papers & case studies.
BMC Software - Maximize the Potential of Enterprise Data: Free white paper!
Network Associates - Free white paper - Strategies for Optimizing Network Costs and Benefits
Entrust - Manage identities across applications. Improve productivity.
Stalker Software - CommuniGate Pro - Transform your Email and Calendaring
Remedy - A NEW Gartner Research Note:Producing Quality IT Services

Search the IDG White Paper Library:


SPONSORED LINKS

INFOWORLD MARKETPLACE


» Apply BPM and ITIL at your IT Help Desk
ServiceWise brings BPM to complete IT service while eliminating integration cost. Learn more here.
» Find Consulting Jobs
Access Pre-Qualified Projects from Top Businesses. Register Now!
» Virtualization Planning & Analysis White paper
How to analyze workload, business and technical constraints & plan for successful deployments
» SOA Whitepaper Series: Automating Process Exceptions
Register here for this valuable Webinar centering on the automation of process exceptions.




 HOME  NEWS  TEST CENTER  OPINIONS  PRODUCT GUIDE  TECHINDEX   About : Advertise : Subscribe : Contact Us : Awards : Events 

Copyright © 2008, Reprints, Permissions, Licensing, IDG Network, Privacy Policy

All Rights reserved. InfoWorld is a leading publisher of technology information and product reviews on topics including viruses, phishing, worms, firewalls, security, servers, storage, networking, wireless, databases, and web services.

Computerworld :: Network World :: CIO :: PC World :: Darwin :: CMO :: CSO
IT Careers :: JavaWorld :: Macworld :: Mac Central :: Playlist :: GamePro :: GameStar :: Gamerhelp
ITWorld Canada :: Computerwoche :: Techworld UK :: tecChannel :: IDG.se :: IDG.no