Skip to main content

Skip over site navigation to main content

developerWorks  >   Web development  >   Technical library  >  

Technical library view  RSS for Web development

developerWorks
 Related links:    Redbooks

Filter your search and/or enter a keyword. If you don't filter your search or enter a keyword, the search results will default to all results.

 
 
 
  1 - 100 of 202 results    Next   Show All   Hide Summaries
Title   Type   Date  

Table that contains the results that meet the search criteria.

Building smart Web applications for a smarter planet
Currently, Web-based applications are being developed for almost every industry, providing online services that people can access anytime and anywhere. Such services range from online tutoring to virtual shopping, helping people complete their tasks with comfort and ease. Web-based systems are quite attractive because there are no platform constraints and installation requirements. With the emergence of Web 2.0, there is a lot of momentum to build intelligent Web applications that provide more intelligent services. This article describes an architecture for intelligent Web-based applications and discusses each component in the application with implementation details.
Articles 24 Nov 2009  
 
Ajax resource center
23 Nov 2009  
 
Build a Web presentation application using Ajax technology, Part 2: Make the Web presentation editable
Web 2.0 allows the development of robust functionality with a minimum of coding by reusing existing components rather than reinventing them. Part 1 of this series discussed using an Asynchronous JavaScript and XML (Ajax) framework to create a Web application to create slideshow presentations. Part 2 provides the framework discussed in the first article and adds functions to make it editable. Using this article, find out how much you can achieve with relatively little code.
Articles 17 Nov 2009  
 
Create optimized Dojo builds for your custom Dojo artifacts
Create a custom Dojo build for your custom widgets without including any modules from the dojo/dojox/dijit packages into your build output. Custom Dojo builds reduce the number of modules to be downloaded by combining all the modules into a single file, thereby reducing the number of network calls required for the individual module files. These techniques were developed with a real-world project where compact packages were a requirement. This article helps you to create optimized Dojo builds using the Dojo build tool.
Articles 10 Nov 2009  
 
Build a pureXML and JSON application, Part 1: Store and query JSON with DB2 pureXML
JavaScript Object Notation (JSON), a popular textual notation in Web 2.0, is used to represent objects (or data structures) as serialized text when clients and servers exchange information. Some applications benefit from persisting JSON objects to maintain state across sessions. In this article, learn how DB2 pureXML can store, manage, and query JSON when you adopt a simple JSON-to-XML mapping.
Articles 10 Nov 2009  
 
Dojo Grid using the MVC design pattern
Technologies are often linked together, and knowledge that you have in one area can help you gain skill in another. This article introduces the major features of Dojo Grid from an Model-View-Controller (MVC) design pattern perspective. Using the article, discover how you can understand and easily master Dojo Grid, even you haven't used it before.
Articles 03 Nov 2009  
 
Manage tasks with common Ajax workspace
Want to increase productivity when managing tasks of developing Ajax applications? Regular developerWorks author Judith Myerson covers how you can use common Asynchronous JavaScript and XML (Ajax) workspace as a way to collaborate with team members, make or get workspace templates, allocate workspace dynamically, centralize communications for better administration, and make or get Ajax libraries. She shows you how to mitigate project risks to more acceptable levels and how to set up a pilot study on the workspace to test the application before integrating it into legacy enterprise systems.
Articles 20 Oct 2009  
 
High-performance Web development with Google Web Toolkit and Eclipse Galileo
By now, you have probably heard of Google Web Toolkit (GWT). You know that it lets you write your Web applications in the Java programming language that is compiled into JavaScript to run in Web browsers. This lets you be more productive by taking advantage of Java's static typing and great tools like Eclipse. You have may seen some of the useful and stylish widgets built on top of GWT. What you may not know is that GWT lets you create high-performance Web applications. In this article, we look at how you can use the Google Plug-in with Eclipse Galileo to tap into the performance features of GWT, such as compiler optimizations, deferred binding, and Ajax optimizations. Developer performance is still an important part of GWT, so along the way, we will also show you how tweak the Google Plug-in for Eclipse to increase your productivity.
Articles 20 Oct 2009  
 
Automatically update a Web page with dynamic elements
You may know how to hide and display optional JavaServer Faces (JSF) components by using JavaScript and Cascading Style Sheets (CSS) in standard JSF components. To do this, you would first need to identify all JSF components and write them into JSF pages. But, that is impossible to do when you are developing a Web page that contains dynamic elements that are unknown until run time. With this article, learn how you can clear old UI components while automatically updating the dynamic elements of a Web page, as well as how to use Java code to add new elements and put them into their proper spot on a Web page. You'll also learn how to bind different event handlers to different dynamic elements of a Web page, how to register a listener listening to changes of server-side data to invoke a page refresh, and how to use Asynchronous JavaScript and XML (Ajax) techniques to refresh only the dynamic parts of the Web page.
Articles 13 Oct 2009  
 
Ajax in a network: Security and topology challenges of aggregating content from multiple sites in an Ajax architecture
There can be challenges when introducing Asynchronous JavaScript and XML (Ajax) programming techniques into a network environment. This article looks at security and topology scenarios that you might be trying to solve when creating Ajax style architectures that aggregate content from multiple sites. This article explores these scenarios using the IBM Tivoli Access Manager WebSEAL product in conjunction with the IBM WebSphere Application Server Feature Pack for Web 2.0 for developing Ajax style architectures for WebSphere Application Server.
Articles 30 Sep 2009  
 
Monitor home energy with AMEE
Electricity is invisible. To understand how people use it, you need to make it visible. This tutorial will show you how easy it is to build a Web-based energy monitoring system yourself, using a Current Cost real-time energy monitor and AMEE, a neutral Web-based API for energy data, combined with some XML, Ruby, Rails, and Ajax.
Tutorial 29 Sep 2009  
 
Build a RESTful Web service using Jersey and Apache Tomcat
Representational state transfer (REST) was introduced in early 2000 by Roy Fielding's doctoral dissertation. However, in the Java community, it was not standardized until JSR 311(JAX-RS) was finalized in 2008. The first release of its reference implementation is even later. In this article, I introduce Jersey, which is the reference implementation of JSR 311, by describing its essential APIs and annotations. I'll also show you how you can smoothly transfer from servlet-style services to RESTful services by integrating Jersey into Apache Tomcat.
Articles 24 Sep 2009  
 
Create a dynamic Ajax-based Web application with the WebSphere Application Server Feature Pack for Web 2.0
The IBM WebSphere Application Server Feature Pack for Web 2.0 provides a rich set of components that enable developers to easily and more efficiently build powerful Ajax-based applications. This article explains how you can build a Web application that features dynamic charts using the Feature Pack for Web 2.0. You will also see how you can combine major Web 2.0 facilities (like Dojo, Web remoting, Web messaging, JSON4J, and so on) to create a solution with a rich user experience, as well as how to integrate existing back-end services into the Ajax-style architecture.
Articles 23 Sep 2009  
 
Implement a real-time server push in Ajax applications using socket-based RIA technologies
The new range of advanced user interface (UI) applications requires some aspect of the "server-push" feature so clients can be notified immediately of any server-side changes. Unfortunately, the HTTP spec does not address the issue of any server-side initiated communication, so the server-push has traditionally been implemented through client-side polling. This technique tends to generate a lot of unnecessary traffic and non-optimized applications. Thankfully, certain Rich Internet Application (RIA) technologies do allow the opening of a dedicated socket channel, with the back-end server providing an opportunity for Asynchronous JavaScript and XML (Ajax) applications to piggyback on their APIs and implement a server push. This article explores this technique in a variety of ways, and helps you understand it well enough to begin your own implementation.
Articles 22 Sep 2009  
 
ICEfaces and Google Translate
Globalization has had an enormous impact on our lives and cultures. As a result, translation is becoming an increasingly important tool to enhance understanding between cultures. Organizations try to use Web technologies with different languages, scripts, and cultures, and developers search for new technologies that will help them create efficient applications as quickly as possible. Fortunately, JavaServer Faces (JSF) simplifies life for application developers, making it possible for them to focus on the view without needing to know the underlying markup or scripts. ICEfaces, an integrated Asynchronous JavaScript and XML (Ajax) application framework, enables Java Platform, Enterprise Edition (Java EE) application developers to easily create and deploy thin-client, rich Internet applications in pure Java code. This tutorial describes how to develop Web applications using JSF with the translation option.
Tutorial 08 Sep 2009  
 
Accessibility in Web 2.0 technology
Accessibility has become a hot topic as increased awareness and growing requirements demand that applications take into account the needs of all potential users. Accessibility covers not only the Web application, but document, desktop application and hardware, and so on. In the Web application domain, making static Web pages accessible is relatively easy. But for Web 2.0 technology, dynamic content and fancy visual effects can make accessibility testing very difficult. This article introduces the WAI-ARIA standard, which is designed to make future Asynchronous JavaScript and XML (Ajax) widgets accessible. The article also covers accessibility principles in Web 2.0 design and provides several code samples to get you started.
Articles 01 Sep 2009  
 
GWT fu, Part 1: Going places with Google Web Toolkit
Google Web Toolkit (GWT) lets you use the Java language to implement rich client user interfaces that run in a browser. In this two-part article, David Geary brings you up to speed on the latest version of GWT and shows you how to implement a desktop-like Web application.
Articles 01 Sep 2009  
 
GMaps4JSF in the JSF 2.0 Ajax world
GMaps4JSF, a JavaServer Faces (JSF) mashup library, integrates Google Maps with JSF. Using GMaps4JSF, you can construct complex street view panoramas and maps with just a few JSF tags. You can also easily attach different components to the map. This article explains how to configure GMaps4JSF inside JSF 2.0 applications, and includes a brief introduction to JSF 2.0 Ajax. Using the article, learn how you can create a simple mashup application that uses both GMaps4JSF and JSF 2.0 Asynchronous JavaScript and XML (Ajax).
Articles 25 Aug 2009  
 
Build a Web presentation application using Ajax technology, Part 1: Developing the Web UI
How does Google Docs put such amazing functionality into a Web application? They leverage Web 2.0 technologies, which provide robust functionality with relatively simple code. In this article, learn how to build a Web application to create slideshow presentations using Asynchronous JavaScript and XML (Ajax) technology.
Articles 28 Jul 2009  
 
Mashups: The new breed of Web app
Mashups are an exciting genre of interactive Web applications that draw upon content retrieved from external data sources to create entirely new and innovative services. They are a hallmark of the second generation of Web applications informally known as Web 2.0. This introductory article explores what it means to be a mashup, the different classes of popular mashups constructed today, and the enabling technologies that mashup developers leverage to create their applications. Additionally, you'll see many of the emerging technical and social challenges that mashup developers face.
Articles 24 Jul 2009  
 
Patterns + GWT + Ajax = Usability!
The Google Web Toolkit (GWT) allows for easier development of complex Web sites. When combined with certain design patterns that enhance usability and Asynchronous JavaScript and XML (Ajax), these technologies and techniques provide a smoother look and feel to your application. The result is an application closer to a traditional desktop program than to a typical Web page.
Articles 21 Jul 2009  
 
JSF 2 fu, Part 3: Event handling, JavaScript, and Ajax
JavaServer Faces (JSF) 2 Expert Group member David Geary wraps up his three-part series on JSF 2's new features. Find out how to use the framework's new event model and built-in support for Ajax to make your reusable components all the more powerful.
Articles 14 Jul 2009  
 
Feed your site with RSS and Atom
For modern Web 2.0 sites, the ability to mash up information from different sources is a plus. You can use Google Web Toolkit (GWT) to get and process XML-based news feeds such as RSS and the more modern Atom Syndication Format. In this article, explore methods to access any appropriate feed -- despite same-origin policy (SOP) limitations -- and to process the incoming XML data.
Articles 14 Jul 2009  
 
AjaXQuery
Discover how you can get the full benefit of using XQuery technology together with Asynchronous JavaScript and XML (Ajax). Your Web application will have the back-end benefit of sophisticated XML querying as well as the client-side benefit of rich presentation without the distraction of repeated requests.
Tutorial 07 Jul 2009  
 
Build RESTful Web services and dynamic Web applications with the multi-tier architecture
Continue your training on building RESTful Web services and dynamic Web applications using the multi-tier architecture. This article gives you hands-on experience on designing and building components in each tier and how the components are tied together. It provides an example of how RESTful Web services, Asynchronous JavaScript and XML (Ajax), and Spring Web Flow work together to produce a desktop-like rich and responsive Web interface. It also demonstrates how client programs such as Ruby scripts utilize the RESTful Web services to upload and download the user data from the server.
Articles 30 Jun 2009  
 
Comment lines by Kevin Haverlock: A closer look at the WebSphere Application Server Feature Pack for Web 2.0
The same technology used by IBM to create dynamic Ajax style applications is available to you through the IBM WebSphere Application Server Feature Pack for Web 2.0. Learn how some of these key features can have a big impact on your Web applications.
Articles 24 Jun 2009  
 
A multi-tier architecture for building RESTful Web services
RESTful Web services have emerged as a promising alternative to SOAP-based services due to their simplicity, lightweight nature, and the ability to transmit data directly over HTTP. In this article, get an overview of the concept of REST and RESTful Web services, and compare them to RPC-style/SOAP-based Web services. You'll also learn about Java frameworks for building RESTful Web services as well as a shared multi-tier architecture for building both RESTful Web services and dynamic Web applications.
Articles 09 Jun 2009  
 
JavaScript EE, Part 3: Use Java scripting API with JSP
In the previous two parts of this series, you've seen how to run JavaScript files on the server and how to call remote JavaScript functions with Ajax. This article explains how to use server-side JavaScript code with the JavaServer Pages (JSP) technology and how to build Asynchronous JavaScript and XML (Ajax) user interfaces that remain functional when JavaScript is disabled in the Web browser. The sample code consists of a small JSP tag library that you can reuse in your own applications as well as a dynamic Web form, which is generated with a piece of JavaScript code that can be executed on the Web server or in the Web browser.
Articles 02 Jun 2009  
 
Developing with Comet and Java
Explore the different implementations of developing with Comet. See how popular Java Web servers like Jetty and Tomcat have enabled Comet applications, and learn how to program with each server. And finally, learn about the standardization proposals for Comet in Java that are part of the upcoming Servlet 3.0 and JavaEE 6 specifications.
Articles 26 May 2009  
 
JSF 2 fu, Part 1: Streamline Web application development
With version 2.0, JavaServer Faces (JSF) makes it easy to implement robust, Ajaxified Web applications. This article launches a three-part series by JSF 2.0 Expert Group member David Geary showing you how to take advantage of the new features in JSF 2. In this installment, you'll learn how to streamline development with JSF 2 by replacing XML configuration with annotations and convention, simplifying navigation, and easily accessing resources. And you'll see how to use Groovy in your JSF applications.
Articles 12 May 2009  
 
Developing widgets with Dojo 1.x
Learn the basics of developing HTML widgets using the Dojo JavaScript toolkit. This article gives you an introduction, and provides several examples to help you in the process--starting with sample widgets and moving up to more complex widgets, while highlighting and solving the common issues you could encounter in the development phase.
Articles 28 Apr 2009  
 
XML: The bridge between GWT and PHP
Google Web Toolkit (GWT) applications, apart from connecting to servlets in time-honored Java fashion, can also use PHP Web services to send and receive data in XML. You'll explore methods to generate XML documents and process them, both in the Java language and in PHP.
Articles 07 Apr 2009  
 
Building Ajax-enabled JSP TagLib controls, Part 3: Update panel and popup dialog box controls
Build Asynchronous JavaScript + XML (Ajax) controls that can be used in business-line applications. These configurable JavaServer Pages (JSP) TagLib-based controls leverage JavaScript Object Notation (JSON), JavaScript scripting language, and Cascading Style Sheets (CSS). Because they are standard JSP TagLib controls, find out how you can easily drop them into any application to provide more intuitive and responsive user interfaces.
Articles 07 Apr 2009  
 
JavaScript EE, Part 2: Call remote JavaScript functions with Ajax
In Part 1 of this series, you learned how to use the javax.script API in Asynchronous JavaScript and XML (Ajax) and Java Platform, Enterprise Edition (Java EE) applications and how to build a Java servlet that lets you run server-side JavaScript files. This article shows how to implement a Remote Procedure Call (RPC) mechanism for Web applications that use JavaScript on both servers and clients. You'll also learn several interesting techniques, such as implementing Java interfaces with JavaScript, building an XMLHttpRequest wrapper, making Ajax debugging easier, and using JSP tag files to generate JavaScript code.
Articles 31 Mar 2009  
 
Build Comet applications using Scala, Lift, and jQuery
Web applications have gotten more and more advanced, and users are always expecting more out of them. One of the most advanced features is Comet, also known as reverse Asynchronous JavaScript and XML (Ajax) or server-side push. Comet allows for browser-based instant messaging, real-time stock quotes, and so on. Advanced Ajax libraries, such as jQuery, make it easy to write Comet applications on the client side, but getting them to scale on the server is still a challenge. That is where the Scala programming language and the Lift Web application framework can step in and deliver a scalable back end for your Comet application. In this tutorial, build a real-time Web auction using these technologies.
Tutorial 24 Mar 2009  
 
Let's chat with Ajax
Want to chat with Asynchronous JavaScript and XML (Ajax)? Wish you could have a dedicated, open source Web chat pop up in response to a system event and let you know what's happening--for example, when performance goes below the guaranteed service level? Regular developerWorks author Judith Myerson introduces the idea of a two-panel chat for systems administrators to exchange private messages on one side and broadcast messages to general users on the other side. She offers solutions for chat server overload and talks about the issues of downloading Ajax Chat, how to change configurations, and even how to add as many channels as you want.
Articles 17 Mar 2009  
 
Using E4X on the server-side with Jaxer
The ECMAScript for XML (E4X) standard gives JavaScript developers a powerful API to work with XML. As it is not supported in Internet Explorer, you might not get to use it often. That is not an issue if you use JavaScript on the server with Jaxer. In this article, you see how JavaScript and E4X make it easy to work with XML on the server. Combine this key ingredient with Jaxer to create Ajax applications using nothing but JavaScript.
Articles 03 Mar 2009  
 
Combine JSF with Dojo widgets to create a better user experience
As a mature Web framework, JavaServer Faces (JSF) provides end-to-end lifecycle management and a rich component model with complete event handling and data binding. Dojo is a popular Asynchronous JavaScript + XML (Ajax) library that provides rich widgets and fancy effects for Web2.0 applications. By leveraging JSF and Dojo technologies, you can create a better user experience by using JSF integrated features on the server side and Dojo user interfaces on the client side. This article explains this process and describes how you can easily build Web applications to give your users a better experience.
Articles 03 Feb 2009  
 
Comment lines: Kyle Brown and Rachel Reinitz: SOA lessons learned for Web 2.0
In this article, two experienced SOA architects look at the new world of Web 2.0 technologies with a critical eye and present five best practices that can help you be more successful in adopting Ajax, REST, and other Web 2.0 technologies as part of your SOA.
Articles 28 Jan 2009  
 
Building a 21st century user interface, Part 1: Your app's competition... isn't who you think
For years, the Web has been touted not just as a place for the programmers and alpha-geeks, but a community where even grandmothers and five-year-olds are shopping, gaming, and socializing. As more people come to the Internet daily, the demand for usable applications just grows -- although even most programmers still couldn't really explain what "usable" really means. So what's a usable application? More importantly, how do you build applications that feel usable, intuitive, and satisfying to today's typical Internet user, one who's nothing at all like you, the programmer tasked with actually designing and building the application?
Articles 27 Jan 2009  
 
Speed up your Web pages
Do you want faster-loading Web pages? Learn how you can make the browsing experience better for dial-up users by reducing loading times by as much as 80 percent, in some cases.
Articles 27 Jan 2009  
 
Localized client-side validation messaging using Ajax
When building a Web application that caters to users across the globe, there are two points to consider: internationalized/localized page content and validation of user inputs and message displays. While you can easily build an internationalized version of the page using resource bundles (locale-specific property files) on the server side, it is very difficult to display internationalized validation messages when the validation is being done at the client side. Using Asynchronous JavaScript + XML (Ajax) is one option to make your life easier. This article discusses using Ajax and resource bundles together to make the process of internationalized/localized client-side validation messaging a little easier.
Articles 13 Jan 2009  
 
JavaScript EE, Part 1: Run JavaScript files on the server side
Combine JavaScript with Java code on the server to get the freedom to use the same JavaScript routines on both servers and clients. In addition, the techniques presented throughout this series will allow you to maintain a single code base for both Ajax and non-Ajax clients. Because much of the server-side code would still be written in the Java language, you'll find it necessary to expose the Java Platform, Enterprise Edition (Java EE) features to JavaScript. In this series, learn how to run JavaScript files on the server side, call remote JavaScript functions with Ajax, and use the Java Scripting API with the JavaServer Pages (JSP) technology.
Articles 16 Dec 2008  
 
Building Ajax-enabled JSP TagLib controls, Part 2: Auto-populate and field validator controls
Build Asynchronous JavaScript + XML (Ajax) controls that can be used in business-line applications. These configurable JavaServer Pages (JSP) TagLib-based controls leverage JavaScript Object Notation (JSON), JavaScript scripting language, and Cascading Style Sheets (CSS). Because they are standard JSP TagLib controls, find out how you can easily drop them into any application to provide more intuitive and responsive user interfaces.
Articles 25 Nov 2008  
 
Mastering Grails: Asynchronous Grails with JSON and Ajax
JavaScript Object Notation (JSON) and Asynchronous JavaScript + XML (Ajax) are staples of Web 2.0 development. In this installment of the Mastering Grails series, author Scott Davis demonstrates the native JSON and Ajax capabilities baked into the Web framework.
Articles 18 Nov 2008  
 
The Abstract User Interface Markup Language Web Toolkit: An AUIML renderer for JavaScript and Dojo
Get an overview of the Abstract User Interface Markup Language (AUIML) Web Toolkit (AWT). Learn how the AWT makes it possible to develop Web 2.0 interfaces quickly and easily by merging the ease-of-use and expressiveness of the AUIML visual designer with the versatility of the Dojo toolkit. Rapid development of user interfaces is made possible thanks to the AUIML visual editor and also because of the availability of a number of ready-to-use patterns. Experience has shown that the combination of these two factors provide a significant increase in productivity, and this is even more true considering the fact that, currently, there is no comparable technology that targets a Dojo interface.
Articles 18 Nov 2008  
 
Standardize displays on Web portals running on Firefox3 and Internet Explorer 7
Do Firefox3 and Internet Explorer 7 look different? What's the best way to get these browsers to behave the same way? Should you use pixels or em values? Regular developerWorks author Judith M. Myerson shows you how to standardize displays on Web portals running on Firefox and IE. She gives tricks and tips for using em values to make the job of developing the contents of portals, including Asynchronous JavaScript + XML (Ajax) applications, much easier.
Articles 11 Nov 2008  
 
Wicket: A simplified framework for building and testing dynamic Web pages
Wicket provides an object-oriented approach toward developing dynamic Web-based UI applications. Because Wicket is pure Java and HTML code, you can leverage your knowledge of Java programming to write applications based on Wicket, dramatically reducing your development time. This article gives you an overview of Wicket and describes how you can use Wicket to rapidly build Web-based applications in a non-intrusive and simplified way.
Articles 04 Nov 2008  
 
Working with jQuery, Part 3: Rich Internet applications with jQuery and Ajax: JQuery: Building tomorrow's Web apps today
JQuery is emerging as the JavaScript library of choice for developers looking to ease their creation of dynamic Rich Internet Applications. As browser-based applications continue to replace desktop applications, the use of these libraries will only continue to grow. Get to know jQuery in this series of articles that takes a look at JQuery and how you can implement it in your own Web application projects.
Articles 28 Oct 2008  
 
Build a stylish image gallery using Lightbox 2 and JavaScript
The Web has increasingly become a medium for showing off art. From candid snapshots taken by an amateur photographer to professional art galleries, Web pages are primary vehicles for displaying images. But a beautiful image is hindered--or aided--by its frame. Using a simple JavaScript library, you can "frame" your online images beautifully and provide an intuitive user interface along the way.
Articles 28 Oct 2008  
 
Dojo concepts for Java developers
Dojo is being used more and more in Web-based applications. Many developers have strong skills in Java programming, but only limited experience in JavaScript. They can struggle with the conceptual leap from a strongly typed, object-oriented compilation language to a dynamic, weakly typed scripting language. This confusion can make it difficult for developers to correctly declare Dojo classes. This article helps clear up this confusion, shows why it may be necessary to set context, and describes how to go about it.
Articles 14 Oct 2008  
 
Develop a dynamic location-based mashup
Mashups are a new, highly interactive Web development methodology. Essentially a mix of related content put together from disparate sources, mashups provide rich dynamic content for a superb user experience. Getting Asynchronous JavaScript + XML (Ajax) and mashup chops into your development toolbox will benefit you with high demand in the evolving Web 2.0 workspace.
Tutorials 07 Oct 2008  
 
High-performance Ajax with Tomcat Advanced I/O
Using Non-Blocking I/O (NIO) improves server performance drastically because of its efficient use of system resources (threads). The gain in performance is noticeable in Asynchronous JavaScript + XML (Ajax) applications with long polling mechanisms. It also lets you control system-resource usage on a server under pressure. This article explains how to optimize your server for performance during the handling of both Ajax and regular requests.
Articles 30 Sep 2008  
 
Creating modular interactive user interfaces with JavaScript
Discover a technique that lets you move sections of a Web page using drag-and-drop functions. Different aspects of the interactivity are implemented separately and then composed into a unified whole, allowing for flexible customization that can make your Web users very happy.
Articles 23 Sep 2008  
 
Build a simple WYSIWYG Web page editor
Explore a simple Asynchronous JavaScript + XML (Ajax) system that lets your users assemble pages by adding and arranging pre-made widgets. Many sites provide this kind of functionality, but this easy-to-use system lets you do it on your own site and provides a simple library for creating new widgets.
Articles 16 Sep 2008  
 
Building Ajax-enabled auto-complete and cascading drop-down controls
Build Asynchronous JavaScript + XML (Ajax) controls that can be used in business-line applications. These configurable JSP TagLib-based controls leverage JavaScript Object Notation (JSON), JavaScript, and CSS. Because they are standard JSP TagLib controls, find out how you can easily drop them into any application to provide more intuitive and responsive user interfaces.
Articles 09 Sep 2008  
 
Build Ajax-based Web sites with PHP
Learn the process of writing Asynchronous JavaScript + XML (Ajax) applications using native JavaScript code and PHP. This article introduces a few different frameworks and application program interfaces (APIs) that reduce the amount of code you need to write to achieve a complete Ajax-based Web application.
Articles 02 Sep 2008  
 
Build Ajax applications using the first real Ajax server: Aptana Jaxer
Get acquainted with Jaxer, the first true Asynchronous JavaScript + XML (Ajax) server. Jaxer makes it possible to execute JavaScript code, Document Object Model (DOM), and HTML on the server side as well as giving you the ability to access server-side functions asynchronously from the client side. This article describes the features of Jaxer and shows the great potential that Jaxer has to offer, even in its infancy.
Articles 26 Aug 2008  
 
Get Nagios for your Ajax applications
Bottlenecks with hosts, services, and networks can be costly. To ensure Service Level Agreement (SLA) guarantees, Ajax applications must be monitored remotely over the networks. In this article, learn how to quickly install and start Nagios, an open source host, service, and network monitoring program, and discover how it can help. Learn how to monitor redundancy and failover, and get some Nagios-based products you can use to solve environmental and network problems.
Articles 12 Aug 2008  
 
Develop AJAX applications like the pros, Part 3: Use DWR, Java, and the Dojo Toolkit to integrate Java and JavaScript
Quick, how many Java Web development frameworks, libraries, and toolkits can you name? The are so many out there that it can be overwhelming just trying to figure out what does what and which one can actually help you solve your problems. However, if you are doing Ajax development, there is one library that you absolutely need to know: Direct Web Remoting (DWR). This library leverages the Java language and Java Web technologies to greatly simplify Ajax development. It has set the standard for how to integrate Ajax seamlessly into a Java web application. In fact, DWR joined the Dojo foundation, a broad coalition of popular, open source Ajax technologies. In this article, see just how easy Ajax can be using DWR.
Articles 05 Aug 2008  
 
Ajax and Java development made simpler, Part 4: Create JSF-like components, using JSP tag files
JavaServer Pages (JSP) and JavaServer Faces (JSF) used to have different variants of the Expression Language (EL). Their unification in JSP 2.1 opened new possibilities, allowing you to use deferred values and deferred method attributes in your custom JSP tags. This article shows how to develop Java Web components based on JSP tag files, which are much simpler and easier to build than the JSF components.
Articles 29 Jul 2008  
 
Ajax overhaul, Part 4: Retrofit existing sites with jQuery and Ajax forms
Ajax techniques have changed the face of large, commercial Web applications, but many smaller Web sites don't have the resources to rebuild their entire user interface overnight. New features should justify their costs by solving real-world interface problems and improving user experience. With this series, you've been learning to modernize your UI incrementally using open source, client-side libraries. In this installment, learn to transform a multistep checkout process from a series of sequential forms into a single-screen interface using Ajax techniques. You do so using the principle of progressive enhancement, ensuring that your site remains accessible to all sorts of user-agents.
Articles 29 Jul 2008  
 
Ajax and Java development made simpler, Part 3: Build UI features based on DOM, JavaScript, and JSP tag files
In the first part of this series, you saw how to generate JavaScript code for sending Ajax requests and processing Ajax responses. The second part showed how to create HTML forms, using conventions and JSP tag files to minimize setup and configuration. In this third part of the series, you'll learn how to develop client-side validators based on JavaScript as well as server-side validators, which are implemented as JSP tag files backing up their JavaScript counterparts. You'll also learn how to use resource-bundles that are reloaded automatically when changed, without requiring the restart of the application.
Articles 22 Jul 2008  
 
Integrating Flex into Ajax applications
Traditional Ajax development continues to be the leading method for producing rich Internet applications (RIAs). However, the popularity of Adobe Flex cannot be ignored. This article introduces the Adobe Flex Ajax Bridge (FABridge), a code library that enables an easy and consistent method for integrating Ajax and Flex content. By the end of this article, you'll be able to take advantage of the rich features available through Flash assets.
Articles 15 Jul 2008  
 
Ajax overhaul, Part 3: Retrofit existing sites with jQuery, Ajax tabs, and photo carousels
Ajax techniques have changed the face of large, commercial Web applications, but many smaller Web sites don't have the resources to rebuild their entire user interface overnight. New features should justify their costs by solving real-world interface problems and improving user experience. This series is teaching you to modernize your user interface incrementally using open source, client-side libraries. In this installment, you learn to turn slow, messy, annoying product-details pages into fast, elegant ones using DHTML and Ajax. You do so using the principle of progressive enhancement, ensuring that your site remains accessible to all sorts of user-agents.
Articles 08 Jul 2008  
 
Build Ajax applications with Ext JS
Ext JS is a powerful JavaScript library that simplifies Asynchronous JavaScript + XML (Ajax) development through the use of reusable objects and widgets. This article introduces Ext JS, providing an overview of the object-oriented JavaScript design concepts behind it, and shows how to use the Ext JS framework for rich Internet application UI elements.
Articles 01 Jul 2008  
 
Develop Ajax applications like the pros, Part 2: Using the Prototype JavaScript Framework and script.aculo.us
Are you building a Web application? Is it supposed to look more like cragislist or flickr? If the answer is the former, then you can probably skip this article. Still reading? Well you are in luck. In this article, Part 2 of a three-part series on JavaScript libraries, you will see how to use the Scriptaculous JavaScript library to enhance your Web applications.
Articles 24 Jun 2008  
 
Track spatial objects with an Ajax-driven radar screen
Maybe you're trying to keep track of the traffic waiting for you on the commute home, or perhaps you're tracking the objects and people floating around Second Life or another virtual world. Wouldn't it be nice if you could track that kind of thing right from your browser? This tutorial shows you how to use Ajax to create an animated, self-updating radar screen.
Tutorials 17 Jun 2008  
 
Create reusable and redistributable components with Dojo and AJAX
In this article, learn to use Dojo and Ajax to develop reusable components that can easily be integrated with core applications. A a step-by-step example shows how to develop a Web application that adds mailing capabilities to an existing blogging application, generates mailing widgets, and handles intricacies of cross domain communication.
Articles 10 Jun 2008  
 
Ajax security tools
Certain vulnerabilities within Ajax applications can allow malicious hackers to reek havoc with your applications. Identity theft, unprotected access to sensitive information, browser crashes, defacement of Web applications, and Denial of Service attacks are just a few of the potential disasters Ajax applications can be prone to and which developers need to guard against when building Ajax capabilities into their applications. Regular developerWorks author Judith Myerson suggests some application-strengthening tools, including Firefox tools and add-ons, which you can use to improve or solve security problems within your Ajax applications.
Articles 27 May 2008  
 
Ajax and Java development made simpler, Part 2: Use conventions to minimize setup and configuration
Most Web frameworks try to be as flexible and extensible as possible to accommodate different application needs and development styles. Unfortunately, sometimes this leads to complexity, processing overheads, and large configuration files. This article shows how to use JSP Standard Tag Library (JSTL) and JSP tag files to implement data binding, page navigation, and style conventions, which make both development and maintenance easier. You will learn how to build custom JSP tags with dynamic attributes to facilitate rapid application changes. In addition, the last section of the article contains an example that uses Ajax to submit a Web form.
Articles 20 May 2008  
 
Plants by WebSphere gets a Web 2.0 makeover
Plants by WebSphere is a traditional demonstration Web application for IBM WebSphere Application Server that illustrates commerce functionality, such as product management, shopping cart, and purchase processing. With the release of the WebSphere Application Server Feature Pack for Web 2.0, a new level of user interaction is now possible, enabling Web applications to be more robust and even as responsive as desktop applications. This article discusses the technologies and techniques you can leverage from the Feature Pack for Web 2.0 to “remake” the Plants By WebSphere application to be Web 2.0 ready, with UI redesign, RESTful interactions, plus community and user participation.
Articles 14 May 2008  
 
Develop Ajax applications like the pros, Part 1: Using the Prototype JavaScript library and script.aculo.us
If you're developing Web applications these days, then you're doing Ajax development. Ajax is no longer something unusual that you add to your applications in special cases. It has become an integral part of Web development. To some, enhancing applications with Ajax used to be a tricky proposition. Cross-browser limitations to deal with, writing a lot of complicated JavaScript, and learning about magic numeric codes within that JavaScript were just a few of the challenges facing Ajax developers. Thankfully, several open source JavaScript libraries are available now to make things much easier. In this first article in a three-part series, you will create an Ajax application for managing songs using the Prototype JavaScript library and script.aculo.us.
Articles 13 May 2008  
 
Performance Ajax tools
Wasting server resources can impact the performance of Ajax applications, resulting in excessive HTTP requests, high memory consumption, and the need for an unusual amount of polling to make applications work. Regular developerWorks author Judith Myerson suggests some open source tools and Firefox add-ons you can use to improve or solve problems with your Ajax applications.
Articles 13 May 2008  
 
Ajax overhaul, Part 2: Retrofit existing sites with jQuery, Ajax, tooltips, and lightboxes
Asynchronous JavaScript + XML (Ajax) techniques have changed the face of large, commercial Web applications, but many smaller Web sites don't have the resources to rebuild their entire user interface (UI) overnight. New features should justify their costs by solving real-world interface problems and improving user experience. With this series, learn to modernize your UI incrementally using open source, client-side libraries. In this installment, you learn to eliminate pop-up windows and navigational dead ends using simple lightbox and tooltip techniques. You learn to do so using the principle of progressive enhancement, guaranteeing that advanced UI features don't hamper your site's accessibility and adherence to Web standards.
Articles 06 May 2008  
 
Debug and tune applications on the fly with Firebug
Why are your Web pages taking so long to load? Did you ever want to inspect or edit HTML while browsing? Tweak CSS instantly? In this article, learn to use Firebug, a free, open source extension for the Firefox browser that provides many useful developer features and tools. Using Firebug, you can monitor, edit, and debug live pages, including HTML, CSS, JavaScript code, and network traffic. Read on to learn how to speed up the tasks of debugging and tuning your Web and Ajax applications with Firebug.
Articles 06 May 2008  
 
Create an Ajax-based IM client
The ability to instant message (IM) co-workers and friends is a great convenience, but some environments prohibit the use of instant messaging clients in the workplace due to security concerns. The exercise in this tutorial resolves any security concerns by showing you how to use Ajax to create a Web-based IM client that turns IM traffic into plain Web traffic by creating an instant messaging "bot" and a corresponding Web application. While it's not a production application, it demonstrates several nifty Ajax techniques, such as how to use Prototype to do easier DOM manipulation and how to easily update sections of a Web page, either once or repeatedly.
Tutorials 29 Apr 2008  
 
Ajax performance analysis
Asynchronous JavaScript + XML (Ajax) continues to raise user expectations for interactivity and performance, and developers are increasingly treating Ajax as a must-have component of their Web applications. As more code is moved client side and the network model changes, the community is responding by building more tools to address the unique performance challenges of Ajax. Examine toolsets that find and correct performance problems within your Ajax-enriched applications.
Articles 24 Apr 2008  
 
Mastering Grails: Many-to-many relationships with a dollop of Ajax
Many-to-many (m:m) relationships can be tricky to deal with in a Web application. In this installment of Mastering Grails, Scott Davis shows you how to implement m:m relationships in Grails successfully. See how they're handled by the Grails Object Relational Mapping (GORM) API and the back-end database. Also find out how a bit of Ajax (Asynchronous JavaScript + XML) can streamline the user interface.
Articles 15 Apr 2008  
 
Ajax and Java development made simpler, Part 1: Generate JavaScript code dynamically with JSP tag files
Many Web developers complain that Java EE is too complex, building new Web components is difficult, customizing the existing ones is not as easy as it should be, and minor changes require application restarts. This series presents simple solutions to these problems, using code generators, conventions, scripting languages, and the latest JavaServer Pages (JSP) features. You will learn how to build reusable Ajax and Java components based on JSP tag files, which are very easy to develop and deploy. When changed, JSP tag files are recompiled automatically by the Java EE server without having to restart the application. In addition, you fully control the generated code, and you are able to easily customize these lightweight components because they use the JSP syntax.
Articles 08 Apr 2008  
 
An introduction to RichFaces
Today's clients want and have begun to expect desktop features in browser-based applications. RichFaces is one of a new breed of user interface component suites available for Java Server Faces (JSF). Among other benefits, RichFaces provides built-in JavaScript and Ajax capabilities to meet those expectations. Joe Sam Shirah adds some new tools to your kit based on experiences with a recent field project, including general setup for using RichFaces with Facelets, and several specific component examples
Articles 25 Mar 2008  
 
XML processing in Ajax, Part 3: JSON and avoiding proxies
Ajax-style server calls don't necessarily require XMLHttp requests. This last installment of the series uses a public Web service, JavaScript Object Notation (JSON), and dynamic script tags in a final approach to the weather badge project.
Articles 18 Mar 2008  
 
Create Ajax-style architectures with the IBM Web 2.0 Feature Pack
This article shows you how a Java(tm) 2 Platform, Enterprise Edition (J2EE) application was enhanced with an Ajax-style architecture by using the IBM(R) WebSphere(R) Application Server Feature Pack for Web 2.0. Learn how to combine Ajax-style architectures with an existing application without having to rewrite the entire Web application. You'll also discover some ideas on how to apply the Web 2.0 Feature Pack to your own J2EE applications for IBM WebSphere Application Server.
Articles 18 Mar 2008  
 
Must-have tools for HTML, JavaScript and AJAX development and debugging
Use the best open source tools to work with Web pages, scripts, and styles, and make development of new sites and pages easy. Inspect and modify HTML markup, CSS, and JavaScript on the fly, inspect the DOM and client-server communications, and learn how bookmarklets can make development safer and easier.
Articles 11 Mar 2008  
 
Ajax and XML: Ajax for tables
One strong suit of Asynchronous JavaScript + XML (Ajax) is presenting data from the server to users in a dynamic fashion. Discover several techniques that use Ajax for dynamic data display using tables, tabs, and gliders.
Articles 11 Mar 2008  
 
XML processing in Ajax, Part 2: Two Ajax and XSLT approaches
In Part 2 of this series, Mark Pruett presents two more approaches to the Asynchronous JavaScript + XML (Ajax) weather badge. Both approaches use Extensible Stylesheet Language Transformation (XSLT) transformations -- one on the server side and the other in the browser.
Articles 11 Mar 2008  
 
XML processing in Ajax, Part 1: Four approaches
Any programming problem can be solved in multiple right ways. This series looks at four approaches for creating an Asynchronous JavaScript + XML (Ajax) weather badge, a small reusable widget that's easily embedded on any Web page. This first article lays the foundation and examines the first approach -- walking the DOM tree.
Articles 04 Mar 2008  
 
Ajax overhaul, Part 1: Retrofit existing sites with Ajax and jQuery
This first article in a series on overhauling existing sites with Asynchronous JavaScript + XML (Ajax) shows you how to eliminate pop-up windows and navigational dead-ends with simple modal windows.
Articles 04 Mar 2008  
 
Comment lines: Roland Barcia: Improve initial download time of your Dojo applications
Once an Ajax application is loaded, it subsequently fetches smaller fragments of data and content to avoid the overhead of re-rendering the entire page, thus improving performance. The tradeoff that enables this to happen is that the initial download of your application will usually take longer. This article looks at ways you can reduce the initial download time of your Dojo applications and still get great performance.
Articles 27 Feb 2008  
 
Create your own information space with Ajax and del.icio.us
del.icio.us is a social bookmarking Web site that allows users to create and share browser-independent bookmarks, accessible directly over the Internet, in ways your browser won't allow. The traditional hierarchical organization of browser bookmarks is overhauled, allowing users to instead associate each and every bookmark with any number of descriptive tags. Imagine a single page where you and your friends can surf the Web and have your del.icio.us tags, links, and functions handy, or a single page where you can save the site you're browsing directly into your del.icio.us account, along with comments and chosen tags. This tutorial shows you how to use Ajax to build just such a page using a PHP script as the server-side proxy.
Tutorials 26 Feb 2008  
 
Create an Ajax mindreader application with E4X and Prototype, Part 2: Make the mindreader smarter
In this two-part article series, you learn to use both ECMAScript for XML (E4X) and the Prototype JavaScript library to create a simple Ajax mindreader application that plays Twenty Questions and learns about new objects as it goes along. In Part 1, you learned to create a system that takes an existing knowledge base and analyzes it to determine what the user might be thinking. Now in Part 2, you'll learn to add new information to the knowledge base, and to use the Prototype JavaScript library to integrate the Twenty Questions application with an external database so training by one user is usable by others who play the game.
Articles 19 Feb 2008  
 
Create an Ajax mindreader application with E4X and Prototype, Part 1: Build the Twenty Questions infrastructure
XML seems like a natural format for passing Ajax data. However, to work with XML in JavaScript using the Document Object Model (DOM) is not always the best way to handle this kind of data. This has given rise to other choices, such as JSON, which provide a more object-like feel for developers. Now ECMAScript for XML (E4X) combines many of the best features of the DOM with extremely easy data binding to provide a more straightforward way to deal with XML in the browser. In this two-part article series, you'll learn to use both E4X and the Prototype JavaScript library to create a simple Ajax mindreader application that plays Twenty Questions and learns about new objects as it goes along. Part 1 shows you how to create a system that takes an existing knowledge base and analyzes it to determine what the user may be thinking.
Articles 12 Feb 2008  
 
Craft Ajax applications using JSF with CSS and JavaScript, Part 2: Dynamic JSF forms
In the first article of this two-part series, author and Java developer Andrei Cioroianu showed how to use the style attributes of JavaServer Faces (JSF) components and how to set up default values for those attributes. In this second installment of the series, learn how to exercise the JavaScript-related attributes of standard JSF components. Learn several Web techniques based on the Document Object Model (DOM) APIs, JavaScript, and Cascading Style Sheets (CSS). See how to hide and display optional JSF components without refreshing a Web page, how to implement client-side validation that is executed in the Web browser, and how to develop a custom component that displays help messages for the input elements of a Web form.
Articles 12 Feb 2008  
 
Where and when to use Ajax in your applications
Ajax has changed the way Web applications are made. Learn how you can use Ajax to improve your Web sites while avoiding bad user experiences.
Articles 05 Feb 2008  
 
Craft Ajax applications using JSF with CSS and JavaScript, Part 1: Enhance the appearance of your JSF pages
Typical Web applications require the use of Cascading Style Sheets (CSS) and JavaScript, together with a server-side framework, such as JavaServer Faces (JSF). CSS lets you change the visual characteristics of Web components within Ajax and other applications so they can have a pleasant and distinctive look. In the first installment of this two-part series, find out how to use the CSS-related attributes of standard JSF components. In addition, learn how to create a custom JSF component that sets the default styles of nested components, making it very easy to ensure a consistent look for all pages of your Web application. You can also use this technique to programmatically set other component attributes, as you'll see in Part 2, which will show how to make JSF forms more dynamic using JavaScript.
Articles 29 Jan 2008  
 
Ajax and XML: Ajax for forms
Augmenting your HTML forms with Ajax callbacks to the server is a practical way to add Web 2.0 functionality to your application. Discover a variety of techniques to add Ajax code and enhance the user experience for PHP applications.
Articles 22 Jan 2008  
 
Build a customizable RSS feed aggregator in PHP
RSS (Rich Site Summary, RDF Site Summary, or Really Simple Syndication) has been around since the mid-1990s. Over the years, several variants of the RSS format have popped up and several claims have been made about its ownership. Despite these differences, RSS never ceased to serve its usefulness in distributing Web content from one Web site to many others. The popularity of RSS gave way to the growth of a new class of Web software called the feed reader, also known as the feed aggregator. Although there are several commercially available feed aggregators, it's easy to develop your own feed aggregator, which you can integrate with your Web applications. You'll appreciate this article's fully functional PHP code snippets, demonstrating the use of PHP-based server-side functions to develop a customizable RSS feed aggregator. In addition, you'll reap instant benefits from using the fully functional RSS feed aggregator code, which you can download from this article.
Articles 22 Jan 2008  
 
Create dynamic Firefox user interfaces
When you create browser-based applications that display XML data feeds, you often need to code the data-retrieval mechanism and the user interface. Mozilla Firefox provides an infrastructure that frees you from these tasks, so you can concentrate on your application's functionality. Learn how to use Asynchronous JavaScript + XML (Ajax) to download XML data from a Web server, and discover how you can use Extensible Stylesheet Language Transformations (XSLT) to transform it dynamically into Firefox user-interface elements expressed in XML User Interface Language (XUL). You can apply these techniques to any application that uses XML data sources.
Tutorials 15 Jan 2008  
 
Generate Ajax J2EE Web applications with jpa2web
Learn about, try, and contribute to a new open source tool -- jpa2web -- which generates J2EE Ajax-based Web applications from JPA-annotated beans. Using the ZK framework, the applications generated by this tool allow your users to add, delete, search, modify, and interconnect instances of database-synchronized objects in a friendly, Ajax-based Web user interface.
Articles 15 Jan 2008  
 
Solid Ajax applications, Part 2: Building Ajax back ends
Back end processing -- server-side scripts and programs -- can't always be tossed into an Ajax application and behave well. Instead, careful planning to ensure data is sent in an appropriate and efficient form ensures your entire application is cohesive, rather than needlessly complex. Brett McLaughlin explains how a good server-side script complements Ajax behavior.
Articles 15 Jan 2008  
 
  1 - 100 of 202 results    Next   Show All   Hide Summaries
Not finding what you're looking for? Suggest Content