05
Sat, Oct
2 New Articles

AJAX and SOA: A Marriage Made in Heaven or a Security Disaster Waiting to Happen?

Security - Other
Typography
  • Smaller Small Medium Big Bigger
  • Default Helvetica Segoe Georgia Times

The Web 2.0 world is exploding with applications, and enterprises are jumping on the bandwagon. The Asynchronous JavaScript and XML (AJAX) framework is a collection of open-source approaches and tools to develop Rich Internet Applications (RIAs). Simultaneously, enterprises are exploring the potential of SOAs for their benefits of reuse and relative ease of deployment. This article discusses whether these two approaches are compatible, what tools are available, and how enterprises should approach the mix.

Cleaning Up Applications Using AJAX

AJAX is one of several approaches to developing RIA applications. AJAX creates a path between the client browser and server to pass information back and forth without having to refresh the Web page. The concepts behind AJAX are not new, with reports of its application as early as 1998. Jesse James Garrett of the user-interface firm Adaptive Path, LLC first used the term AJAX in his essay "Ajax: A New Approach to Web Applications," published in February 2005. Done correctly, AJAX can reduce bandwidth needs and server requirements.

AJAX is not a technology one can download; it is an approach to building interactive Web applications. While not new, the approach is catching on because of some highly visible implementations using the concept. The traditional Web application involves users' requests being sent via an HTTP request to the Web server. The server then carries out the request and serves up an HTTP page for the user. Every action requires communication with the server. AJAX, on the other hand, introduces an engine of sorts on the client. In AJAX applications, instead of the HTTP Web page being served to the client, that engine is served to the client. Generally, the engine is JavaScript in a hidden page frame. The engine takes over interaction with the user and communicates with the Web server only when necessary. In general, this allows simple requests to be handled without communicating with the server.

At the recent AjaxWorld Conference and Expo in Santa Clara, California, there were several announcements of importance to mid-sized enterprises interested in developing and deploying Web 2.0 applications.
Helmi Technologies, Inc. launched the beta of its open-source platform for the development of RIAs. Helmi's Open Source RIA Platform V2.0 is a new object-oriented framework for developing browser-independent Web applications using the AJAX approach. Helmi is providing the source code under an open-source license, à la Red Hat, Inc.
Stampede Technologies, Inc. announced a performance-enhancement solution for AJAX and other applications. Stampede Web 2.0 Performance Series is implemented with a hardware appliance at the data center and uses client software technology for bi-directional acceleration. The vendor's technology automatically injects itself into the downloaded Web page to optimize AJAX, HTTP, HTTPS, Microsoft .Net, and XML environments.
Volantis Systems Ltd. introduced AJAX support for its framework for development, integration, and deployment of mobile applications. The new release, Mobile Content Framework 4.0, adds support for AJAX with automatic and intelligent adaptation to mobile devices. Included is a new AJAX widget library for user-interface effects.

AJAX uses the following methodologies:
Asynchronous data retrieval via XMLHttpRequest

  • Data interchange and manipulation via XML and Extensible Stylesheet Language Transformation (XSLT)
  • Dynamic display and interaction via Document Object Model (DOM)
  • Packaging and execution via JavaScript
  • Standards-based presentation via Extensible HTML (XHTML) and Cascading Style Sheets (CSS)

SOA What?

Meanwhile, a service-oriented architecture (SOA) presents opportunities for improved alignment between internally developed applications and the business. The goal of the elastic enterprise is to be sufficiently flexible to respond rapidly and gracefully to changing business or technological conditions and constraints, without disruption or irreparable damage to the business. No approach is being promoted more to address these challenges than SOA. IBM, for example, is making SOA a central part of its software strategy.

The main concepts behind SOAs are not new. Reuse of components stored in repositories is a decades-old approach. The concept of services as components is also longstanding. Also not new is the idea of services as instantiations of business processes. Finally, the use of service brokers and a companion invocation infrastructure hearken back to things like Object Management Group, Inc.'s Common Object Request Broker Architecture (CORBA). Lastly, many of the Web services technologies being touted as SOA elements are extensively used in a variety of non-SOA implementations. Therefore, while it makes sense to evaluate the risk of using an SOA approach on projects, the newness and ensuing perceived risks of SOAs might be overblown.

A recent Capgemini U.S. LLC survey shows that 35% of enterprises now use SOAs, while 82% plan on using them in the near future. The same survey finds that half view SOAs as the number-one priority for the IT infrastructure. Building on the concepts of loose coupling and highly cohesive components, composition in an SOA environment offers real hope for elastic systems produced on demand to rapidly changing requirements.

Security Concerns

Also at AjaxWorld, Web security vendor Finjan Inc. released a report claiming security holes in AJAX and other Web 2.0 technologies. According to the Web Security Trends Report, a technology approach such as AJAX "...flings open the door to new malware propagation methods." Hackers can embed malicious code in hosted Web content or use AJAX technologies to create client-side attacks not detected by the server. Protection therefore involves analysis of each request as it happens, Finjan added. Did I mention Finjan happens to offer such protection?

Security of AJAX applications is a legitimate concern. Many enterprises disable JavaScript in users' browsers because of security issues. In addition, developers could inadvertently create security holes when writing the JavaScript applications. While the development community is aware of these potential problems, there is a need for more effort in addressing security issues of AJAX applications. Those responsible for them should be sure that any AJAX development projects include close scrutiny on security and testing.

AJAX + SOA = ?

So with AJAX and SOA at the forefront of what is going on in enterprise application development, it makes sense that the two have synergies for enterprises. In a simplistic sense, AJAX can be the front-end and SOA can be the back-end of applications.

RIA software company JackBe is embracing this need through its Presto platform. Presto gives developers a way to have AJAX applications call SOA and Web services. JackBe already has an AJAX development platform, and this advancement adds the ability for enterprises to link to existing services, with their underlying governance and reliability attributes.

Enterprises can benefit from AJAX and other RIA approaches to Web applications. There is a strong movement toward browser- and device-independence. The linkage to SOA is not only interesting, it is essential for enterprises wanting more than the simple mash-ups commonly available on the Internet. IT managers and executives should evaluate SOA on its merits and fit it to application requirements with a progressive implementation approach. However, there are bumps in the road. As with any development methodology, developers and their managers must consider several factors, including performance and security, while they are planning and developing applications. Waiting until after deployment for such analysis is a recipe for disaster for any development platform.

Ron Exler is Vice President and Research Fellow at Robert Frances Group, an advisory firm that serves executives making decisions at the confluence of business and technology. You can reach him at This email address is being protected from spambots. You need JavaScript enabled to view it..


Ron Exler

Ron Exler is a senior product manager at Arbitron, the media ratings company. Previously, he was an independent analyst and consultant. He was formerly Vice President and Research Fellow for Robert Frances Group (RFG), a provider of advisory services for information technology (IT) executives and vendors. Mr. Exler has worked with executives from some of the world's largest enterprises, so he understands how business executives make decisions. He also writes a blog (http://www.thegeofactor.com/) and was named one of the top English-language analyst bloggers by Technobabble 2.0. Mr. Exler has had more than 125 articles and technical papers published.

 

Prior to RFG, Mr. Exler worked for several enterprise software companies, including Landmark Systems (now ASG) and Intersolv (now Serena Software). He held positions in marketing, product management, research, sales support, software development, and training. He has an M.S. from the University of Wisconsin, Madison and also earned a B.S. from Oregon State University.

BLOG COMMENTS POWERED BY DISQUS

LATEST COMMENTS

Support MC Press Online

$

Book Reviews

Resource Center

  • SB Profound WC 5536 Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application. You can find Part 1 here. In Part 2 of our free Node.js Webinar Series, Brian May teaches you the different tooling options available for writing code, debugging, and using Git for version control. Brian will briefly discuss the different tools available, and demonstrate his preferred setup for Node development on IBM i or any platform. Attend this webinar to learn:

  • SB Profound WP 5539More than ever, there is a demand for IT to deliver innovation. Your IBM i has been an essential part of your business operations for years. However, your organization may struggle to maintain the current system and implement new projects. The thousands of customers we've worked with and surveyed state that expectations regarding the digital footprint and vision of the company are not aligned with the current IT environment.

  • SB HelpSystems ROBOT Generic IBM announced the E1080 servers using the latest Power10 processor in September 2021. The most powerful processor from IBM to date, Power10 is designed to handle the demands of doing business in today’s high-tech atmosphere, including running cloud applications, supporting big data, and managing AI workloads. But what does Power10 mean for your data center? In this recorded webinar, IBMers Dan Sundt and Dylan Boday join IBM Power Champion Tom Huntington for a discussion on why Power10 technology is the right strategic investment if you run IBM i, AIX, or Linux. In this action-packed hour, Tom will share trends from the IBM i and AIX user communities while Dan and Dylan dive into the tech specs for key hardware, including:

  • Magic MarkTRY the one package that solves all your document design and printing challenges on all your platforms. Produce bar code labels, electronic forms, ad hoc reports, and RFID tags – without programming! MarkMagic is the only document design and print solution that combines report writing, WYSIWYG label and forms design, and conditional printing in one integrated product. Make sure your data survives when catastrophe hits. Request your trial now!  Request Now.

  • SB HelpSystems ROBOT GenericForms of ransomware has been around for over 30 years, and with more and more organizations suffering attacks each year, it continues to endure. What has made ransomware such a durable threat and what is the best way to combat it? In order to prevent ransomware, organizations must first understand how it works.

  • SB HelpSystems ROBOT GenericIT security is a top priority for businesses around the world, but most IBM i pros don’t know where to begin—and most cybersecurity experts don’t know IBM i. In this session, Robin Tatam explores the business impact of lax IBM i security, the top vulnerabilities putting IBM i at risk, and the steps you can take to protect your organization. If you’re looking to avoid unexpected downtime or corrupted data, you don’t want to miss this session.

  • SB HelpSystems ROBOT GenericCan you trust all of your users all of the time? A typical end user receives 16 malicious emails each month, but only 17 percent of these phishing campaigns are reported to IT. Once an attack is underway, most organizations won’t discover the breach until six months later. A staggering amount of damage can occur in that time. Despite these risks, 93 percent of organizations are leaving their IBM i systems vulnerable to cybercrime. In this on-demand webinar, IBM i security experts Robin Tatam and Sandi Moore will reveal:

  • FORTRA Disaster protection is vital to every business. Yet, it often consists of patched together procedures that are prone to error. From automatic backups to data encryption to media management, Robot automates the routine (yet often complex) tasks of iSeries backup and recovery, saving you time and money and making the process safer and more reliable. Automate your backups with the Robot Backup and Recovery Solution. Key features include:

  • FORTRAManaging messages on your IBM i can be more than a full-time job if you have to do it manually. Messages need a response and resources must be monitored—often over multiple systems and across platforms. How can you be sure you won’t miss important system events? Automate your message center with the Robot Message Management Solution. Key features include:

  • FORTRAThe thought of printing, distributing, and storing iSeries reports manually may reduce you to tears. Paper and labor costs associated with report generation can spiral out of control. Mountains of paper threaten to swamp your files. Robot automates report bursting, distribution, bundling, and archiving, and offers secure, selective online report viewing. Manage your reports with the Robot Report Management Solution. Key features include:

  • FORTRAFor over 30 years, Robot has been a leader in systems management for IBM i. With batch job creation and scheduling at its core, the Robot Job Scheduling Solution reduces the opportunity for human error and helps you maintain service levels, automating even the biggest, most complex runbooks. Manage your job schedule with the Robot Job Scheduling Solution. Key features include:

  • LANSA Business users want new applications now. Market and regulatory pressures require faster application updates and delivery into production. Your IBM i developers may be approaching retirement, and you see no sure way to fill their positions with experienced developers. In addition, you may be caught between maintaining your existing applications and the uncertainty of moving to something new.

  • LANSAWhen it comes to creating your business applications, there are hundreds of coding platforms and programming languages to choose from. These options range from very complex traditional programming languages to Low-Code platforms where sometimes no traditional coding experience is needed. Download our whitepaper, The Power of Writing Code in a Low-Code Solution, and:

  • LANSASupply Chain is becoming increasingly complex and unpredictable. From raw materials for manufacturing to food supply chains, the journey from source to production to delivery to consumers is marred with inefficiencies, manual processes, shortages, recalls, counterfeits, and scandals. In this webinar, we discuss how:

  • The MC Resource Centers bring you the widest selection of white papers, trial software, and on-demand webcasts for you to choose from. >> Review the list of White Papers, Trial Software or On-Demand Webcast at the MC Press Resource Center. >> Add the items to yru Cart and complet he checkout process and submit

  • Profound Logic Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application.

  • SB Profound WC 5536Join us for this hour-long webcast that will explore:

  • Fortra IT managers hoping to find new IBM i talent are discovering that the pool of experienced RPG programmers and operators or administrators with intimate knowledge of the operating system and the applications that run on it is small. This begs the question: How will you manage the platform that supports such a big part of your business? This guide offers strategies and software suggestions to help you plan IT staffing and resources and smooth the transition after your AS/400 talent retires. Read on to learn: