Skip to main content

Black Friday

Posted by editor on November 25, 2005 at 4:48 AM PST


Engaging in a little enterprise

Your editor is away-from-keyboard this morning, taking in some of the frenetic day-after-Thanksgiving sales - commonly known as "Black Friday" because it can put retailers "in the black" for the year - to pick up holiday gifts for family members. The front page items and this blog were prepared last night... though given the usual 5-6 AM grind, it's really only a few hours before I'd usually do it anyways.

After each punitive holiday rush, I swear that next Christmas I'm doing all my shopping online, but the only time I did substantially most of my shopping at Amazon was actually several years ago. Going to real stores works better when I'm browsing, when I don't already know exactly what I want. Not to mention, it keeps the kids interested and gets them out of the house, something that a web page can't do. There are things for which online shopping is great - my music shopping is about 90% iTunes, 10% brick-and-mortar, and having kids has made me long for something like WebVan to return to Atlanta - but there are some parts of the retail experience that don't translate well to the online experience, like discovering new stuff. And there's no web page that will keep my kids interested for more than a minute or two. Well, except for HomeStar.

Still, with the power of comparison shopping on the web, it surprises me when I find better prices in person than on PriceWatch. I was amazed that a store near me blew out its HP iPod Shuffles for $49... $20 below PriceWatch's current best price. So that's what my wife is getting for Christmas (shhh! don't tell her!).


In Projects and
Communities
,
the JXTA Community project Drawboard is an application that offers graphical teleconferences, like a distributed whiteboard - when you draw something on your view, all participants can see it. The projects uses JXTA, which offers a simple peer-to-peer system that requires no configuration, or a definition of network address or port.

The November issue of the Jini Community Newsletter features an introductory article on JavaSpaces by Phil Bishop and NIgel Warren. The newsletter also links to Jini-related blogs from around the web, jini.org projects, news and upcoming events, and puts out a call for the annual Jini Community Contributor's Award.


The latest java.net Poll asks "Which of the following would be more useful to you... calling scripting languages from Java, or calling Java from scripting languages?" Cast your vote on the main page, then visit the results page for results and discussion.


caclark has
An opinion on deliverables..... mainly the rhino implementation in today's Forums.
"I was concerned that the latest Rhino release was not fully realized because it involved certain features that a poster (A. Sundararajan's Weblog) said was not to be included.... 'Although Mustang includes Rhino 1.6R1 (and probably will change to Rhino 1.6R2 before FCS), we are not including E4X (ECMAScript for XML) support in it. We had removed this feature primarily because of footprint consideration. Note that E4X Rhino implementation uses Apache XMLBeans (xbean.jar).' ... please explain to me how this is a good scenario regarding scripting implementation in the next version of the java platform. E4X is the only reason I personally would move to using Java 1.6 scripting (as it seems to currently be based on rhino)."

coxcu has been working through a Swing performance glitch that pegs his CPU and reveals
What finally led me to the problem:
"I'm looking at a similar problem now, so I decided to write up how I solved the last one. Hopefully it will either help someone else out of a similar spot or spur someone to show me a better way. To recap, I had a Swing application that consumed 100% CPU while just sitting there. Trying to find the bottleneck with java -agentlib:hprof didn't produce anything that seemed like good data. I posted to this forum, and got some nice suggestions, but nothing worked. Since this wasn't really interfering with development, I put the problem out of my mind and hoped that it would go away. Later, I had someone run the software on a laptop that was much slower than my development machine. While the software was still useable, the problem was much worse. I could no longer ignore the problem."


Navaneeth Krishnan considers the ideas and implications of Web Continuation Servers in today's Weblogs:
"Web continuations can change the way we think about web applications. Web continuations makes us think in a linear fashion i.e we can think of HTTP requests and responses as printfs and scanfs over the network and web applications can be coded like command line applications. It also makes web applications inherently stateful"

In Deliver Your Java Application in One-JAR!, Felipe Gaucho writes:
"I can't distribute my application in a single JAR because there is a dependency with the MySql - and the driver couldn't be accessed inside the application JAR due to classpath details. This is a strange feature of the JAR tool because it forces the users to download several files or use an external unzip tool in order to unzip the files before running the aplication - very odd."

Finally, Joshua Marinacci checks in with a
NetBeans on Mac Tip, namely
"How to make NetBeans not lock up every couple of minutes while GC'ing."


In Also in
Java Today
,
more and more businesses are turning to radio frequency identification (RFID), including retail, transportation, pharmaceuticals, and defense. The trick is integrating it with the rest of your enterprise application, ensuring that you still account for scalability, interoperability, security, availability, and so on. The dev2dev article RFID Technical Challenges and Reference Architecture by Puneet Agarwal, Ashok Banerjee, and Jeffrey Flammer, looks at one approach to integrating with a J2EE system.

Copying database data is a basic, yet endlessly complex task, because not all data copy operations are alike. But the sample database-copy classes you'll find in the article How To Copy Database Data Using JDBC provide a basic template for nearly every type of copy you need to perform.


In today's java.net
News Headlines
:

Registered users can submit news items for the href="http://today.java.net/today/news/">java.net News Page using our
news submission
form
. All submissions go through an editorial review before being
posted to the site. You can also subscribe to the href="http://today.java.net/pub/q/news_rss?x-ver=1.0">java.net News RSS
feed.


Current and upcoming Java
Events
:

Registered users can submit event listings for the href="http://www.java.net/events">java.net Events Page using our href="http://today.java.net/cs/user/create/e">events submission form.
All submissions go through an editorial review before being posted to the
site.


Archives and Subscriptions: This blog is delivered weekdays as
the Java
Today RSS feed
. Also, once this page is no longer featured as the
front page of java.net it will be
archived along with other past issues in the href="http://today.java.net/today/archive/">java.net Archive.

Engaging in a little enterprise