devxlogo

We are an award-winning tech entrepreneurship website where trusted experts can provide value globally.

Since 1998, DevX has helped people start businesses, build websites, and provide enterprise technology to people globally. Interviewing the likes of Microsoft’s co-founder, Steve Ballmer, the publication brings comprehensive, reliable, and accessible insights to the Internet.

devxlogo

Trusted for 26 years

Over 30K Articles

1M+ Readers

Expert-reviewed

10K+ Tech Terms

As seen in:

microsoft logo
business_insider_logo
wired_logo
berkley
arstechnica_logo
hackernoon

The Latest

Consuming PHP Web Services with AJAX

mong other things, in this article you’ll see how to write a PHP web service using the NuSOAP library, as well as a JavaScript client to consume it using the

Building Domain Specific Languages in C#, Part 2

he first installment of this article showed how to leverage C# syntax to create a specific type of domain specific language in C# called a “fluent interface.” Building a fluent

Inject an EJB 3.0 into the init() Method of a Servlet

This tip shows you how to inject an EJB 3.0 into the init() method of a servlet. //place all the required imports hereimport package.to.EJB.interface.myInterface;public class EJB30Servlet extends HttpServlet {@EJBmyInterface myobj;public

Building Multithreaded Java Applications

ost server-side applications require the ability to process tasks concurrently, which improves performance and increases utilization of hardware resources. In early versions of Java (1.4 or earlier), developers needed to

Destroy a Java Logger using the contextDestroyed Method

public void contextDestroyed(ServletContextEvent e) { //get the servlet context ServletContext servletContext = e.getServletContext(); //get the real path String root = servletContext.getRealPath(“/”); //get all handlers Handler[] handlers = logger.getHandlers(); //remove all

Be Careful of Negative Array Indices

While porting a 32-bit application to a 64-bit version, I discovered an interesting effect. The original code used negative array indexes frequently, which worked fine on a 32-bit machine, but

Mashups 101: Using XQuery for Data Selection

eb 3.0 (aka the semantic web) is the transformation of the web into a data source for building new applications, which combine data in ways that the data source’s original

Virtual Earth 101

read somewhere that nearly 80 percent of all data has some location-related aspect. Some examples of common location-related data questions might include: Where do we ship these orders? Where are

Using OPC to Store Your Own Data

et’s say you’ve been tasked with writing an application that stores some related information, such as an album of pictures. You also need to store some metadata about each picture.

Yahoo’s Rich Web UIs for Java Developers

ahoo User Interface (YUI) is an open source JavaScript library for developing AJAX-based rich user interfaces. The new Yahoo Mail uses YUI, so you might imagine how powerful the library

Build a Custom Formatter for a Java.util.logging Logger

For a simple custom logger, you can inherit from the base java.util.logging.Formatter class and override its format method to customize the output. Here’s an example: import java.io.*;import java.util.*;import java.util.logging.*;public class