Welcome!

AJAX & REA Authors: RealWire News Distribution, Kevin Benedict, Elizabeth White, Andreas Grabner, Shelly Palmer

Related Topics: Java, Adobe Flex, AJAX & REA, Web 2.0, Open Web, Apache

Java: Article

RIA Load Testing for Dummies

RIAs represent the next step toward a more interactive, efficient, and easy-to-use web

We all know that since the early ‘90s, Internet usage has exploded. Buying online, booking a trip or communicating with friends and relatives are just a few examples of what all of us are doing every day. The continuous development of broadband connectivity has also made easy the growth of those services and, as more bandwidth becomes available, quality will continued to improve as well. Considering this evolution and looking at the details of its capabilities, it appears Rich Internet Applications are one of the most important elements to improve the user experience in the modern Internet era.

From HTML to RIA
First let's explore how we got to where we are today by looking at the major steps in the development of the Internet.

Back in the ‘90s, HTML came out and was quickly established as the main markup language for web pages. HTML allows images and objects to be embedded and can be used to create interactive forms. You can create structured documents through a defined semantic model, but essentially HTML was designed to deliver static content. This was the birth of the web as we know it today.

For about 10 years HTML ruled the Internet world. 2002 saw the release of the first .NET Framework version. This platform allowed the creation of professional apps for business, linking back-end information and user rendering. It also appeared to be more efficient than HTML for business processes and the industry progressively adopted this way of thinking. In the meantime, JavaScript, ActiveX and applets arrived on the web market. They allowed the addition of even more functionality on the client side. That said, it was more a revolution of the style instead of the content. In fact JavaScript keeps the same approach as HTML as it's still a sequential model, meaning the server provides information only if the client asks for it. But this approach is no longer sufficient. Applications have continued to grow in terms of complexity as users are enabled to create more and more interactions.

In 2004 "Web 2.0" was used for the first time by Tim O'Reilly. This term describes an evolution of the web toward greater simplicity and interactivity and technically speaking, it brings on the front of Rich Internet Applications (RIAs).

RIAs today are the latest evolution of the web. Following HTML and .NET, RIAs now enable more dynamic and interactive applications, more intuitive UIs, and data availability at any time through real time communication.

RIA: Technologies and Advantages
One of the most significant impacts of RIAs is that now a lot of the actions are computed on the client side. JavaScript language, in particular, has been specifically created for such a purpose. As a result, RIAs enable many new capabilities and features for users, which would have been impossible with HTML alone. Today most of the RIA UIs embed drag-and-drop, dedicated tool bars, calculations, and more.

Although there are now a number of RIA technologies available, JavaScript appears to be the first language able to execute code on the client side. AJAX (a combination of JavaScript and XML) is a popular derivation of the original JavaScript. Several frameworks also exist, among the most well-known: Dojo, jQuery, Scriptaculous... Adobe also created its own solution based on Flash: Flex. Microsoft created Silverlight and Google assembled GWT (Google Web Toolkit).

The advantages of RIAs are numerous and include:

  • RIA Frameworks enable faster releases.
  • No installation on the client side is necessary.
  • Users can use the application from anywhere and from any computer, as long as it has Internet and a web browser.
  • It's easier to maintain for administrators. Changes are done once and everybody can connect back to the application.

Real-Time Information: Push
Earlier we talked about the greater complexity of the users interactions. RIAs and push seem to be able to help here. Push is a way to communicate between client and server, the dialog being initiated by the server and not the client. It's the opposite of what we are used to seeing in earlier web applications in which the user first sends a request to obtain a response from the server. This new way of exchanging information gives Web Apps a new dimension. Without any specific action, users can follow their usual flow and simultaneously get alerts about events they defined themselves. This communication mode is widely used in banking and trading apps where responsiveness is not merely important, but critical.

Adoption by the Industry
A survey by Service-now.com in 2010 about web CRM adoption showed that 81% said that they were currently using a web CRM instead of a desktop app, and an additional 12% were considering replacing desktop CRM with a web app. This survey pinpointed the fact that RIAs were not only a part of our web environment, but tended to be viewed as the standard in the industry.

In becoming an industry standard, web application technologies must also be subject to improvements in optimization and reliability. Like standard websites, RIAs must ensure sufficient performances to satisfy users. Web load testing has been in existence for about 20 years and brings valuable information and benefits to testers. Primarily it helps by improving the quality of websites. But what about load testing RIAs? Is it the same activity and do the tools remain the same?

Load-Testing RIAs: The Tools
To answer this last question - yes tools are pretty much still the same in terms of the information they can provide. But tool vendors must keep up with the latest technologies in order to meet the needs of RIAs. We said that an RIA is much more interactive than any website. Technically speaking, this means a large flow of requests and responses are generated, much more than for a typical website. Technologies like Push and Streaming can create hundreds of requests, whereas the user might have only executed three clicks. New complex behaviors are the consequence of the RIAs and therefore load testing tools must follow this trend by being more responsive to the needs of emerging technologies.

If tool vendors really want to answer RIA needs, their tools have to integrate automatic recognition of RIA frameworks. They must enable testers to rapidly create business case transactions. The new tool must be intuitive, RIA ready but without ignoring the existence of conventional HTTP websites.

Conclusion
RIAs represent the next step toward a more interactive, efficient, and easy-to-use web. They are becoming a standard for the industry and therefore must be optimized to ensure good performance for the users. Load testing is essential to effectively optimize the performance of these new technologies. Because of the change in how RIAs handle client / server interactions, special consideration must be given to testing methodology and tooling. The RIA trend is now fully upon us. Are you ready?

More Stories By Olivier Hanoun

Olivier Hanoun is a Senior Performance Engineer at Neotys, a provider of load testing software for Web applications. Previously, he worked as a Technical Marketing Manager in a semi-conductor Taiwanese company. Prior to that he was an engineer in STMicroelectronics. Being in Neotys from the early development of the company, 5 years ago, Olivier has been involved in load and performance testing projects as well as delivering professional services and trainings. He is also involved in pre-sales and marketing activities. He graduated from the “Ecole Centrale de Marseille” with an MS in Computer and Sciences, and from the French Air Force Academy with an MS in Mechanic and Aeronautic.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


Cloud Expo Breaking News
Cloud backup and recovery services are critical to safeguarding an organization’s data and ensuring business continuity when technical failures and outages occur. With so many choices, how do you find the right provider for your specific needs? In his session at 14th Cloud Expo, Daniel Jacobson, Technology Manager at BUMI, will outline the key factors including backup configurations, proactive monitoring, data restoration, disaster recovery drills, security, compliance and data center resources. Aside from the technical considerations, the secret sauce in identifying the best vendor is the level of focus, expertise and specialization of their engineering team and support group, and how they monitor your day-to-day backups, provide recommendations, and guide you through restores when necessary.
Cloud scalability and performance should be at the heart of every successful Internet venture. The infrastructure needs to be resilient, flexible, and fast – it’s best not to get caught thinking about architecture until the middle of an emergency, when it's too late. In his interactive, no-holds-barred session at 14th Cloud Expo, Phil Jackson, Development Community Advocate for SoftLayer, will dive into how to design and build-out the right cloud infrastructure.
SYS-CON Events announced today that SherWeb, a long-time leading provider of cloud services and Microsoft's 2013 World Hosting Partner of the Year, will exhibit at SYS-CON's 14th International Cloud Expo®, which will take place on June 10–12, 2014, at the Javits Center in New York City, New York. A worldwide hosted services leader ranking in the prestigious North American Deloitte Technology Fast 500TM, and Microsoft's 2013 World Hosting Partner of the Year, SherWeb provides competitive cloud solutions to businesses and partners around the world. Founded in 1998, SherWeb is a privately owned company headquartered in Quebec, Canada. Its service portfolio includes Microsoft Exchange, SharePoint, Lync, Dynamics CRM and more.
The world of cloud and application development is not just for the hardened developer these days. In their session at 14th Cloud Expo, Phil Jackson, Development Community Advocate for SoftLayer, and Harold Hannon, Sr. Software Architect at SoftLayer, will pull back the curtain of the architecture of a fun demo application purpose-built for the cloud. They will focus on demonstrating how they leveraged compute, storage, messaging, and other cloud elements hosted at SoftLayer to lower the effort and difficulty of putting together a useful application. This will be an active demonstration and review of simple command-line tools and resources, so don’t be afraid if you are not a seasoned developer.
You use an agile process; your goal is to make your organization more agile. What about your data infrastructure? The truth is, today’s databases are anything but agile – they are effectively static repositories that are cumbersome to work with, difficult to change, and cannot keep pace with application demands. Performance suffers as a result, and it takes far longer than it should to deliver on new features and capabilities needed to make your organization competitive. As your application and business needs change, data repositories and structures get outmoded rapidly, resulting in increased work for application developers and slow performance for end users. Further, as data sizes grow into the Big Data realm, this problem is exacerbated and becomes even more difficult to address. A seemingly simple schema change can take hours (or more) to perform, and as requirements evolve the disconnect between existing data structures and actual needs diverge.
SYS-CON Events announced today that BUMI, a premium managed service provider specializing in data backup and recovery, will exhibit at SYS-CON's 14th International Cloud Expo®, which will take place on June 10–12, 2014, at the Javits Center in New York City, New York. Manhattan-based BUMI (Backup My Info!) is a premium managed service provider specializing in data backup and recovery. Founded in 2002, the company’s Here, There and Everywhere data backup and recovery solutions are utilized by more than 500 businesses. BUMI clients include professional service organizations such as banking, financial, insurance, accounting, hedge funds and law firms. The company is known for its relentless passion for customer service and support, and has won numerous awards, including Customer Service Provider of the Year and 10 Best Companies to Work For.
Chief Security Officers (CSO), CIOs and IT Directors are all concerned with providing a secure environment from which their business can innovate and customers can safely consume without the fear of Distributed Denial of Service attacks. To be successful in today's hyper-connected world, the enterprise needs to leverage the capabilities of the web and be ready to innovate without fear of DDoS attacks, concerns about application security and other threats. Organizations face great risk from increasingly frequent and sophisticated attempts to render web properties unavailable, and steal intellectual property or personally identifiable information. Layered security best practices extend security beyond the data center, delivering DDoS protection and maintaining site performance in the face of fast-changing threats.
From data center to cloud to the network. In his session at 3rd SDDC Expo, Raul Martynek, CEO of Net Access, will identify the challenges facing both data center providers and enterprise IT as they relate to cross-platform automation. He will then provide insight into designing, building, securing and managing the technology as an integrated service offering. Topics covered include: High-density data center design Network (and SDN) integration and automation Cloud (and hosting) infrastructure considerations Monitoring and security Management approaches Self-service and automation
In his session at 14th Cloud Expo, David Holmes, Vice President at OutSystems, will demonstrate the immense power that lives at the intersection of mobile apps and cloud application platforms. Attendees will participate in a live demonstration – an enterprise mobile app will be built and changed before their eyes – on their own devices. David Holmes brings over 20 years of high-tech marketing leadership to OutSystems. Prior to joining OutSystems, he was VP of Global Marketing for Damballa, a leading provider of network security solutions. Previously, he was SVP of Global Marketing for Jacada where his branding and positioning expertise helped drive the company from start-up days to a $55 million initial public offering on Nasdaq.
Performance is the intersection of power, agility, control, and choice. If you value performance, and more specifically consistent performance, you need to look beyond simple virtualized compute. Many factors need to be considered to create a truly performant environment. In his General Session at 14th Cloud Expo, Marc Jones, Vice President of Product Innovation for SoftLayer, will explain how to take advantage of a multitude of compute options and platform features to make cloud the cornerstone of your online presence.
Are you interested in accelerating innovation, simplifying deployments, reducing complexity, and lowering development costs? The cloud is changing the face of application development and deployment, with enterprise-grade infrastructure and platform services making it possible for you to build and rapidly scale enterprise applications. In his session at 14th Cloud Expo, Gene Eun, Sr. Director, Oracle Cloud at Oracle, will discuss the latest solutions and strategies for application developers and enterprise IT organizations to leverage Infrastructure as a Service (IaaS) and Platform as a Service (PaaS) to build and deploy modern business applications in the cloud.
Hybrid cloud refers to the federation of a public and private cloud environment for the purpose of extending the elastic and flexibility of compute, storage and network capabilities, in an on-demand, pay-as-you go basis. The hybrid approach allows a business to take advantage of the scalability and cost-effectiveness that a public cloud computing environment offers without exposing mission-critical applications and data to third-party vulnerabilities. Hybrid cloud environments involve complex management challenges. First, organizations struggle to maintain control over the resources that lie outside of their managed IT scope. They also need greater infrastructure visibility to help reduce maintenance costs and ensure that their company data and resources are properly handled and secured.
As more applications and services move "to the cloud" (public or on-premise), cloud environments are increasingly adopting and building out traditional enterprise features. This in turn is enabling and encouraging cloud adoption from enterprise users. In many ways the definition is blurring as features like continuous operation, geo-distribution or on-demand capacity become the norm. At NuoDB we're involved in both building enterprise software and using enterprise cloud capabilities. In his session at 14th Cloud Expo, Seth Proctor, CTO of NuoDB, Inc., will cover experiences from building, deploying and using enterprise services and suggest some ways to approach moving enterprise applications into a cloud model.
Understanding the future of Big Data is crucial in the early stages of decision making around Big Data architectures. In the enterprise, what stands out is the need to integrate Hadoop smoothly into your existing data warehouse architecture, while taking advantage of existing skills and investments. In his General Session at 14th Cloud Expo, Marty Gubar, Director of Product Management at Oracle, will present a strategy for enabling integrated data management using both Hadoop and relational technologies. In particular, he'll look at how SQL, long the standard for the data warehouse, is increasingly being used on Hadoop. The real prize, though, is Smart SQL processing, seamlessly integrating the data warehouse and Hadoop into a single, Big Data Management System.
The time has come for humanity’s first interstellar trek to Terranuvem, the cloud planet, and Chief Engineer Cyrus Agarwal has been chosen to ready a ship for the voyage. He must make the right architectural choices to transform the ship for the long journey and be prepared for the unknown. He will be tested and overcome challenges during the mission. Join Cyrus and the crew of the Stratus at Oracle VP Rex Wang’s Day 2 Keynote at 14th Cloud Expo for a unique, sci-fi movie experience while learning key success factors for your own journey to cloud.