Welcome!

Weblogic Authors: Yeshim Deniz, Elizabeth White, Michael Meiner, Michael Bushong, Avi Rosenthal

Related Topics: Machine Learning

Machine Learning : Article

Bringing RIAs into the Enterprise: New Challenges, New Solutions

Challenges to developing AJAX applications in the enterprise environment

Another approach is to employ tools that use declarative markup (in the form of tags) to generate JavaScript. Enterprise developers, who are often starting from a Java-based or .NET-based Web application stack, may already have ready-to-run tag libraries available to AJAX-enable their pages. ASP.Net AJAX8 as well as JSF (JavaServer Faces) Dynamic Faces9 are just two examples of libraries that allow declarative markup to generate AJAX capabilities in a Web page.

This approach is not as flexible as some other ways to create JavaScript; however, it is a quick, easy way to add some AJAX functionality within a technology stack that is already adopted at your firm.

Targeting Browser Plug-Ins: Bring Your Own Language
While browser plug-in applications can have their own issues (vendor control, slow startup time, less-than-100% install base), they represent the most direct route for enterprise RIA deployment without building a JavaScript application.

Nearly all of the widely used Web app development languages are present in plug-ins today, and more are coming: the Java plug-in can, of course, run Java applications, but it can also run JavaFX scripts, Python (via Jython), and even Ruby (via JRuby)10. Silverlight 1.0 requires JavaScript, but the upcoming 1.1 release of this Microsoft plug-in adds support for .NET languages such as C#, Python (IronPython), Ruby (IronRuby), Visual Basic, and others11.

Flash Player versions 9 and up support ActionScript 3. ActionScript 3, while less familiar to enterprise coders than C# or Java, is an implementation of ECMAScript 412. As such, it brings classes, static typing, packages, namespaces, and other familiar elements that make an easy on-ramp for C# or Java developers. Adobe's Flex development tool adds another layer of familiarity, since it is built on the Eclipse IDE used by many enterprise developers already13.

Though plug-in based RIAs are not strictly AJAX, in many cases they meet or exceed enterprise and customer requirements, while bringing traditional languages and powerful development capabilities such as complete control over graphics and networking operations.

Conclusion
Enterprise development faces challenges that make the transition to AJAX trickier than it is for a startup. Nonetheless, there are a variety of ways to address these challenges.

Solutions range from improvements in development and testing processes, which make it easier to deploy rock-solid apps via script, to mechanisms for avoiding script altogether and using the company's existing technical know-how instead.

As long as we think carefully about the issues - especially how they work at our company - rather than grabbing onto the latest trend for its own sake, we can not only be successful, but also contribute to enterprise best practices for AJAX, which are just beginning to be invented.

Resources/Notes
1.  Kevin Clark's Heckle library: http://glu.ttono.us/articles/2006/12/19/tormenting-your-tests-with-heckle
2.  Douglas Crockford's JSLint: www.jslint.com/lint.html
3.  Subversion version control system: http://subversion.tigris.org/
4.  Eval in Mozilla-based browsers:
http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Guide:Predefined_Functions:eval_Function
  •   In Internet Explorer: http://msdn2.microsoft.com/en-us/library/12k71sw7.aspx
  •   In PHP: http://us2.php.net/eval
  •   In Ruby: www.ruby-doc.org/core/classes/Kernel.html#M005947
  •   In Python: http://docs.python.org/lib/built-in-funcs.html
5.  By concrete proxy, we mean objects with concrete methods or properties, rather than dynamically dispatched calls. Examples of the latter include dynamic proxies built on Ruby's method_missing, ActionScript's flash.utils.Proxy, etc.)
6.  Google Web Toolkit: http://code.google.com/webtoolkit/
7.  Nikhil Kothari's Script#: www.nikhilk.net/ScriptSharpIntro.aspx
8.  ASP.Net AJAX: www.asp.net/ajax/
9.  JSF Dynamic Faces: https://jsf-extensions.dev.java.net/nonav/mvn/gettingstarted-ajax.html
10.  Jython applets: www.jython.org/applets/index.html
  •   JRuby applets are not mainstream-practical today, but will be soon:
http://headius.blogspot.com/2006/11/ruby-for-web-check.html
  •   JavaFX applications are typically deployed as Java Web Start apps (running outside of the browser), but can run in an applet as well:
www.reportmill.com/jfx/gallery/
11.  Microsoft GM Scott Guthrie on Silverlight 1.0 and 1.1 language support: Click Here !
12.  ActionScript 3: www.adobe.com/devnet/actionscript/articles/actionscript3_overview.html
13.  Adobe Flex: www.adobe.com/products/flex/

More Stories By Adam Breindel

Adam Breindel is a lead engineer at IndustryNext, responsible for architecture and delivery of RIAs. An early adopter of AJAX, he built an AJAX media library/player for startup Mediabolic in 2000. Adam has also tackled integration and mobile challenges, enabling web and mobile access to United Airlines' 40-year-old mainframe.

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.


IoT & Smart Cities Stories
All in Mobile is a place where we continually maximize their impact by fostering understanding, empathy, insights, creativity and joy. They believe that a truly useful and desirable mobile app doesn't need the brightest idea or the most advanced technology. A great product begins with understanding people. It's easy to think that customers will love your app, but can you justify it? They make sure your final app is something that users truly want and need. The only way to do this is by ...
Digital Transformation and Disruption, Amazon Style - What You Can Learn. Chris Kocher is a co-founder of Grey Heron, a management and strategic marketing consulting firm. He has 25+ years in both strategic and hands-on operating experience helping executives and investors build revenues and shareholder value. He has consulted with over 130 companies on innovating with new business models, product strategies and monetization. Chris has held management positions at HP and Symantec in addition to ...
Dynatrace is an application performance management software company with products for the information technology departments and digital business owners of medium and large businesses. Building the Future of Monitoring with Artificial Intelligence. Today we can collect lots and lots of performance data. We build beautiful dashboards and even have fancy query languages to access and transform the data. Still performance data is a secret language only a couple of people understand. The more busine...
The challenges of aggregating data from consumer-oriented devices, such as wearable technologies and smart thermostats, are fairly well-understood. However, there are a new set of challenges for IoT devices that generate megabytes or gigabytes of data per second. Certainly, the infrastructure will have to change, as those volumes of data will likely overwhelm the available bandwidth for aggregating the data into a central repository. Ochandarena discusses a whole new way to think about your next...
CloudEXPO | DevOpsSUMMIT | DXWorldEXPO are the world's most influential, independent events where Cloud Computing was coined and where technology buyers and vendors meet to experience and discuss the big picture of Digital Transformation and all of the strategies, tactics, and tools they need to realize their goals. Sponsors of DXWorldEXPO | CloudEXPO benefit from unmatched branding, profile building and lead generation opportunities.
DXWorldEXPO LLC announced today that Big Data Federation to Exhibit at the 22nd International CloudEXPO, colocated with DevOpsSUMMIT and DXWorldEXPO, November 12-13, 2018 in New York City. Big Data Federation, Inc. develops and applies artificial intelligence to predict financial and economic events that matter. The company uncovers patterns and precise drivers of performance and outcomes with the aid of machine-learning algorithms, big data, and fundamental analysis. Their products are deployed...
Cell networks have the advantage of long-range communications, reaching an estimated 90% of the world. But cell networks such as 2G, 3G and LTE consume lots of power and were designed for connecting people. They are not optimized for low- or battery-powered devices or for IoT applications with infrequently transmitted data. Cell IoT modules that support narrow-band IoT and 4G cell networks will enable cell connectivity, device management, and app enablement for low-power wide-area network IoT. B...
The hierarchical architecture that distributes "compute" within the network specially at the edge can enable new services by harnessing emerging technologies. But Edge-Compute comes at increased cost that needs to be managed and potentially augmented by creative architecture solutions as there will always a catching-up with the capacity demands. Processing power in smartphones has enhanced YoY and there is increasingly spare compute capacity that can be potentially pooled. Uber has successfully ...
SYS-CON Events announced today that CrowdReviews.com has been named “Media Sponsor” of SYS-CON's 22nd International Cloud Expo, which will take place on June 5–7, 2018, at the Javits Center in New York City, NY. CrowdReviews.com is a transparent online platform for determining which products and services are the best based on the opinion of the crowd. The crowd consists of Internet users that have experienced products and services first-hand and have an interest in letting other potential buye...
When talking IoT we often focus on the devices, the sensors, the hardware itself. The new smart appliances, the new smart or self-driving cars (which are amalgamations of many ‘things'). When we are looking at the world of IoT, we should take a step back, look at the big picture. What value are these devices providing. IoT is not about the devices, its about the data consumed and generated. The devices are tools, mechanisms, conduits. This paper discusses the considerations when dealing with the...