Klippings

Clippings of various news and articles that tickle my interest of reading or knowing about it.

Monday, June 28, 2004

DataDirect Technologies: Designing Performance-Optimized JDBC ApplicationsDeveloping performance-oriented JDBC applications is not easy. JDBC drivers do not throw exceptions to tell you when your code is running too slow.

This document presents some general guidelines for improving JDBC application performance that have been compiled by examining the JDBC implementations of numerous shipping JDBC applications. These guidelines include:

Use DatabaseMetaData methods appropriately

Retrieve only required data

Select functions that optimize performance

Manage connections and updates

O'Reilly Network: Open Source Paradigm Shift"The Open Source Definition and works such as The Cathedral & the Bazaar tried to codify the fundamental principles of open source.

But as Kuhn notes, speaking of scientific pioneers who opened new fields of study:

Their achievement was sufficiently unprecedented to attract an enduring group of adherents away from competing modes of scientific activity. Simultaneously, it was sufficiently open ended to leave all sorts of problems for the redefined group of practitioners to resolve. Achievements that share these two characteristics, I shall refer to as "paradigms".[11]
In short, if it is sufficiently robust an innovation to qualify as a new paradigm, the open source story is far from over, and its lessons far from completely understood. Rather than thinking of open source only as a set of software licenses and associated software development practices, we do better to think of it as a field of scientific and economic inquiry, one with many historical precedents, and part of a broader social and economic story. We must understand the impact of such factors as standards and their effect on commoditization, system architecture and network effects, and the development practices associated with software as a service. We must study these factors when they appear in proprietary software as well as when they appear in traditional open source projects. We must understand the ways in which the means by which software is deployed changes the way in which it is created and used. We must also see how the same principles that led to early source code sharing may impact other fields of collaborative activity. Only when we stop measuring open source by what activities are excluded from the definition, and begin to study its fellow travelers on the road to the future, will we understand its true impact and be fully prepared to embrace the new paradigm."
Channelnewsasia.com: "www.microsoft.com/protect " Russian website that spread a "malicious" Internet programme has been shut down, software giant Microsoft said, adding that users of Internet Explorer are no longer at risk.

"Internet service providers and law enforcement, working together with Microsoft, identified the origination point of the attack in Russia and shut it down on Thursday," Microsoft said in a statement released late Saturday.

Advertisement


The Download.Ject program was not a virus or computer worm, Microsoft said,
describing it as a "targeted manual attack by individuals or entities towards a specific server".

Unlike viruses that spread by e-mail, this infection was propagated simply by visiting an infected website, which can install a so-called trojan or keystroke logger that allows hackers access to the PCs, security experts said on Friday.
USATODAY.com - Hackers seed Web sites to infiltrate PCsIn a new type of Web attack that could begin to spread, security experts estimate hundreds of thousands of Internet users unwittingly got their PCs compromised last week simply by clicking on a favorite Web page.

Profit-minded intruders stealthily seeded Web pages with contagions to help them steal personal information and turn compromised PCs into spam relays.

Tuesday, June 22, 2004

"Eclipse 3.0 is a Great Leap Forward," Says JDJ's Dudney (SYS-CON): "Today the Eclipse Foundation announced general availability of the royalty-free 3.0 release of Eclipse - described by the Ottowa-based foundation as a platform 'for tools integration, software modeling, and testing that has been broadly adopted by commercial vendors, academic institutions, and open technology developers.'
Bill Dudney, JDJ's Eclipse editor, commented, 'I am very excited about the promise of Eclipse 3.0. With each new milestone release the platform has become richer in its feature set, better performing and generally more productive to use.' "

Monday, June 21, 2004

oreilly.com -- Online Catalog: Eclipse
This link is is a chapter of a book 'Eclipse', chapter 9, discussing using Eclipse to do web development.

http://www.oreilly.com/catalog/eclipse/chapter/ch09.pdf
ONJava.com: Java Development on Eclipse, Part 1Author's note: In part one of a two-part series of excerpts from Eclipse's Chapter 2, we'll get down to the business of developing Java using Eclipse. We're going to take a look at using Eclipse for Java development as well as project management, going from the basics to the fairly serious. Nearly everything in this chapter is essential knowledge for the Java developer using Eclipse, so let's jump in.

Tuesday, June 15, 2004

Java vs C++ "Shootout" Revisited (SYS-CON)"I was sick of hearing people say Java was slow," says Keith Lea, "so I took the benchmark code for C++ and Java from the now outdated Great Computer Language Shootout (Fall 2001) and ran the tests myself." Lea's results three years on? Java, he finds, is significantly faster than optimized C++ in many cases.

Monday, June 14, 2004

Optimize Magazine > Closing Arguments > The Fast Track to Globalization > June 2004Fast Track To Globalization--Ralph Szygenda
In the next decade, my company, GM, will generate 60% of its
growth in underdeveloped countries like China and India. There's
incredible opportunity for business-technology execs who
recognize that the move to globalization is just beginning.
Optimize Magazine > Executive Report > Q&As > June 2004Q&As With MIT's Peter Weill, Harvard's Leslie Perlow
Weill's new book looks at the fundamental question of how firms
get value from IT--or not--while Perlow talks about the
importance of clear and honest communication.
LinuxDevCenter.com: Tales of Optimization and Troubleshooting [Jun. 03, 2004]Sometimes your software just isn't fast enough. Before reaching for your checkbook for the latest and greatest hardware, think for a minute. Can throwing brains, not money, at the problem really work? Howard Feldman
demonstrates real optimization techniques from the bioinformatics
world.
ONLamp.com: Paul Graham on HackingPaul Graham is a hacker, a painter, and an essayist known as much for his thoughtful writings on spam, hacking, and Lisp as for creating the Arc programming language. His new book, Hackers & Painters, contains many of his popular essays as well as several new ones. Paul graciously agreed to an interview with the O'Reilly Network about his work.

Friday, June 11, 2004

Seattle Post-Intelligencer: Arrests in theft of "Half Life 2" codeAuthorities have arrested some suspects in a case involving the theft of software blueprints for the hotly awaited action computer game "Half-Life 2," the FBI said Friday.

Wednesday, June 09, 2004

ONJava.com: An Introduction to the Eclipse IDE [Dec. 11, 2002]Eclipse, an open source Java-based IDE, brings together all of the tools a developer needs to be successful at Web application development: an extensible IDE, a standards-based compiler, remote debugging, Ant-based builds, JUnit-based testing, and plug-ins for communicating with most application servers and EJB containers.
Code Generation NetworkThis is the site dedicated to the issue of automatic Generating of Source Codes
Java Pro - Writing a Code Generator in Java: "Editor's Note: This is the first of two installments on using Java to write a code generator. This first installment defines a code generator, lists its benefits, and begins providing guidelines for designing and implementing a generic code generator. The article also looks at the code generator's architecture and Internal Object Model. The second installment concludes with a discussion of the importer and exporter interfaces, manual implementations, and using templates."
ONJava.com: Bug Prevention with Code Generation: A J2EE Case Study [Mar. 31, 2004]: "Once upon a time, assembler was the source code. Then compilers turned it into generatable code. The new wave of code generation reapplies, in the large, that same conceptual jump: Java, C#, PHP, COBOL, Pascal, XML, HTML, JSP, ASP, Fortran, CORBA IDL, assembler, Perl, Python, Ruby, and so forth can all be considered generatable languages, provided that you have appropriate tools to produce them. This is conceptually similar to compilers that enabled the automatic generation of assembly code.
The best site on the Internet to learn about this new wave of tools is the Code Generation Network (CGN), whose editor is Jack Herrington, author of book Code Generation in Action (CGiA). There you can find a database on available generators, a number of interviews with code generation experts, a list of recommended books on this fascinating subject, and more. Among other articles, Jack Herrington also published 'Code-Generation Techniques for Java' on ONJava.com. With CGiA, you can also learn to write your own generators, if you want to. That's a powerful technique that, once mastered, pops up in your mind very often to solve repetitive problems. Quoting from CGN, pragmatic engineers can get higher quality, consistency, productivity, and abstraction using code generation."
ONJava.com: Code-Generation Techniques for Java [Sep. 03, 2003]Working in Java either means writing a little bit of complex code or writing a lot of gruntwork code. J2EE is a prime example; implementing the persistence for a single database table takes five classes and two interfaces using EJBs, and almost all of the classes are clerical work. We have to write them, but we don't have to do it by hand. Code-generation techniques can make building high-quality EJB code a breeze.
WindowsDevCenter.com: SnagIt: The Ultimate Screen Capture Program [Jun. 08, 2004]Get SnagIt, the best tool you'll find for capturing and printing screens. It can create both a printout and graphic, in your choice of formats, and delivers the screen image as a file on disk, in email, as part of a catalog, or as a web graphic. All of that, however, is tiny taters compared to its full range of tricks for capturing what you see on the screen -- and even what you don't -- in ways that let you polish, hack, trumpet, analyze, and explain what's on your monitor and in any program you're developing.

The latest edition of SnagIt, version 7, triples the number of ways you can capture screens. It's also become much easier to use, thanks to a new interface, new wizards, and a peekaboo menu to launch different "profiles" -- combinations of screen areas, filters, and output choices that go into creating a screen shot. For aficionados of earlier versions of SnagIt, the hot keys still work, and there's a resort to a classic version that looks like a direct ancestor of DOS clunkiness. But trust me. In this case, new is better.