O'REILLY NETWORK'S ONJava.com NEWSLETTER
--------------------------------------------------
The Independent Source for Enterprise Java
==================================================================
Sponsored By Oracle
Want to be the first software developer in space? Register now for the
Oracle Space Sweepstakes for a chance to win a free ride on a Space
Adventures suborbital space flight -- a once-in-a-lifetime opportunity to
experience weightlessness and view the earth from 62 miles up!
http://www.oreilly.com/go/orc_jav2305
==================================================================
Greetings...
One of the more clever "big ideas" I remember from college came from
"Computability and Logic" class, one I did horribly in, I might add.
Leading us into thinking about operations on Turing Machine programs, he
said, "If you think about it, the memory of your Macintosh is just one
astronomically large binary number." That was a nice head-turner and set
up where we would go from performing functions on Turing Machine programs
to the "halting problem" (knowing whether or not a given Turing Machine
program will ever complete) and eventually onto the big one, Goedel's
Incompleteness Theorem. This week's piece on bitsets reminded me of that,
because it encourages you to break out of thinking of ints as just numbers
and instead shows you what you can do when you munge bits.
Bitwise manipulation seems like the arcane art of assembly-language
programmers and the most hardcore of performance freaks, but Glen
Pepicelli reports that it is possible and even desirable to use these
techniques in Java. In "Bitwise Optimization in Java: Bitfields,
Bitboards, and Beyond," he notes Java's use of boolean flags and new
bitset features in J2SE 5.0, then dives into the example of representing a
Chess board as bitsets, and how some expensive operations can be converted
into fast logical and mathematical manipulations.
http://www.onjava.com/pub/a/onjava/2005/02/02/bitsets.html
You don't want to put SQL queries directly in your Java code, because it's
bad style and will be hard to maintain. But your DBA doesn't want you to
run automatically generated queries with Hibernate (or equivalent) because
that forfeits the ability to create and use optimized queries. What do
you do? Sunil Patil suggests that one alternative is to look to SQLMaps.
In "Object-Relational Mapping with SQLMaps," he shows how SQLMaps lets you
set up queries in a separate XML file, where they can be hand-optimized to
your liking but remain isolated from your code.
http://www.onjava.com/pub/a/onjava/2005/02/02/sqlmaps.html
Paul Mutton, author of "IRC Hacks" acknowledges that participating in an
IRC discussion can be distracting while you're trying to work. A nice
alternative would be to have the chat read aloud to you while you're
working. And conveniently, there's an open source Java library that can
provide the text-to-speech functionality. In "IRC Text to Speech with
Java," he shows how to put the two together.
http://www.onjava.com/pub/a/onjava/2004/09/08/IRCinJava.html
In this week's feature article from java.net, Olexiy Prohorenko considers
the question of how to use container-managed persistence with Hibernate.
It doesn't help that when he was having trouble in his first attempt, he
looked in the FAQ and the only advice was "just do it." Having succeeded
in a second attempt, he spells out the steps to getting it working in
"Your Hibernate-Powered Application is Ready for CMT."
http://today.java.net/pub/a/today/2005/01/14/tranhiber.html
ONJava editor-in-chief, Daniel Steinberg, asked me to remind you that
there is a little more than a week left to submit proposals for sessions
for O'Reilly's OSCon conference
<http://conferences.oreillynet.com/os2005/>. Space is still limited, but
the Java track is being beefed up and we would love to have your
submissions that focus on open source Java applications. The call for
papers is open until February 13, 2005 so send in your proposals.
Please join us again next week.
Chris Adamson,editor
ONJava.com
==================================================================
Learning Lab: Save 40% on Web Programming Certificate Courses
http://www.oreilly.com/redirector.csp?link=UAWeb&type=news
This six-course series from the O'Reilly Learning Lab teaches you the
skills needed for web programming, web administration, and website
development. You'll learn HTML, JavaScript, XML, SQL, Perl, and Unix. Upon
completion of the series, students receive a Certificate of Professional
Development from the University of Illinois Office of Continuing
Education. Sign up by February 22nd, and save 40% on all Web Programming
Certificate courses.
==================================================================
*** Java News and Weblogs ***
java.net Weblogs
http://weblogs.java.net/
O'Reilly Network Java Weblogs
http://www.oreillynet.com/pub/q/weblog_s?x-subject=3
Other Java News (channel -- LANG: JAVA)
http://www.oreillynet.com/meerkat/index.php
Java Cookbook Recipe of the Day
http://www.onjava.com/onjava/javacook/solution.csp?day=1
Java Events
http://www.onjava.com/onjava/events/
==================================================================
The 2005 MySQL Users Conference
April 18-21, 2005 in Santa Clara, CA
http://www.mysqluc.com/
Databases--and MySQL in particular--are the key to next-generation
services and technologies. At the 2005 MySQL Users Conference,
co-presented by O'Reilly and MySQL AB, you can choose from over 75
sessions and tutorials to build your productivity, skills, and
flexibility in this essential technology. MySQL developers, architects,
DBAs, and industry leaders give an in depth view into the new MySQL 5.0
features, how to cut costs, the growing range of open source options, and
much, much more. Sign up before early registration prices end on February
28.
http://www.mysqluc.com/registration
==================================================================
*** Other Related O'Reilly Network sites ***
O'Reilly Network
http://www.oreillynet.com
XML.com
http://xml.com/
ONLamp.com
http://onlamp.com
O'Reilly Media
http://www.oreilly.com/
O'Reilly Java
http://java.oreilly.com/
***
ONJava.com Affiliates
Servlets.com
http://www.servlets.com/
JDOM.org
http://www.jdom.org/
------------------------------------------------------------------
To change your newsletter subscription options, please visit
https://epoch.oreilly.com/account/default.orm and click the
"Manage My Newsletters" link. For assistance, email
[EMAIL PROTECTED]
------------------------------------------------------------------
-----------------------------
Visit www.tsolver.net sooner
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/tsolver/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/