The Latest

DevX

Mapping a Component in Hibernate

A “component” in Hibernate is an object persisted as a value, not an entity reference. For example, suppose you have a Car class, like this: //class Carpublic class Car {

DevX

Webinar Replay: Understanding the Basics of Route Calculation

Related Posts Monitor Log space in SQL Server quicklyLeveraging Technology to Enhance Urban Planning and DevelopmentEncrypting and Decrypting a Database Connection StringFinding out the Java version.Australian video games at critical

DevX

The Java EE Application as an EJB/Spring/Hibernate Hybrid

lain old Java object (POJO)-based architectures and lighter-weight development models using tools such as Spring and Hibernate have gained considerable acceptance in the enterprise Java space during the past few

DevX

Code-Free User-Interface Design with Expression Blend

icrosoft Expression Blend is a new full-featured design tool for creating highly-interactive and sophisticated Windows application user interfaces using Windows Presentation Foundation (WPF). With Expression Blend, a designer can design

DevX

JavaFX Progress: It’s Academic

“hese days if you look at the way a lot of shops work, they have really two kinds of people that go into developing web sites” James Gosling, vice president

DevX

Give Your Applications Mapping Capabilities, Part 1

ome of the most interesting features of modern web sites are based on Geographical Information System (GIS) technologies. GIS techniques essentially give you a way to manage and show geographical

DevX

My Nightmare, and an Apology

rom 1981 through 1986, I taught high school. I was fresh out of college (OK, a semester of engineering grad school which “didn’t take”), didn’t really know what to do,

DevX

Seeing the Silverlight

icrosoft has officially entered the space of rich interactive browser development with a new product called Silverlight. To better understand what Silverlight is you simply need to take a look

DevX

MVP Corner: 13 Steps for Building an Article

s a kid/teen, I wrote short stories and read tons of magazines: Boy’s Life, Baseball Digest, Twilight Zone, and MAD Magazine. My parents knew how to keep me occupied on

DevX

Creating Web Sites with ASP.NET 2.0

rom basic, static HTML pages to totally data-driven and data-centric Web applications, the demands on a Web developer are much more complex and demanding than they were just a few

DevX

Working with Nullable Types in C#

orking with value types was sometimes awkward in .NET 1.x, because they could cause serious problems in applications that retrieved data from database tables containing columns that can have null

DevX

There’s More to Typecasting than C++ Cast Operators

xplicit typecasting is considered are an abomination in object-oriented programming. However, prudery won’t change the fact that casts are still a widely-used feature in C++ programming. Therefore, knowing exactly which

DevX

Visualizing Data: Self-Documenting Ant files

I have always been fascinated by informational graphics. Mathematicians aside, most people find properly rendered information graphics easier to assimilate and quicker to understand than raw data, in whatever form

DevX

Use the UseWaitCursor Property to Change Cursors

The System.Windows.Form class’s UseWaitCursor property sets the window’s cursor to an hourglass. It is a Boolean property. The Application class also contains a UseWaitCursor property, which sets the UseWaitCursor property

DevX

Determine Prime Numbers with XQuery

Did you know you can determine if a number is prime by calling an XQuery query? Here’s the code: &ltprime_numbers&gt { for $a in (1 to 50) return( if(not(some $counter

DevX

SQL Server Management Objects: Lessons from the Wild

rior to SQL Server 2005, Microsoft’s SQL Distributed Management Objects (SQL-DMO) offered the most efficient way to manage SQL Server programmatically. SQL-DMO supported a COM-based interface that you could use

DevX

Monitoring AWT Events with the AWTEventListener Class

The AWTEventListener class’ sole purpose is to view events. All you have to do is to implement the eventDispatched method. The following application demonstrates how: import java.awt.*;import java.awt.event.*;public class EventTest

DevX

Converting Numbers to Column Names in Excel 2007

While converting to Excel 2007, I had to update the column-number-to-string code in my program to handle columns of 703 and above (AAA). I found Yassine Moe’s code and simplified

DevX

Checking on Daylight Savings Time

Checking for Daylight Savings Time is one of the most common date checks developers perform. .NET provides an easy method to do this. In .NET 1.1, use the Timezone class’

DevX

Introducing XNA Game Studio Express

f you have ever dreamed of being a game developer (honestly, who among us has not toyed with the idea at least a little?), this is your time in the

DevX

Testing Tips for When Unit Testing Is Too Hard

echnologies such as the xUnit framework, combined with Maven, BuildBot, or CruiseControl, enable unit testing under continuous integration, which gives developer productivity a huge boost. However, writing true unit tests

DevX

iPhone Web Development with Ruby on Rails

pple’s iPhone has taken the nation by storm. An alleged half million moved from the shelves into people’s pockets in the first weekend it went on sale. Safari, the iPhone’s