CodeGuru Update eNewsletter – May 23rd, 2006

CodeGuru content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

==========================================================
CodeGuru Newsletter
May 23, 2006
http://www.CodeGuru.com


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


___________________________ Sponsors
________________________________
Jupiterimages
_____________________________________________________________________
==========================================================


TOPICS:



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


–> Recently Published Books


–> New on
CodeGuru: 

     
Videos 
        ==>
ASP.NET
2.0
               
– Using the ASP.NET 2.0 MultiView
Control

     –
Articles

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


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



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


/——————————————————————-
Jupiterimages
– your search ends here
Jupiterimages offers online subscriptions and single
image
downloads for clipart, Web graphics, photos, footage and
music
(including flash versions) via a comprehensive network
of
design-oriented Web sites for industry professionals and
individual
consumers.
See what you’re missing.
Go to:
http://nl.internet.com/ct.html?rtr=on&s=1,2gx0,1,dh1n,3138,jorm,i5r0
————————————————————–adv.-/


==========================================================
Comments
from the
Editor
==========================================================


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


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
    reality?

  • 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: http://nl.internet.com/ct.html?rtr=on&s=1,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 http://nl.internet.com/ct.html?rtr=on&s=1,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…


Brad!
—————————
Bradley
L. Jones
www.CodeGuru.com
—————————


=========================================================
Recently
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:


https://www.codeguru.com/review-guidelines.php


–> Application Interoperability: Microsoft .NET and J2EE
By Peter
Laudati, et al. for Microsoft Press
380 pages for $35.99
http://books.internet.com/books/073561847X
From
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
Hall
620 pages for $49.99
http://books.internet.com/books/0131472232
From
the people at Sun and more…


–> Expert C# 2005 Business Objects
By Rockford Lhotka for
Apress
680 pages for $59.99
http://books.internet.com/books/1590596323


=========================================================
New
& Updated Articles on
CodeGuru
==========================================================


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


http://nl.internet.com/ct.html?rtr=on&s=1,2gx0,1,fka1,909i,jorm,i5r0


This week’s CodeGuru posts:


==================
===  
Videos   ===
==================


==> ASP.NET 2.0


– Using the ASP.NET 2.0 MultiView
Control
    By Bill Hatfield
VIDEO: See how to
create mutliple views on a single Web form. Want tab style functionality? This
is an easy solution!



http://nl.internet.com/ct.html?rtr=on&s=1,2gx0,1,2bx3,gp5x,jorm,i5r0


==================
===  Articles 
===
==================


==> AJAX


– Ajax Submission
Throttling
    By Nicholas C. Zakas
Ajax is
becoming the hot topic in Web programming today. Discover more useful things
that it can do for you.



http://nl.internet.com/ct.html?rtr=on&s=1,2gx0,1,1jd2,j270,jorm,i5r0


==> ASP.NET Tip


– Create a ViewState
Property
    By Eric Smith
The ViewState used in
ASP.NET provides a cleaner way to pass your own information while your page is running.



http://nl.internet.com/ct.html?rtr=on&s=1,2gx0,1,5vzl,l2jr,jorm,i5r0


==> COM


– Hooking a DirectX/COM
Interface
    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.



http://nl.internet.com/ct.html?rtr=on&s=1,2gx0,1,8uf7,bl84,jorm,i5r0


==> Console


– A Prize Console-ation in VB
2005
   
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.



http://nl.internet.com/ct.html?rtr=on&s=1,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.



http://nl.internet.com/ct.html?rtr=on&s=1,2gx0,1,19u2,emnz,jorm,i5r0


==> Database


– SQL Server 2005 Programmability Enhancements
— Common
Table Expressions
    By
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.



http://nl.internet.com/ct.html?rtr=on&s=1,2gx0,1,h5my,b3j8,jorm,i5r0


==> Debugging


– [Debugging] –
Symbols
    By Darka
Learn how to set up and use
the Microsoft Symbol Server to help you debug applications under Windows.



http://nl.internet.com/ct.html?rtr=on&s=1,2gx0,1,dr8q,5rx,jorm,i5r0


==> Icons


– Using Windows Vista
Icons
    By vlasta
Learn about the changes in the
.ico format in Windows Vista and how to compile Vista icons into your applications.



http://nl.internet.com/ct.html?rtr=on&s=1,2gx0,1,bu1b,ebv,jorm,i5r0


==> System


– [Updated] Setting a System Environment
Variable
    By Darka
A free tool (with source
code) that demonstrates how to programatically set System Environment Variables.



http://nl.internet.com/ct.html?rtr=on&s=1,2gx0,1,jmsa,f53g,jorm,i5r0


==========================================================
Discussion
Groups
==========================================================


Check out the CodeGuru discussion forums at:


http://nl.internet.com/ct.html?rtr=on&s=1,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!


… HOT THREADS …


Some of the current threads with the most activity are:


==> From Activex (Without GUI) pass String to HTML
buttons.
        http://nl.internet.com/ct.html?rtr=on&s=1,2gx0,1,8leo,i5i6,jorm,i5r0


==> How do you disable the manual eject of the CD
ROM?
        http://nl.internet.com/ct.html?rtr=on&s=1,2gx0,1,6aah,7n1o,jorm,i5r0


==> fseek / ftell, measuring text file length
inaccurate?
        http://nl.internet.com/ct.html?rtr=on&s=1,2gx0,1,3jzt,7rc5,jorm,i5r0


==========================================================
New
Articles on
Developer.com
==========================================================


Below are some of the new articles that have been posted to Developer.com (http://www.developer.com).


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.


http://nl.internet.com/ct.html?rtr=on&s=1,2gx0,1,4cvo,es42,jorm,i5r0


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



http://nl.internet.com/ct.html?rtr=on&s=1,2gx0,1,cxno,70fx,jorm,i5r0


3. The Axis2 Transport Framework
    By
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.



http://nl.internet.com/ct.html?rtr=on&s=1,2gx0,1,fq2r,lwm9,jorm,i5r0


==========================================================

More by Author

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends & analysis

Must Read