Ajax Web development and Java client programs
Creating dynamic, interactive Web applications requires advanced programming techniques. Ajax Web development is one such technique. Ajax, which derived from a portmanteau of Asynchronous JavaScript and XML, allows developers to create client platforms and applications that can update and interact with users without requiring the client side to refresh. Ajax works well with Java development platforms. Find out more about Ajax Web development and related concepts in this topic section with our valuable news, tips and resources.
Top Stories
-
Tutorial
30 Mar 2022
An example of how suppressed exceptions in Java work
Don't ignore suppressed exceptions. In this quick tutorial we show you how to anticipate when code will throw suppressed exceptions, along with the best practices to handle them. Continue Reading
-
Quiz
24 Jan 2022
12 tough Bootstrap 5 quiz questions for web developers
Just how well do you know Bootstrap 5? These 12 tough Bootstrap quiz questions will test your mettle. Continue Reading
-
Tutorial
30 Mar 2022
An example of how suppressed exceptions in Java work
Don't ignore suppressed exceptions. In this quick tutorial we show you how to anticipate when code will throw suppressed exceptions, along with the best practices to handle them. Continue Reading
-
Blog Post
07 Feb 2022
Node.js file upload example with Ajax and JavaScript
The Node.js file upload process is made easy with libraries like 'fs' and 'formidable.' In this JavaScript and Node.js file upload example, we show you how to move files from the browser to the ... Continue Reading
-
Quiz
24 Jan 2022
12 tough Bootstrap 5 quiz questions for web developers
Just how well do you know Bootstrap 5? These 12 tough Bootstrap quiz questions will test your mettle. Continue Reading
-
Blog Post
28 Dec 2021
Spring Boot file upload example with Ajax
Do you need to find a Spring Boot file upload that uses Ajax and works with Spring MVC web apps? This example uses HTML5 file input fields and a pure JavaScript Ajax call to accomplish the task. Continue Reading
-
Blog Post
27 Dec 2021
Simple Ajax file upload with pure JavaScript example
Do you need to perform an Ajax file upload with pure JavaScript? This example lays out the steps to accomplish an Ajax file upload without the need for a JavaScript library like jQuery or Dojo. Continue Reading
-
Blog Post
24 Dec 2021
Create an HTML5 and PHP file upload form for Apache example
It's easier than ever for a developer to upload a file with PHP and HTML5 to an Apache web server. This example shows how to create an HTML and PHP file upload component that will work in any ... Continue Reading
-
Blog Post
23 Dec 2021
Java file upload by example with Servlets & JSPs
It's not that hard to perform Java file uploads. The new Servlet and JSP API, along with HTML5 input form enhancements, make Java file uploads, both synchronously and asynchronously with Ajax, ... Continue Reading
-
Blog Post
29 Apr 2021
Java's main function explained with examples
Here's the anatomy of Java's main method. An anachronism with the rise of Servlets and JSPs, Spring Boot and Eclipse Microservice developers are seeing more of Java's main function as apps are ... Continue Reading
-
Tutorial
18 Nov 2020
An Apache Commons FileUpload example and the HttpClient
In this article you will have a look at the capabilities of the HttpClient component and also some hands-on examples. Continue Reading
-
Feature
12 Oct 2020
5 helpful tips to reduce webpage load time, improve performance
Nobody wants to wait for a webpage to load. Follow these tips to reduce website load time and improve the user experience for a better online persona. Continue Reading
-
Blog Post
13 Sep 2020
Use the Struts jQuery plugin to simplify Ajax request cycles example
The Struts 2 Ajax template is deprecated, but the Strut jQuery plugin is a more than capable replacement. In this Struts jQuery tutorial we show you how to integrate Ajax calls into your modern ... Continue Reading
-
Blog Post
12 Aug 2020
Struts 2 development with the Eclipse IDE tutorial
The combination of Apache Struts and Eclipse makes for a powerful development environment. Learn how to integrate the two open source tools and get developing Java web applications quickly. Continue Reading
-
News
08 Jun 2020
Dojo Toolkit 7 focuses on JavaScript developer productivity
Dojo Toolkit version 7 is now available. The widely used, mature JavaScript framework favored by enterprise shops gains more features for developer productivity. Continue Reading
-
Feature
19 Mar 2020
6 top webpage performance metrics to monitor
Webpage performance is paramount for digital success. To monitor webpage performance, use these top six metrics. Continue Reading
-
Feature
28 Feb 2020
Take advantage of these 5 benefits of server-side rendering
From performance improvements to browser compatibility, here are five reasons why you should use server-side rendering technologies in your next web project. Continue Reading
-
Tip
28 Feb 2020
5 tips to reduce webpage weight and improve user experience
A slow landing page makes a bad first impression for any potential website visitor. Here are five tips to improve the page and increase page load speeds. Continue Reading
-
Tip
25 Feb 2020
CSS performance optimization in 5 easy steps
Here are five CSS performance tips to help you avoid website performance problems. Continue Reading
-
Blog Post
24 Feb 2020
Top 5 benefits of client-side rendering frameworks
As the name of this site implies, we're big advocates of server-side technologies. But we also recognize that integrating client-side technologies into the web architecture can be advantageous as ... Continue Reading
-
Blog Post
21 Feb 2020
Easy JavaScript performance optimization tips for a speedy site
JavaScript can deliver highly interactive websites that actively engage the user in a way HTML alone never could. However, the increased engagement levels come with a performance cost that can ... Continue Reading
-
Blog Post
21 Feb 2020
Top 3 website performance issues and how to fix them
It's amazing how even in 2020, you can visit an established organization's homepage, only to encounter serious website performance issues that could easily be fixed if the developers and designers ... Continue Reading
-
Blog Post
08 Nov 2019
Change how you present technical training for better value
More often than not, technical training misses the mark. You need to better understand how we ingest information through Bloom's educational taxonomy to get the most value out of your training ... Continue Reading
-
Feature
23 Apr 2019
Five RESTful web service client examples for developers
Explore your web service client invocation options with these five examples that enable developers to perform this task at any stage of development. Continue Reading
-
Feature
18 Dec 2018
Recent open source flaw highlights danger of social engineering hacks
What happens when open source developers hand the keys of their project over to a new maintainer? It can expose applications to serious security threats. Continue Reading
-
Blog Post
30 Nov 2018
DeepCode and AI tools poised to revolutionize static code analysis
Find out how AI promises to dramatically reshape the way developers analyze code for bugs, security issues, and performance improvements. Continue Reading
-
Feature
01 Sep 2018
New CDNs bring edge JavaScript to the app performance world
With content distribution networks loaded with edge JavaScript, Cloudfare promises to improve application performance and reducing resource consumption. Continue Reading
-
Feature
20 Apr 2018
New IDE tools to visualize code may accelerate app dev
IDE tools for code visualization have always been difficult to implement. But given the benefits, new tools have emerged to make it possible to easily visualize your code. Continue Reading
-
Tutorial
16 Jan 2018
What Java developers need to know about TypeScript syntax
For Java developers transitioning into JavaScript frameworks, like React and Angular, this TypeScript tutorial on syntax will help make the transition easier. Continue Reading
-
Feature
20 Nov 2017
How to solve JavaScript and Java performance issues
Given the complexity of client side user interfaces, along with the often limited processing power of many mobile devices, finding out ways to address JavaScript and Java performance challenges is a priority. Continue Reading
-
Feature
28 Sep 2017
JavaEE 8 and Java 9 trending large at JavaOne 2017
What are the big trends in the Java world today? Just look at the JavaOne 2017 schedule and you'll see it goes way beyond just JavaEE 8 and the new Java 9 release. Continue Reading
-
Feature
25 Jul 2017
React and Angular frameworks speeding up JavaScript performance
New JavaScript frameworks, like React and Angular, are changing the way web and mobile UIs are developed, with performance being one of their strongest traits. Continue Reading
-
Opinion
24 Mar 2017
Does reading XML while writing JSON make me a bad person?
I'm always writing JSON code, loving its flexibility and forgiveness. But when I call an external service, I want to be reading XML. Does that make me a bad person? Continue Reading
-
Feature
16 Jan 2017
Web application performance tips from the wolves on Wall Street
If you are having web application performance problems, here are some tips from the IT experts working Wall Street. Continue Reading
-
Feature
27 Oct 2016
SVG graphics and HTML5 key to creating consistent UIs across devices
Find out how new libraries and tools promise to bring a consistent UI with SVG graphics in HTML5 development. Continue Reading
-
Feature
25 Oct 2016
JavaScript framework AngularJS continues to simplify UI development
The easiest way to simplify UI development? Use a powerful JavaScript framework like AngularJS. Continue Reading
-
News
08 Apr 2016
Designing Web apps and Web UIs for software developers
Interested in designing Web apps? Here are some UX design tips that will garner them great feedback when they finally test the Web UIs they develop. Continue Reading
-
News
22 Mar 2016
Reactive programming is all the rage at Fluent 2016
Find out why Microsoft's Matthew Podwysocki said he believes good reactive programming means developers embrace the Observable design pattern and create reliable, asynchronous systems. Continue Reading
-
Tip
22 Feb 2016
Five tips for choosing a UI development framework
Choosing a UI development framework is one of the most difficult decisions a software architect must make. Here are five things to look for when picking a development framework. Continue Reading
-
Feature
16 Feb 2016
Five drawbacks to choosing JSF as your web application framework
Being packed as part of the Java EE web profile, JSF is a compelling web framework to choose, but here are five reasons why you might want to think twice about using JavaServer Faces as UI framework for your project. Continue Reading
-
Feature
10 Dec 2015
These new features in PHP 7 will convince you to do an upgrade
There have been some significant improvements to the PHP language. In this article we show you how to take advantage of them, and potentially convince you to do an upgrade and migrate to the new version. Continue Reading
-
Feature
02 Nov 2015
Top 7 Java platform takeaways from JavaOne 2015
What were the big takeaways from JavaOne 2015 with regards to the Java platform? Here we take a look at seven key insights garnered from this year's JavaOne and Oracle Open World conferences. Continue Reading
-
Podcast
30 Jul 2015
Beat performance monitoring hurdles in single-page interface world
This podcast discusses how frameworks like AngularJS have simplified the creation of single-page interface applications, but have created new performance monitoring challenges. Continue Reading
-
Feature
09 Jul 2015
Addressing the SPI performance issues you don't realize you already have
New frameworks like Angular and Ember make creating applications with a single-page-interface (SPI) easier than ever. But quite often the performance feedback never gets back to the server, especially given the fact that all of that code runs on the client. Here's how to deal with the SPI performance problems you didn't know you had. Continue Reading
-
Feature
17 Jun 2015
Six Steps to Accelerating Mobile App Testing
With software testing being one of the most time consuming steps in the application lifecycle management (ALM) process, everyone is looking at ways to speed up testing. In this article, we look at six ways to accelerate mobile application testing. Continue Reading
-
Tutorial
04 May 2015
Asynchronously invoking a second managed bean method in JavaSever Faces (JSF)
The new features added to JSF make doing an asynchronous call to the server incredibly easy, but what if you need to follow that first asynchronous call with a second asynchronous call to a JavaServer Faces managed bean? It's a bit of work, but in this tutorial, we walk you through it. Continue Reading
-
Tutorial
04 May 2015
How to invoke a JSF managed bean asynchronously through JavaScript
Sometimes great frameworks like JSF, Wicket or Spring MVC make simple tasks surprisingly difficult to do. With JavaServer Faces, the simple task of invoking a method on a managed bean is actually a bit of a chore. In this tutorial, we tackle that chore together. Continue Reading
-
Feature
23 Apr 2015
Mobile development looks inwards as internal facing apps gain traction
As enterprise moves forward to provide employees with the apps they need for maximum productivity, everything is on the table for reinvention. A mix of standardized and customized solutions will be required by big business to meet the needs of an internal workforce that is ready to truly mobilize. Continue Reading
-
Podcast
13 Feb 2015
Working with Node.js at DeveloperWeek 2015
Developer advocate Jenny Tong discusses coding troublemaking with Node.js at DeveloperWeek 2015. Continue Reading
-
Feature
30 Jan 2015
AngularJS: A JavaScript framework built with software testing in mind
Modern development methodologies rely heavily on testing and testing frameworks. Of course, testing frameworks are quite mature in the Java and .NET world, but they have been nascent in terms of JavaScript. Here's what's new in the world of JavaScript testing. Continue Reading
-
Feature
21 Jan 2015
From the mobile browser to the cloud: The expanding role of JavaScript
While originally a language confined just to the web browser, JavaScript has become a requirement for server-side developers as well, as its use in cloud based and mobile applications has become more prevalent and important than ever. Continue Reading
-
Tutorial
07 Sep 2014
Advanced JSF Tutorial: The single page interface (SPI) with Facelets, Ajax and HTML5
Some say it's impossible, but if you really understand the technology, you will realize that creating a single page interface (SPI) with JSF, Facelets, Ajax and HTML really isn't all that hard. In fact, JavaServer Faces makes it pretty easy! Continue Reading
-
Tutorial
31 Aug 2014
JSF Tutorial: Completing the Ajax based Facelets application
If you're using JSF, you're probably using Facelets, and if you're creating modern web based applications, you'll likely want to use Ajax based request-response cycles. Here we conclude our tutorial on JavaServer Faces, Facelets and Ajax based programming. Continue Reading
-
Feature
18 Aug 2014
HTML5 now rules the desktop, but shortcomings make it a hard sell for mobile
HTML5 is changing the game for both mobile and desktop developers, but that doesn't mean HTML5 is a panacea. Performance problems, a lack of tooling and missing features are causing a roadblock for some organizations, especially in the mobile space. Should you go with HTML5, or is a hybrid or native approach right for you? Continue Reading
-
Tutorial
20 Jul 2014
Integrating Ajax into your Facelets pages: Death to JSF's request-response cycle
If you're doing Facelets development, this might be the most important tutorial you will ever read. It will explain to you how to throw out that annoying request-response cycle, and explain how to integrate Ajax based JSF components with a dynamically re-rendering Facelets page snippet. Continue Reading
-
Tutorial
20 Jul 2014
Template based web design with JSF Facelets: ui:insert versus ui:include
When creating a web page template with JSF, a developer needs to know the difference between ui:insert and ui:include. They're actually quite different, but the similar sounding names can create confusion. Here's a great example of when to use ui:insert and how to properly use ui:include. Continue Reading
-
Tutorial
20 Jul 2014
Creating pages based on a JSF template: Using the Facelets ui:define tag
What do you do once you've set up a handsome page template using the Facelets functions that come with JSF 2.x? Well, you start creating new pages, meshing those ui:define tags in with ui:composition and ui:insert. It's easier than it sounds, trust me. Continue Reading
-
Tutorial
19 Jul 2014
Turning a web page into a JSF 2.0 template with Facelets
How do you take a web page and turn it into a template using Facelets as the template engine? It takes some JSF, some HTML, maybe some CSS, and lots of JSF UI tags, but overall, it's an easy and simple process if you follow this tutorial. Continue Reading
-
Tutorial
19 Jul 2014
An introduction to template building with Facelets, CSS, HTML and JSF 2.2
Facelets is a great technology for creating templates for websites and then adding dynamic functionality. In this tutorial, we will introduce the idea of creating a template page with CSS, HTML, JavaScript and JavaServer Faces 2.2 (JSF). Continue Reading
-
Tutorial
18 Feb 2014
How to animate your web pages using JavaScript, HTML and CSS: A tutorial
One of the great benefits to using JavaScript is the fact that it allows you to animate your web pages in simple yet creative ways. Here we look at a simple example that animates the result of a game or rock-paper-scissors. Continue Reading
-
Tutorial
17 Feb 2014
Tutorial: Coding a simple Rock Paper Scissors application in JavaScript
Rock, paper scissors, or Rashambo as it is called in some circles, is a simple game that most people understand, which makes it a great scenario for learning how to program in JavaScript. Continue Reading
-
Tutorial
17 Feb 2014
A simple tutorial on using the JavaScript event model
To be great at JavaScript languages like JQuery, Dojo and YUI, you must master the basics of JavaScript. Here we look at implementing a simple Roshambo application using the JavaScript event model. Continue Reading
-
Feature
05 Jan 2014
Can Java and JSF on the server-side make mobile on the front end easier?
While many software developers are learning new programming languages to deliver native mobile solutions to users, companies like ICEsoft with their ICEmobile solutions are solving the mobile development problem with HTML5 on the front end, with Java and JSF running on the server. Continue Reading
-
Tutorial
11 Aug 2013
Application_Scope versus Portlet_Scope: Understanding the JSR 286 PortletSession
Managing state through the PortletSession is a supremely important job for the portal developer, and knowing how to manage the session means understanding the difference between the PortletSession scopes: APPLICATION_SCOPE and PORTLET_SCOPE. Continue Reading
-
Tutorial
27 Jul 2013
JSR-286 development tutorial: Linking back to the portal with the PortletURL
In this JSR-286 development tutorial we look at the PortletURL and the challenge developers face when trying to link back to the portal, a portal page or a given portlet instance. Continue Reading
-
Tip
12 Mar 2013
Performance and troubleshooting tips for JSF 2.0 Facelet developers
JSF 2.0 has provided a variety of new configuration settings to help improve performance and aid the troubleshooting task, making the lives of software developers and quality engineers much easier. Continue Reading
-
Feature
20 Mar 2012
Ten Reasons to Love Liferay
Summing it up, if you are launching an enterprise portal project, you certainly should consider using a portal product as the foundation Continue Reading
-
Tutorial
24 Feb 2012
Translate "Hello, world!" automatically via the Web browser
In this lesson, Cameron McKenzie will demonstrate how to build a Web application that automatically translates itself for various audiences based on the default language of the end user's Web browser. Continue Reading
-
Tip
23 Feb 2012
Five Neat Things You Can Do Out of the Box with Liferay Portal
If you've ever run a competitive portal, you know that so many of them have little more than the "weather portlet" or "bookmarks" portlet after installation. Liferay is amazing because it has such full featured functionality 'out of the box.' Here's just five featuers I love about Liferay Portal 6.1. Continue Reading
-
Tip
26 Jan 2012
Java 7 and the intricacies of safe and unsafe casting
One of the problems with casting is that it does have the potential to cause a loss of precision, especially if the number that gets cast does indeed fall outside of the range of the target type. Here we will explain why this happens. Continue Reading
-
Feature
26 Jan 2012
Has Computer Programming Really Changed Much Since Lovelace's Time?
Everyone always talks about these new computer programming languages, and how great one is over the other. But really, has computer programming really changed that much over time? Continue Reading
-
Tutorial
12 Jan 2012
New Java 7 Features: How to Use a More Precise Rethrow in Exceptions from Project Coin
Afficionados of other languages such as Scala or Clojure are always slagging the fact that Java is too verbose and cumbersome. So, it's not too surprising to find out that Java 7 introduced a number of new facilities that can help to trim down the code an application developer is required to write. Continue Reading
-
Tip
14 Jul 2011
How to design a Web page that will display properly across browsers
Learn tricks for keeping a consistent look and feel to your Web applications across major browsers like Firefox and Internet Explorer. Continue Reading
-
Tip
13 Jul 2011
Cross-browser friendly HTML code
Here are some basic guiding principles to help Java developers build Web applications that start out with high cross-browser compatibility, without reworking the final product. Continue Reading
-
Tip
12 Jul 2011
The importance of cross-browser compatibility in website development
Ensuring cross-browser compatibility of your Web applications is becoming more and more important as workers are presented with more and more choices of Web browser. Continue Reading
-
Tip
06 Jun 2011
Waterfall versus Agile methods: A pros and cons analysis
In project management, Agile has been touted as a replacement for antiquated Waterfall methods. Yet Waterfall methods do hold value for certain projects and some development teams. Continue Reading
-
Tip
02 Jun 2011
HTML5, Java and the future of Web development
The new mobile Web may feature a clear separation between the front-end HTML5 UI and the back-end Java applications. Continue Reading
-
Tutorial
02 Mar 2011
Working with CDI and JSF 2.0 on Tomcat 7: Configuring Weld
By default, you can't use CDI in your JSF 2.0 applications when they are simply deployed to a standard servlet engine such as Tomcat 7. But, with Weld, you can make it work. Continue Reading
-
Feature
08 Feb 2011
Top 5 reasons that JSP scriptlets suck
Learn the top 5 reasons why scriplets and Java code aren't optimal in JSP pages. Continue Reading
-
Tip
11 May 2010
Special characters in XAML
XAML files are a form of XML. As such, they have to follow the rules of XML. There is one XML rule that can cause trouble when working with strings within attributes in XAML, known as special character. Continue Reading