Archive for February, 2008

Windows x64: 32bit Odbc vs 64bit Odbc

February 28, 2008

Lately I installed a 32bit application on Windows x64.
Well, this application need SQL Server, so I configured DSN ODBC.
I had some problems with ODBC, since Windows x64 has 2 different ODBC panels … which I didnt’ know.
I found usefull info here 64 Bit Installation Concerns.

This is the part that solved my problem, and cleared my minds.

It’s important to understand which kind of DSN you have. On an x64 system, you can create an ODBC connection(DSN) on the 32-bit side of the system or on the 64-bit side of the system.
32-bit applications will only see ODBC connections created in the 32-bit side, and 64-bits applications will only see ODBC connections from the 64-bit side. Each kind of application has is own registry.To setup DSN for 32-bit application you must use:
%WINDIR%\SysWOW64\odbcad32.exe
and for 64-bit application you must use:
%WINDIR%\System32\odbcad32.exe

There is not 32-bit edition of Windows XP on the XP Pro x64 media.
http://support.microsoft.com/kb/942976/en-us

A 64-bit version of the Microsoft Windows operating system includes the following versions of the Microsoft Open Database Connectivity (ODBC) Data Source Administrator tool (Odbcad32.exe):
• The 32-bit version of the Odbcad32.exe file is located in the %systemdrive%WindowsSysWoW64 folder.
• The 64-bit version of the Odbcad32.exe file is located in the %systemdrive%WindowsSystem32 folder.
The Odbcad32.exe file displays the following types of data source names (DSNs):
• System DSNs
• User DSNs

source: 64 Bit Installation Concerns
more info here: The 32-bit version of the ODBC Administrator tool…

Technorati tags: Windows x64, 32bit

Windows x64: run 32bit application on Windows x64

February 25, 2008

Lately I installed a 32bit application on Windows x64.
It was my “First Contact” 🙂

This application needs IIS but IIS didn’t help me a lot.
In order to put IIS on right street (mine! 🙂 )  I needed to enable IIS to run 32bit applications, this way:

cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1

Easy enough!??!

source: How to switch between the 32-bit versions…

Technorati tags: Windows x64, 32bit

EU English

February 22, 2008

The European Commission has just announced an agreement whereby English will be the official language of the European Union rather than German, which was the other possibility.

As part of the negotiations, Her Majesty’s Government conceded that English spelling had some room for improvement and has accepted a 5-year phase-in plan that would become known as “Euro-English”.

In the first year, “s” will replace the soft “c”. Sertainly, this Will
make sivil servants jump with joy. The hard “c” will be dropped in
favour of “k”.This should klear up konfusion, and keyboards kan have one less letter.

There will be growing publik enthusiasm in the sekond year when the troublesome “ph” will be replaced with “f”. This will make words like fotograf 20% shorter.

In the 3rd year, publik akseptanse of the new spelling kan be expekted to reach the stage where more komplikated changes are possible.
Governments will enkourage the removal of double letters which have always ben a Deterent to akurate speling. Also, al wil agre that the horibl mes of the silent “e” in the languag is disgrasful and it should go away.

By the 4th yer peopl wil be reseptiv to steps such as replasing “th” with “z” and “w” with “v”.

During ze fifz yer, ze unesesary “o” kan be dropd from vords
Kontaining “ou” and after ziz fifz yer, ve vil hav a reil sensibl
riten styl. Zer vil be no mor trubl or difikultis and evrivun vil find
it ezi tu understand ech oza.

Ze drem of a united urop vil finali kum tru.

source: Lingua unica per l’Europa

Thinking in Java (4th Edition) by Bruce Eckel

February 19, 2008

Thinking in Java (4th Edition) by Bruce Eckel

Amazon.com:
Thinking in Java is a printed version of Bruce Eckel’s online materials that provides a useful perspective on mastering Java for those with previous programming experience. The author’s take on the essence of Java as a new programming language and the thorough introduction to Java’s features make this a worthwhile tutorial.

Thinking in Java begins a little esoterically, with the author’s reflections on why Java is new and better. (This book’s choice of font for chapter headings is remarkably hard on the eyes.) The author outlines his thoughts on why Java will make you a better programmer, without all the complexity. The book is better when he presents actual language features. There’s a tutorial to basic Java types, keywords, and operators. The guide includes extensive source code that is sometimes daunting (as with the author’s sample code for all the Java operators in one listing.) As such, this text will be most useful for the experienced developer.

The text then moves on to class design issues, when to use inheritance and composition, and related topics of information hiding and polymorphism. (The treatment of inner classes and scoping will likely seem a bit overdone for most readers.) The chapter on Java collection classes for both Java Developer’s Kit (JDK) 1.1 and the new classes, such as sets, lists, and maps, are much better. There’s material in this chapter that you are unlikely to find anywhere else.

Chapters on exception handling and programming with type information are also worthwhile, as are the chapters on the new Swing interface classes and network programming. Although it adopts somewhat of a mixed-bag approach, Thinking in Java contains some excellent material for the object-oriented developer who wants to see what all the fuss is about with Java. –This text refers to an out of print or unavailable edition of this title.

Book Description
The legendary author Bruce Eckel brings Java to life with this extraordinarily insightful, opinionated and downright funny introduction. Thinking in Java introduces all of the language’s fundamentals, one step at a time, using to-the-point code examples. More than virtually any other book, Thinking in Java helps you understand not just what to do — but why. Eckel introduces all the basics of objects as Java uses them; then walks carefully through the fundamental concepts underlying all Java programming — including program flow, initialization and cleanup, hiding implementations, reusing classes and polymorphism. Using extensive, to-the-point examples, he introduces error handling, exceptions, Java I/O, run-time type identification, and passing and returning objects. He covers the Java AWT, multithreading, network programming with Java — even design patterns. The best way to understand the real value of this book is to hear what readers of the online version have been saying about it: “much better than any other Java book I’ve seen, by an order of magnitude…” “mature, consistent, intellectually honest, well-written and precise…” “a thoughtful, penetrating analytical tutorial which doesn’t kowtow to the manufacturers…” “Thank you again for your awesome book. I was really floundering, but your book has brought me up to speed as quickly as I could read it!”For both beginner and experienced C and C++ programmers who want to learn Java.

* From the basics of object development, all the way to design patterns and other advanced topics.

* By the author of the best-selling Thinking in C++ — winner of the 1995 Jolt Cola Award!

* On-line version has already received tens of thousands of hits — there’s a huge built-in demand for this book! –This text refers to an out of print or unavailable edition of this title.

Java2 Tecniche Avanzate

February 15, 2008

Java2 Tecniche Avanzate by Horstmann Cay S.; Cornell Gary

english version: Core Java(TM) 2, Volume II–Advanced Features (see below)

Gorilla.it:
Complemento indispensabile del libro Java 2 – I Fondamenti, questo volume fornisce la guida necessaria per risolvere anche i problemi di programmazione più complessi incontrati dagli sviluppatori Java esperti. Giunto alla sua quinta edizione, Java 2 – Tecniche avanzate offre un nuovo capitolo su XML e Java, oltre a descrizioni completamente riorganizzate di molte funzionalità avanzate: dalle collection ai metodi nativi, dalla sicurezza a Swing. Inoltre, presenta informazioni allo stato dell’arte per gli sviluppatori Java:
Una descrizione completamente aggiornata di multithreading, collection e reti.
Una descrizione degli oggetti remoti completamente rivista.
Nuove sofisticate tecniche per l’utilizzo dell’architettura dei componenti JavaBeans.
Tecniche di realizzazione di GUI avanzate basate su Swing e AWT.
Cay Horstmann identifica i problemi incontrati più spesso e fornisce una guida completa per risolverli, oltre al codice sempre più robusto che ha reso Java 2 – Tecniche avanzate un bestseller internazionale negli ultimi cinque anni. Il lettore avrà una migliore comprensione di reti, oggetti remoti, API JDBC, internazionalizzazione e molto altro.
Il CD-ROM contiene il codice sorgente completo degli esempi, Forte per Java 2, versione 2.0, Community Edition e Java 2 SDK, Standard Edition.

English Version

Core Java(TM) 2, Volume II–Advanced Features
Amazon.com:
Picking up where the authors’ first volume on Java left off, Core Java 2, Volume 2 covers the more advanced features of the Java 2 platform that can add polish and power to your Java programs. The authors’ accessible–yet thorough–coverage of essential Java APIs help make this book an attractive choice for any working Java developer.

Several chapters here are especially useful for getting control of new and important Java 2 features. Sections on the new Java 2 collection classes and using advanced Swing classes (like tables and trees) are particularly good. (While many other books just list Swing APIs, this volume provides short examples and effective commentary, which will let you master these complex Swing controls.) When it comes to Java2D graphics, the authors do a nice job of comparing the old AWT to the new Java2D, including drawing basic shapes and doing text output. (These operations are surprisingly tricky in this new API). A section on the new JDBC 2 standard shows off new features like ResultSets and scrollable cursors to good effect.

More advanced topics include multithreading, internationalization, and security. Throughout, this text introduces important concepts illustrated with comprehensible examples. The APIs for individual classes are listed too, making it possible to use this book as a reference, but it is the tutorial sections that stand out here. (The authors also aren’t afraid to point out where Java 2 is lacking–for example, in its printing support.)

Readers of the first volume will naturally want the second volume of Core Java 2 too. It’s also a great choice for any Java developer with JDK 1.1 experience who wants a tour of new Java 2 features that are essential for serious corporate development. –Richard Dragan

Topics covered: Java 2 advanced APIs, multithreading and synchronization, Java 2 collections, networking, databases and JDBC 2 (cursors and result sets), RMI and remote objects, Swing user interface classes, printing, tables and trees, JavaBeans, security and deployment, internationalization issues, JNI and native methods. –This text refers to an out of print or unavailable edition of this title.

Book Info
Provides advanced topics and real-world code for experienced developers, a thoroughly revised coverage of multithreading, networking, JDBC API, remote objects, and fully updated and tested code for the Java 2 platform. Softcover. CD-ROM included. –This text refers to an out of print or unavailable edition of this title.

  • February 2008
    M T W T F S S
    « Jan   Mar »
     123
    45678910
    11121314151617
    18192021222324
    2526272829  
  • .

    .Net Agile Antivirus Book C# Programming EntityFramework GTD Hyper-V LinQ MVVM Office Resharper SCRUM Security Sharepoint Silverlight SQLServer TFS ToDoList Unit Test VirtualBox Virtual PC Visual Studio VMware Windows7 WPF XeDotNet XML XPath