Tag: application

Build a Servlet-based Application That Executes SQL Statements Against a Database

This tutorial shows how to use a Java servlet, a JavaServer Page (JSP), and a static Java class to create an application that can be used to interactively execute any standard SQL statement against a database that’s running on a server. You can use an application like this one to work with a database as you’re developing an application. In this article, this application will be referred to as the SQL Gateway application.

UI Design for Web Application Usability: Clutter and Clarity

Crafting a well-designed user interface for a web application is never a trivial task. It’s the one thin layer that lies between the human user and the not-so-human computer. That’s a large communication gap to bridge especially when you are trying to communicate complex system functionality across a broad user base of varying experience. A hallmark of any good UI is its ability to be used effectively by both novice and expert users alike. It is striking a balance between these two oftentimes-conflicting user bases that poses the greatest difficulty.

For novice users, clarity is of utmost importance; for expert users, efficiency. Icons and shortcut keys afford efficiencies for expert users while a fully expounded UI affords clarity for novice users. Unfortunately, here within lies the problem. The UI elements that afford efficiencies for expert users cause confusion amongst novice users. The details required of a fully expounded UI that facilitate understanding amongst novice users clutter the system for expert users. It boils down to this, clarity comes at a price – that price is clutter. By understanding the user population of the application and using an “upgrades gracefully” design, you can design a UI that strikes a balance to best achieve overall system efficacy amongst all users as a whole.

Bringing your Java Application to Mac OS X

Apple has just released Java 2 Standard Edition (J2SE) 1.4.1 for Mac OS X. Mac OS X has shipped with J2SE 1.3.1 installed from the beginning. Now J2SE 1.4.1 is available to all Jaguar (Mac OS X version 10.2) owners by using the software update at Apple’s Java product page. Much of the time porting J2SE 1.4.1 to the Mac has been spent moving the GUI elements from the Carbon framework to the Cocoa framework. This means it is easier for your Java applications to take advantage of Mac OS X specific features when running on the platform and to look and feel more like native applications.

Executing A C++ Application Over The Internet With PHP

Page 1: Introduction
If you’ve ever had any exposure to Unix/Linux, then you would know that it has both C and C++ compilers built into it: GCC and G++ respectively. Unix uses these compilers extensively during program installations, makes, etc. Using a couple of console commands, some C++ and some PHP, I will show you how to create a totally integrated C++ sample application, which can be executed (and have its output captured) from PHP.

Measuring Application Performance

When considering a benchmark to determine the overall performance of a Java application, bear in mind that bytecode execution, native code execution, and graphics each play a role. Their impact varies depending on the nature of the specific application: what the application does, how much of it is bytecode versus native code, and how much use it makes of graphics. How well a JVM will perform for a given application depends on how the unique mix of these three functional areas maps onto its capabilities. Given these variables, the best way to benchmark a JVM is against your own application. Since thats not possible before the application has been written, you must find those benchmarks that are most relevant to the application you intend to write.

Back To Top