CodeGuru Update eNewsletter – May 23rd, 2006

CodeGuru Newsletter
May 23, 2006

This newsletter is part of the, EarthWeb, and networks.
Jupitermedia Corporation

___________________________ Sponsors


–> Editorial – Java, Open Source, WinFX, and
lots of betas….

–> Recently Published Books

–> New on

– Using the ASP.NET 2.0 MultiView


– Ajax Submission Throttling
– Create a ViewState Property
– Hooking a DirectX/COM Interface
– A Prize Console-ation in VB 2005
==> C#
– New in C# 3.0: Create and Initialize Collection Objects in One
– SQL Server 2005 Programmability Enhancements — Common Table
– [Debugging] – Symbols
– Using Windows Vista Icons
– [Updated] Setting a System Environment Variable

–> Discussion Groups — HOT
        – From Activex
(Without GUI) pass String to HTML
        – How do you disable the
manual eject of the CD ROM?
fseek / ftell, measuring text file length inaccurate?

–> Highlighted new articles on 
Understanding Echo
        2. Solutions to
SOA Security
        3. The Axis2 Transport Framework

– your search ends here
Jupiterimages offers online subscriptions and single
downloads for clipart, Web graphics, photos, footage and
(including flash versions) via a comprehensive network
design-oriented Web sites for industry professionals and
See what you’re missing.
Go to:,2gx0,1,dh1n,3138,jorm,i5r0

from the

It’s not a question of whether, but a question of

That is what Sun Microsystems CEO Jonathan Schwartz
stated last week in regard to making Java an open source product. The mystical,
magic “open source” that will make Java even better because….

Well, I’ll stop there. I’m one of those people who
believe the term “open source,” while founded in great ideals, is often used in
a much more duplicitous way with lots of marketing hype to elevate its
importance. Sun has always seemed resistant to the push on Java to become open
sourced as well; however, with Scott McNealy out of the way and Jonathan Schwartz in charge, the rules can change.

At JavaOne last week, I listened to a panel discussion
on SOA Security and Governance. Although the SOA comments from Sun’s customers
were interesting, the comments that caught my attention were those on Open
Source. The participants included Mary Rich, IT Manager for CenterPoint Energy,
and Bryce Rendall from Emerson Process Management. When asked about Open Source,
all the panel members stated that they initially did not like the idea of having
a product be open sourced. Having had a product go to open source, it was only
after some convincing that support and stability would still exist did they
begin to feel comfortable with the change. Although they are okay with open source now, it was not something they initially wanted.

Now, Sun has committed to moving Java to Open Source.
They haven’t said when this will happen, nor have they said how. They did say
that they have a lot to figure out to make the open sourcing work the way they
want. You can assume they won’t use the GPL. You can assume it won’t be open
tomorrow. Rather, the moving of Java to open source is likely to be a long, slow process.

  • Will it result in a better programming language?

  • Will Open Sourcing the language make “write once, run anywhere” a better

  • Will a new Superman movie succeed?

It looks like the answer to these questions are all for
the future and not for today. If you want to discuss Java going open source,
stop by the forums at:,2gx0,1,lsav,m9b6,jorm,i5r0

… On a different note…

I’ll present more information from JavaOne in a future
newsletter. For now, it is worth talking about a few announcements coming out of Microsoft.

At Microsoft’s Windows Hardware Engineering Conference,
officials announced a number of betas. This includes beta 2 versions of Windows
Vista and Windows Server “Longhorn.” Both are now available to people with MSDN
or TechNet subscriptions. These will both be available to people without these subscriptions in the next few weeks.

Also available is beta 2 of the 2007 Microsoft Office
System. You can obtain a preview version of this beta from,2gx0,1,dg4p,64a1,jorm,i5r0

Of even greater interest, WinFX enters a second beta.
More importantly, Microsoft also announced a Go Live license for WinFX. This
license includes Windows Presentation Foundation (WPF). It allows you to deploy
applications today that use WPF, Windows Workflow Foundation (WF), Windows Communication Foundation (WCF), and InfoCard.

Microsoft is beating the drum for the next releases
coming from its company — releases such as new operating systems, Office,
WinFX, virtualization software, Windows “Live,” and more. Even so, don’t let
that overshadow the releases from Sun as well. Last week’s release of the newest
enterprise-level Java platform, J2EE 5, was also a big deal. There is a lot
happening and a lot of new things in the works for developers.

It is a great day to be a programmer — whether using
Sun’s technologies, Microsoft’s, or someone else’s. From what is being
announced, it looks as though things can only get more interesting over the coming months and years!

Until next week…

L. Jones

Published Books

For those of you keeping up by reading books. The following

are just a few of the new books that have been recently released.

If you’ve read any of these, feel free to write a review to be

posted on CodeGuru. See the submission guidelines at:

–> Application Interoperability: Microsoft .NET and J2EE
By Peter
Laudati, et al. for Microsoft Press
380 pages for $35.99
the people at Microsoft and more…

–> Java EE and .NET Interoperability
Integration strategies, patterns,
and best practices
By Fisher, Lai, Sharma, and Moroney for Prentice
620 pages for $49.99
the people at Sun and more…

–> Expert C# 2005 Business Objects
By Rockford Lhotka for
680 pages for $59.99

& Updated Articles on

Following are short descriptions of new articles on CodeGuru. If you are
interested in submitting your own article for inclusion on the site, then you
will find guidelines located at,2gx0,1,fka1,909i,jorm,i5r0

This week’s CodeGuru posts:

Videos   ===

==> ASP.NET 2.0

– Using the ASP.NET 2.0 MultiView
    By Bill Hatfield
VIDEO: See how to
create mutliple views on a single Web form. Want tab style functionality? This
is an easy solution!,2gx0,1,2bx3,gp5x,jorm,i5r0

===  Articles 

==> AJAX

– Ajax Submission
    By Nicholas C. Zakas
Ajax is
becoming the hot topic in Web programming today. Discover more useful things
that it can do for you.,2gx0,1,1jd2,j270,jorm,i5r0

==> ASP.NET Tip

– Create a ViewState
    By Eric Smith
The ViewState used in
ASP.NET provides a cleaner way to pass your own information while your page is running.,2gx0,1,5vzl,l2jr,jorm,i5r0

==> COM

– Hooking a DirectX/COM
    By Martin Mueller
Learn how to hook
a DirectX/COM Interface. The DirectInput interface was used as an example of how
to hook an interface function.,2gx0,1,8uf7,bl84,jorm,i5r0

==> Console

– A Prize Console-ation in VB
By Josh Fitzgerald
Think console
applications are old news? Then you haven’t tried the cool new console
application features available in VB 2005. Check out some of this author’s favorites.,2gx0,1,4rz4,5kas,jorm,i5r0

==> C# 3.0

– New in C# 3.0: Create and Initialize
Collection Objects
in One Step
By Vipul Patel
C# 3.0’s new collection initializer feature provides a new
syntax that combines collection object creation and initialization into a single step.,2gx0,1,19u2,emnz,jorm,i5r0

==> Database

– SQL Server 2005 Programmability Enhancements
— Common
Table Expressions
Scott Klein
There is a plethora of new T-SQL features and enhancements in SQL
Server 2005. Learn about one of them specifically, Common Table Expressions (CTE), because they often come in handy.,2gx0,1,h5my,b3j8,jorm,i5r0

==> Debugging

– [Debugging] –
    By Darka
Learn how to set up and use
the Microsoft Symbol Server to help you debug applications under Windows.,2gx0,1,dr8q,5rx,jorm,i5r0

==> Icons

– Using Windows Vista
    By vlasta
Learn about the changes in the
.ico format in Windows Vista and how to compile Vista icons into your applications.,2gx0,1,bu1b,ebv,jorm,i5r0

==> System

– [Updated] Setting a System Environment
    By Darka
A free tool (with source
code) that demonstrates how to programatically set System Environment Variables.,2gx0,1,jmsa,f53g,jorm,i5r0


Check out the CodeGuru discussion forums at:,2gx0,1,bcr8,cx5j,jorm,i5r0

Forums include Visual C++, General C++, Visual Basic, Java, General
Technology, C#, ASP.NET, XML, Help Wanted, and  much, much, more!


Some of the current threads with the most activity are:

==> From Activex (Without GUI) pass String to HTML

==> How do you disable the manual eject of the CD

==> fseek / ftell, measuring text file length

Articles on

Below are some of the new articles that have been posted to (

1. Understanding Echo
    By Mugdha
Vairagade –
Discover a free Java-based Open Source framework that helps
build Web applications that are as good as feature-rich, rich-client
applications and are modular and event-driven.,2gx0,1,4cvo,es42,jorm,i5r0

2. Solutions to SOA Security
    By Eric
Pulier and Hugh Taylor –
Evaluate how security may affect your SOA

3. The Axis2 Transport Framework
Deepal Jayasinghe –
See how easy Axis2 can work for you. With it you can
extend its main functionality within your Web Service applications; among them
are transport independency, pluggable modules, systems, even listeners and
pluggable transport framework.,2gx0,1,fq2r,lwm9,jorm,i5r0


More by Author

Must Read