• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Krengel Tech Eases XML Integration with DB2 Web Service Enabler

    October 6, 2009 Alex Woodie

    Krengel Technology is days away from formally launching DB2 Web Service Enabler, a new piece of middleware designed to help System i (AS/400) shops expose DB2/400 data using XML. By doing the dirty work of handling outside XML-based Web services requests, converting them into SQL statements, and returning XML data via HTTP communication, Krengel Tech hopes the new software will make DB2/400-resident data more accessible to programs written in Java, PHP, and .NET–without a lot of programming.

    In today’s heterogeneous IT shops, System i professionals are typically in the minority. Whether it’s because the System i is no longer politically correct at that company, or because Windows and Unix platforms simply require more babysitting, varies from company to company. Whatever the reason, there is often one constant, and that’s the need for “open systems” programs and programmers to get at critical data sitting in the System i’s database, DB2/400.

    Make it too hard to get at DB2/400, and it can have unintended consequences, according to Aaron Bartell, Krengel Tech’s lead developer on DB2 Web Service Enabler.

    “Java and .NET developers are always looking for the easiest way to get at this data on the System i,” Bartell says. “If you don’t make it easy, they’ll find ways around it. Then the next question they’ll be asking you is ‘Can we just, in the nightly process, duplicate your DB2 data over to my MS SQL Server, because I don’t understand how you want me to communicate with you?'”

    And once that data is moved from DB2/400 to SQL Server … well, you get the picture.

    Now, with the DB2 Web Service Enabler product, Krengel Tech and Bartell are aiming to make it as easy as possible to access DB2/400 data from other programs, via XML. All a Java, .NET, or PHP programmer needs to know is how to handle SQL. DB2 Web Service Enabler will do the dirty work of turning it into something that the System i can understand, and returning the requested data.

    “Basically what happens is you create an SQL statement in a string variable like you normally would,” Bartell says. “You call one of our APIs and, behind the scenes, it serializes that into an XML/HTTP post. It sends it to the server that was specified, the server receives that, parses the SQL statements, and outputs the XML result set back to the requester. So it’s all exactly like JDBC. You can almost call it XML-JDBC.”

    The server side component of DB2 Web Service Enabler is written in RPG and Krengel Tech has also written the client side portion in .NET, Java, and PHP that developers can plug into their programs.

    “What we were trying to do is have a .NET or Java or PHP program to not have to worry at all about what’s going on underneath the covers” on the System i, Bartell says. “We do publish the specs of what the incoming and outgoing XML looks like, in case there’s another language somebody wants to communicate with. But you’re never really exposed to the fact that HTTP and XML are happening under the covers.”

    Another advantage of using DB2 Web Service Enabler is that data requests will automatically be subject to System i security. If a specific user does not have proper authority to access a certain table in DB2/400, they will be denied access. And if a customer wants to implement even tighter security, Krengel Tech has built its own security APIs for the product that don’t require the user to utilize IBM i user names and passwords to authenticate.

    Bartell says Krengel Tech provides its own security APIs because “sometimes it’s just better if you don’t have to hand out IBM i profiles and instead can use ones within the DB2 Web Service Enabler product. The ease of this customized authentication approach will see its value when people start utilizing cloud applications, where an application might be communicating from GoogleApps to a back-end IBM i DB2 database.”

    To help users get started, Krengel Tech has also developed a browser-based program that can act as the requestor. The program, written in JavaScript, runs on the System i’s integrated Apache Web server, and returns XML data requests to the browser.

    This is not the first product to integrate XML into DB2/400. IBM delivered some enhancements in this regard with the Integrated Web Server (IWS) in i OS 6.1. It also offers tooling in the WDSc and RDi development tools. However, those tools have limitations based on underlying technology–namely PCML–and require additional programming on the IBM i whereas the DB2 Web Service Enabler does not, Bartell says.

    Krengel Tech also has other products in this field. Its first product, the RPG XML Suite, offers similar capabilities as DB2 Web Service Enabler. The big difference between the products is that RPG XML Suite looks at data through the lens of RPG programs, and requires RPG to be written to deliver DB2 data. DB2 Web Service Enabler, on the other hand, does not concern itself at all with RPG; it’s only looking at data in DB2/400.

    There are a number of practical uses for DB2 Web Service Enabler. Krengel Tech sees the product helping companies share data such as purchase orders, invoices, product data, or shipment information. To demonstrate the variety of things customers can do once their DB2/400 tables are accessible, Krengel Tech developed a cloud application that’s hosted on Google‘s App Engine.

    Beta testing for DB2 Web Service Enabler is complete, and version 1 is expected to be available soon. Pricing is P-group based and ranges from $1,995 to about $5,000. For more information, see the company’s Web site at www.krengeltech.com.



                         Post this story to del.icio.us
                   Post this story to Digg
        Post this story to Slashdot

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags:

    Sponsored by
    Midrange Dynamics North America

    With MDRapid, you can drastically reduce application downtime from hours to minutes. Deploying database changes quickly, even for multi-million and multi-billion record files, MDRapid is easy to integrate into day-to-day operations, allowing change and innovation to be continuous while reducing major business risks.

    Learn more.

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Sponsored Links

    Manta Technologies:  Fall Sale on i training courses! Order by October 15 and SAVE 25%
    ARCAD Software:  Testing=Productivity=Profits. Online presentation, October 22
    RJS Software Systems:  RPG2SQL Integrator shares information between IBM i and PC databases

    IT Jungle Store Top Book Picks

    Easy Steps to Internet Programming for AS/400, iSeries, and System i: List Price, $49.95
    The iSeries Express Web Implementer's Guide: List Price, $49.95
    The System i RPG & RPG IV Tutorial and Lab Exercises: List Price, $59.95
    The System i Pocket RPG & RPG IV Guide: List Price, $69.95
    The iSeries Pocket Database Guide: List Price, $59.00
    The iSeries Pocket SQL Guide: List Price, $59.00
    The iSeries Pocket Query Guide: List Price, $49.00
    The iSeries Pocket WebFacing Primer: List Price, $39.00
    Migrating to WebSphere Express for iSeries: List Price, $49.00
    Getting Started With WebSphere Development Studio Client for iSeries: List Price, $89.00
    Getting Started with WebSphere Express for iSeries: List Price, $49.00
    Can the AS/400 Survive IBM?: List Price, $49.00
    Chip Wars: List Price, $29.95

    Security Software Still Selling Like Hotcakes Getting Started with RDi’s Application Diagram, Part 1: Source Call Diagram

    Leave a Reply Cancel reply

Volume 9, Number 36 -- October 6, 2009
THIS ISSUE SPONSORED BY:

Databorough
Vision Solutions
Patrick Townsend Security Solutions
East Coast Computer
Manta Technologies

Table of Contents

  • No Longer an IBM Partner, Randr Navigates the Open Source Track
  • Krengel Tech Eases XML Integration with DB2 Web Service Enabler
  • Aldon Eases Compliance, Project Management Burdens with Reporting Tool
  • QlikTech Welcomes Competition with IBM Cognos Express
  • Wine Management Systems Takes to the Cloud
  • IBM’s e-Mail in the Cloud Gets Price Trimmed
  • SMS Expands Data Center Maintenance Business
  • Delta Software Acquires British OS/400 WMS Developer
  • Island Pacific Signs New Customers in U.S., U.K.
  • Safestone Encourages Customers to Try i OS Password Software

Content archive

  • The Four Hundred
  • Four Hundred Stuff
  • Four Hundred Guru

Recent Posts

  • Meet The Next Gen Of IBMers Helping To Build IBM i
  • Looks Like IBM Is Building A Linux-Like PASE For IBM i After All
  • Will Independent IBM i Clouds Survive PowerVS?
  • Now, IBM Is Jacking Up Hardware Maintenance Prices
  • IBM i PTF Guide, Volume 27, Number 24
  • Big Blue Raises IBM i License Transfer Fees, Other Prices
  • Keep The IBM i Youth Movement Going With More Training, Better Tools
  • Remain Begins Migrating DevOps Tools To VS Code
  • IBM Readies LTO-10 Tape Drives And Libraries
  • IBM i PTF Guide, Volume 27, Number 23

Subscribe

To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

Pages

  • About Us
  • Contact
  • Contributors
  • Four Hundred Monitor
  • IBM i PTF Guide
  • Media Kit
  • Subscribe

Search

Copyright © 2025 IT Jungle