
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.
Suppose the user has to enter his name in a field. He forgets. Your Java code throws a NullPointerException. This is probably meaningless to the end user and encompasses a
The timeout option was supported in the previous versions of the JDK through the
Applications often present a way to allow users to select a number of values. These values are then assembled in an IN() clause that contains a list of values to
Ever need to use the same member function from a inheritance hierarchy as both virtual and non-virtual? This code shows you how to do it dynamically, using a template. Suppose
ust about every time you write any kind of application that renders data in a table-like manner in HTML or in any of the myriad of Java table controls, the
number of technologies of interest to developers are incubating in Redmond right now. It’s been a long time since we first caught wind of “Whidbey” and we’ve got a good
f you worked with thread programming in C or C++ or prior versions of Java, you know what a headache managing the threads in your code can be. In single-threaded
This tip will show you how to connect to SQL Server using ADODB Retrieving Records using Record Set and connecting it to Crystal Reports. Follow these steps before adding the
Text fields need special treatment in SQL. Here’s how to add two text fields: CREATE TABLE Foo (a int, b text)–Table Foo has b as text data type.INSERT INTO Foo
When a user visits a Web site for the first time, the site creates a unique ID, known as a Session ID. The Session ID is unique for that current
The Servlet API provides the class javax.servlet.ServletContext, which has methods that work with data stored in context. Any servlet can store Java objects in that context and other servlets can
he concept of time travel has been a staple of science fiction since the entertainment genre was invented. Whether it’s H.G. Wells’ “The Time Machine,” Doc Brown’s DeLorean in “Back
If you provide std::cin.getline() with a third argument?a “stop” character, it ends its input by eating the character and terminating the string. For example: std::cin.getline(str, 100, ‘|’) Without this this
here are many Java user interface toolkits. The most common, of course, are AWT and Swing, each of which has its advantages and drawbacks. Swing in particular, while it looks
ulti threading is one of the most powerful concepts in programming. Using multithreading, you can break a complex task into multiple threads that execute independently of one another. One particularly
Java programmer seems to live in two worlds. One is the object-oriented world of classes, interfaces, methods, accessibility, and more advanced notions such as patterns, refactorings, aspects, and concerns. The
ocoon is a powerful tool for publishing content to multiple formats from XML. This second article of a two-part series describes how to integrate Cocoon with Lucene, a full text
n Part 2 we looked at associations, which are nothing more than references, but they can be directional and represent multiplicity. If we were restricted to our ability to generate
This query: select @@version provides the following information: Version installed Service Pack installed Edition installed Here’s a sample of the output: Microsoft SQL Server 2000 – 8.00.194 (Intel X86) Aug
Servlets can be configured using the initialization parameter. These parameters can be anything like username, password, URL, etc for accessing a database connection, the location of the configuration file, etc.
Validator controls automatically trigger validation checks for every postback?irrespective of whether you need validation or not. To prevent this, set CausesValidation=”False” for the control for which you do not need
Have you ever come across an application where you’re required to handle more than one set of heterogeneous data elements? Operations may include initialising, reading from, writing to, and passing
n Flash, components have the power to save you a great deal of time and frustration. These pluggable, self-contained units?consisting of handy combinations of graphics and/or code?are just dropped into
an Francisco, Calif.?”Ninety-nine percent of the people want to write secure code,” said panelist Ira Winkler, at the Secure Software Forum last week, “they just don’t know how.” Winkler, Global
t is no longer neccessary to creatively twist and bend Flash’s printing APIs to perform the more complex printing tasks like multi-page printing. Thanks to ActionScript 2.0 and Flash Player
he data access features in .NET changed the way developers write code by segregating the data providers into separate classes and namespaces, depending on the type of database that was
he Burlap/Hessian protocol is an alternative remote object invocation and Web services protocol supplied as an open source Java framework through Caucho Technology. If you want POJO (Plain Old Java
he phenomenal popularity of the new Firefox browser from Mozilla.org is no random happenstance. Web users around the world have discovered what dozens of reviewers pointed out back in its
he Visual Studio 2005 toolbox provides new controls in three different areas: Data, UI, and system components. Low-level members of the old data binding architecture are now better encapsulated in
espite fairly recent protestations to the contrary, it seems as if Microsoft has had Internet Explorer 7 planned all along. At the RSA Conference 2005 in San Francisco this week,











