Home > SOA Tips > XML Developer > The (eventual) triumph of open source APIs
SOA Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

XML DEVELOPER

The (eventual) triumph of open source APIs


Ed Tittel
03.27.2002
Rating: --- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



XML Developer Tip

The (eventual) triumph of open source APIs
Ed Tittel

Regular readers of my XML tips will recall that one of my company's most interesting and lucrative uses of XML markup has involved construction of a test engine. This engine reads our own custom XML markup to generate banks of questions that can be randomized, turned into adaptive exams, run one at a time for "study mode" use, and so forth. It even works as a survey instrument. In the background, we parse these XML test documents and incorporate them into a Java applet for standalone use, or into a Java servlets to create Java Server Pages (JSP) for server-based use. Most licensees want to control access to practice or real tests and to limit the number of times they may be used, so the servlet based implementation (which supports easy control over such characteristics) is the implementation of greatest interest to others.

When approached recently by a would-be licensor for Citrix certification exams, we got a pleasant surprise based on recent developments and standardization of the Java servlets runtime environment known as Tomcat. In a nutshell, earlier implementations of servlets depended on using a proprietary runtime system to parse JSP descriptions and to handle client-server interactions arising from their invocation and use.

But recently, thanks to Sun's standardization of the Servlets 2.2 Application Programming Interface (API) and the 1.1 JSP specification, it's no longer necessary to use proprietary implementations to handle these servlets on the server side. In fact, the current versions of these specifications -- namely Servlets 2.3 and JSP 1.2 add significant capability to this environment overall. Thanks to proliferation of open source technologies like Tomcat (the Servlet container for the ever-popular Apache Web server environment), it's now possible to run servlets and digest JSP documents in a completely standard, Open Source environment.

But why does this matter? The answer hearkens back a couple of paragraphs in this tip. Until this realization registered on us, we had been requiring companies that licensed our test engine to purchase a license for a particular commercial servlet engine. While it's true that commercial implementations remain faster and more powerful than Tomcat, it's also true that such implementations cost money (Tomcat is essentially free) for initial licensing (our chosen tool costs about $2,000 per CPU, and at least $1,000 a year for maintenance). While these aren't huge numbers, they're enough to give small companies like mine pause, not to mention potential small-company licensors of our test engine.

That explains why we've now scheduled a test port to Tomcat for our servlet environment, and why our list of prospective customers has just jumped dramatically. If your organization still uses some proprietary servlet engine, you might want to consider testing an Open Source alternative like Tomcat. If performance issues don't prevent you from making the switch, you may be able to save money and move to a more standard environment in one go. Fortunately for us, we always design our implementations to stick to standard API calls and avoid proprietary additions and extensions that non-standard engines normally offer. So far, we've been able to switch (while testing) without much effort and no loss of functionality. It's nice to see the touted benefits of standardization actually bear fruit occasionally -- which is of course why I write about it here. Because this helps to make XML technology more widely available at a lower cost, I can't help but see this as a big win-win situation for developers and users alike.

Have questions, comments, or feedback about this or other XML-related topics? Please e-mail me care of tips@searchwebservices.com; I'm always glad to hear from my readers.



About the Author

Ed Tittel is a principal at LANWrights, Inc., a wholly owned subsidiary of LeapIt.com. LANWrights offers training, writing, and consulting services on Internet, networking, and Web topics (including XML and XHTML), plus various IT certifications (Microsoft, Sun/Java, and Prosoft/CIW).

For More Information

  • Need help with the latest industry acronyms and terms? Visit our helpful Glossary.
  • Visit our Best Web Links for the best editor-selected XML resources on the Web.
  • Post your technical questions, or help your peers in our Enterprise Developer Forums.
  • Ask the Experts! Our Web Services, SOAP, WSDL, XML, .NET, Java and EAI gurus answer your toughest questions.


Rate this Tip
To rate tips, you must be a member of SearchSOA.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
XML
National Weather Service policy supports XML
XML and democracy at work: The Election Markup Language (EML)
For interesting interface access, check out Xamlon
Royalty-free, revolutionary UBL
Altova strikes again with MapForce 2005
Beating the RSS crunch with aggregation/bloglines
Voice, speech, SIP, and XML: ECMA-269
Microsoft Baseline Security Analyzer and XML
An open source, native XML database: dbXML 2.0
Second-generation XML security preview: SAML

XML Developer
Use the soapUI software tool to tame WSDL
WSDL 2.0, new messaging for Web services
Using RELAX NG For data integration
Efficient XML Interchange tackles data verbosity
XML to DDL imports, synchronizes database schemata
The basics of MathML 3.0
Migrating to XSLT 2.0
What's up with XML 2.0?
Say hello to XPath 2.0
Podcasting software covers many bases

XML and XML schema
What's the future of XML?
SOA pattern of the week (#7): policy centralization
Try XML-based Extensible Business Reporting Language (XBRL) for accounting reports
What's new at the W3C
Ganymede: Modeling tools target SOA, UML
Data services mashups emerge for SOA
Making sense of data services mashups
XML turns 10
SOA helps save 100-year-old business
Oracle maps heterogeneous data services strategy for SOA

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
class diagram  (SearchSOA.com)
Fast Infoset (FI)  (SearchSOA.com)
GeoRSS  (SearchSOA.com)
Keyhole Markup Language  (SearchSOA.com)
RELAX NG  (SearchSOA.com)
state diagram  (SearchSOA.com)
Universal Business Language  (SearchSOA.com)
Vector Markup Language  (SearchSOA.com)
XML infoset  (SearchSOA.com)
XML pipeline  (SearchSOA.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



SOA Trends and Strategy - SOA Education, SOA Development, SOA Implementations
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2001 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts