
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.
This tip opens a Unicode-encoded text file, reads the entire file, and then splits it into individual lines for processing. It loops line by line through a unicode text file
Semantically, returning from main is as if the program called exit (found in in C++ and in C) with the same value that was specified in the return statement. One
The getProperty method in the System class can be used to display the system properties defined for your environment. Here is an utility program which takes the property name as
he design of J2ME provides a flexible architecture that allows additional APIs to extend the application specifications such as MIDP and Personal Profile. One such extension is the Wireless Messaging
nderstanding the SWT listener classes and their usage is essential to building complex, highly responsive user interfaces for Java applications. The listener classes in SWT are classified into two types:
he term “object-oriented” is vague and frequently misunderstood. Jonathan Rees (with more insight than the average programmer) attempted to define its meaning , but even his definition does not necessarily
n part 1 of this series, I discussed various ways to connect a Flash application to a server. Why? Connecting Flash to a server allows for more robust, dynamic, and
Fast Facts Develop custom enumerating functionality and take advantage of iteration through non-collection-based classes. ne of the coolest things I like about the .NET Framework is the way collections are
TD-XML is a new, open-source, non-validating, non-extractive XML processing API written in Java. Different from current XML processing technologies, VTD-XML is designed to be random-access capable without incurring excessive resource
uplication of effort in gathering information is an increasingly familiar scenario in many companies today. For example, an employee complains, “I’ve already submitted my expense report to finance, and now
Most Web forms designed in PHP are made for user interaction. This generally means information exchange, and the most common way this is done is via email. Because of this,
Suppose you’re given a date and asked to retrieve data for the whole week in which the given date falls. The example code produces the Week Start Date and Week
Take a look at the following code: #include int main(){ int i = 12; std::cout
Keyboard shortcuts are extremely useful when you use a particular option repeatedly?like when you select menus or toolbars manually. Sometimes, the default shortcut is cryptic and you cannot remember it.
lthough Visual Basic .NET is just as powerful as C# for building business applications, it did not get the initial push that C# did back at PDC 2000 when Microsoft
here’s a great deal of information, innuendo, and rumor circulating concerning offshore outsourcing, more widely known as offshoring: the practice of moving jobs from a host country to a different
If the DataSource object is not null, a connection is picked up from the connection pool of the datasource. Else, direct connection to the database is created by DriverManager. import
n Monday morning, S. “Soma” Somasegar, Microsoft’s corporate vice president for the developer division, made the unexpected announcement, via his official MSDN-hosted Web log (http://blogs.msdn.com/somasegar/), that C# will get the
massive DELETE operation deletes millions of rows from a table with indexes and constraints. This operation is database intensive and time consuming, mainly because it forces the database to generate
he DataGrid control is one of the most powerful controls in ASP.NET 1.x. It’s highly customizable and most Web developers are familiar with it. However, although the DataGrid control is
n the history of the Internet there have been few technology combinations as compelling as ‘LAMP’ has proved to be?Linux, Apache, MySQL, and PHP. They are the cornerstone of low
s much of an improvement as Swing and SWT have been for building Java GUIs, Java still lacks the ease of free-form GUI creation available in products such as Visual
he Evans Wireless Development Survey is a detailed report of extensive, in-depth interviews with almost 500 developers active in wireless application or infrastructure development. It was conducted in the Fall
or many small and medium sized programs, it isn’t too difficult to find and fix bugs based on reproducible information from users. As applications increase in size and complexity, the
Exceptions enable you to detect and handle anomalous runtime conditions promptly. However, they also complicate the design of your program as they increase the number of possible execution paths. In
Note: This tip applies primarily to UNIX platforms (fortunately or unfortunately). The code was run on a Sun Solaris server (SunOS 5.8). How many times have you wondered what programs
There are instances when .jsp names need to be hidden from the URL. This can be done using various design techniques. But if your application is small and simle enough
The tip “How to Force a C++ Class to Be a Singleton” does not provide enough flexibility for the programmer to control the creation/deletion of the singleton instance. The following
Big applications create huge numbers of objects. Though Java manages the memory allocation and de-allocation for these objects, sometimes this huge number can result in memory leak problem. To monitor
ntity bean inheritance has a lot of confusion surrounding it because the EJB specification does not give any clear guidelines on this topic. EJB specification documents 2.0 and 2.1 say











