Problem solve Get help with specific problems with your technologies, process and projects.

Difference between JavaScript and Perl

What is the difference between JavaScript and Perl?

Perl is a scripting language used primarily for CGI Web applications. Common in Unix and sometimes Windows -- rare on iSeries. It can be extended with libraries for the specific platform to allow reading database tables etc.

Javascript is a common scripting language for Web pages to add functionality, control data validations etc. dynamically.

The IBM BSF (Bean Scripting Framework) allows you to write server side Javascript that accesses Java beans.

In general this would be a "cleaner" way to develop server side access using the MVC (Model-View-Controller) concept with Java beans accessing server functions. Also for the iSeries, Java beans from IBM in the Java toolkit and WDSC offer a far richer set of options than Perl for integrating iSeries programs and data on the Web.

If you are using CGI and don't need extensive library support on the iSeries, PERL is an option for server side scripting of Web pages. Most of our customers use Javascript in combination with Java beans via servlets, JSPs.


Ask your Web development questions--or help out your peers by answering them--in our live discussion forums.

The Best Web Links: tips, tutorials and more.

Check out this live Q&A with Dave Slater and Jim Mason, How to best get started with WebSphere Development Tools.

This was last published in October 2002

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.