Understanding Java’s Integer Pool Can Avoid Problems
The next time you come across a situation where two Integers defined with equal values fail an equivalency (==) test, remember this tip. Suppose you have two integers defined as
The next time you come across a situation where two Integers defined with equal values fail an equivalency (==) test, remember this tip. Suppose you have two integers defined as
he visual appearance of controls in XAML?their styling?is, unlike Windows Forms controls, completely customizable. XAML offers speedy and uncomplicated ways to style controls, primarily: Declaratively, through XAML markup Programmatically, through
isual Basic Express (VB Express) wizards make it easy to connect to a remote data source and start manipulating data. However, the results aren’t always flexible enough for a development
ike Delphi’s other development platforms, Delphi for .NET offers a wide range of data access options for ASP.NET developers. These include support for the generic foundation class library (FCL) data
TML 5 is an interesting beastie. The specification was not planned; The W3C was committed to HTML 4.1 as the last word in HTML. As such, most of the requests
It’s best not to return null from a method that returns an array type. Always returning an array, even if the array has zero length, greatly improves the generality of
This query returns a list of all the user-defined functions in a SQL Server database. In a T-SQL Window, write this query, substituting the appropriate database name for the db_name
The String.Split method has few limitations. For example, it does not support splits on duplicate delimiters such as double pipe (||) characters, double tildes (~~), or double colons (::). The
You can select which column to sort a SELECT statement by at runtime, using just one parameter. To do this, declare one parameter and use it with a CASE command.
Type conversions are more error-prone than most code, so it’s useful to have ways to convert types in ways you know will work. The CanConvert method in this tip checks
avaFX is a scripting language that provides built-in properties for manipulating objects within a 2D coordinate system. A competing technology to Microsoft’s Silverlight, JavaFX provides the tools to fill and
ver the past several years, web applications have evolved from collections of simple HTML pages into highly scalable and interactive rich applications built using a variety of technologies. Designing and
ser stories are probably the most popular tool for gathering user requirements on an Agile project. A user story represents some goal that a user would like to achieve, and
First, launch Eclipse with increased memory options, which you can do as follows (increase these values as needed, but don’t exceed your available memory): eclipse.exe -vmargs -Xmx512M -XX:MaxPermSize=256M Sometimes, the
You can find out which session is causing blocking problems using this SQL command: SELECT blocking_session, sid, serial#, wait_class, seconds_in_wait FROM v$session WHERE blocking_session IS NOT NULLORDER BY blocking_session; Related
Using the following code snippet you can run any application (such as Word, Excel, etc.) or open any file whose extension is associated with an application, such as .doc, .txt,
The simple way to convert Hashtable keys or values into an ArrayList is to use a constructor that takes a list of values. The Hashtable.Keys and Hashtable.Values properties both return
It can be annoying to open the IDE every time you need to build a .NET solution or project. Fortunately, .NET ships with a command-line utility called devenv.exe that you
Follow these steps: Open the Registry editor. Find the key HKEY_CLASSES_ROOTAllFilesystemObjectsshellexContextMenuHandlers. Right-click on that item and select New ? Key from the context menu to create a new key. Name
# 4.0 includes a number of enhancements and additions, including: Support for dynamic lookup Support for both named and optional parameters Enhanced COM Interop features Support for variance This article
“ary! Bob! Dinner in 10 minutes,” you yell out the kitchen window because you know the kids are outside somewhere. You transmit a simple message to a known receiver. Usually,
evelopers have worked with Office documents for years, primarily word-processing documents, presentations, and spreadsheets. While the various Microsoft Office applications have provided built-in support for creating and modifying Office documents,
e have all heard the speculations about why Oracle is purchasing Sun: Oracle is trying to get on the same level as IBM. They want to be considered a complete
hy should a Java web developer accept Google’s recent invitation to use the Java version of its App Engine platform? A few of the most compelling reasons are: Google provides
Submit your app by June 30 for a chance to win cash and prizes worth $250,000 USD; premium placement featuring the winning application for 4 weeks on the top page
n the course of my consulting, I have reviewed numerous applications from many companies?and often find areas where the software was just too complex. The reasons for this are varied,
Here’s how to find out which session is waiting for a shared resource to be released: Column host format a6;Column username format a10;Column os_user format a8;Column program format a30;Column tsname
Unlike C/C++ compilers that produce binary executables, Java produces bytecode. Running bytecode can be difficult for regular users, particularly when the application requires external libraries. There are several solutions to
The code sample below shows how to use the .NET SOAPClient to consume a web service developed in .NET.
An easy way to create and send email in VB (or any other language) is to use the “mailto:” protocol that already works on client computers. The technique makes a