Behind the Wheel
...of a nimble Java-powered robot
If you grew up wishing you could control "Johnny Sokko's Flying Robot" or the Wing Zero Gundam, and don't mind downsizing your ambitions just a bit, a pair of JavaOne contests have just the thing for you. The Robosapiens Developer Contests being held at JavaOne will let developers program the RS
Media Java ME powered Robosapiens robot from WowWee
Robotics. "The RS Media Robosapien robot provides a complete
multimedia robotic experience with the unique ability to be fully
customized and programmable. The robot is equipped with a head-mounted camera, a color LCD screen in his chest, a full speaker
system embedded in his armor. The robot is capable of playing MP3,
taking and displaying photos and videos, recording and playing audio
clips, and comes with Java games."
For those ready to program the robot, two contests are being held. The first is The Dance Contest, where the goal is "to create a midlet that successfully integrates original choreography, utilizing the robot's movements, with crowd-pleasing music. Dance moves are limited only by physical constraints of the robot." The second is The Escape Contest, where you need to "create a midlet that uses all of the robot's sensors and systems to enable the robot to escape the "The Room of Doom," which is a 5' x 5' hexagonal shaped area with a red and white color scheme. The room's exit has a large red area which is recognizable with the robot's vision sensors."
How 'bout that: a dancing, trap-escaping, Java ME robot. All we need now is little missiles to shoot out of its fingers and we'll have total robot street cred.
Also in Java Today,
TheServerSide notes the conclusion of a series of blogs on the Top 10 Java EE performance problems. "For the last two and a half months, Vincent Partington has been blogging about the top ten Enterprise Java Application Performance Problems. [...] Now he wraps up the countdown with some conclusions about Enterprise Java performance in general."
The "Plugins" tab on the NetBeans home page now takes you to the newly implemented NetBeans Plugin Portal. You can use the new NetBeans Plugin Portal to add your own plugins, comment on plugins, rate plugins, and add the Plugin Portal as an Update Center to your NetBeans IDE.
More details about the new portal are available in NB Evangelist Dave Botterill's blog Check Out The New NetBeans Plugin Portal.
In today's Forums,
rickcarson follows up on an open question from yesterday and makes the case for Jini in
Re: Java Cluster, whats the best way?
"Jini is a really good way to do a clustered supercomputer. What you do is on each of the computers you put a Jini client. Then you expose a Jini service. What happens is that the client goes to the service and asks for work. The service gives it some work to do. The client does the work. The client goes back to the service to ask for more work. Jini is nice in this case because it has the concept of expiry. Eg if one of the clients bursts into flame its lease will expire, and the service can figure out that if the lease expires whatever piece of work it last handed to that client needs to be handed to a different client. Moreover, real users can be using the computers for other stuff, and you can run the Jini clients highly niced and in the background, just using the spare cpu cycles without stealing from the users."
Joe Shevland offers a reality check on JPA annotations in
RE: EJBQL Exception.
"I'd say though the cases where you don't need to define a property->column mapping are pretty rare (almost restricted to tutorials and shallow examples I'd say) - all projects I've worked on to date have either had a legacy database, or a schema that's being dictated by DBA's/database standards for column names etc. A JPA-generated database schema is probably not going to be very good if you don't use the Column mapping for things like length, nullability etc. Or on the other hand, you'd have getters/setters like getPrs_Fst_Nm() which I personally wouldn't allow in a codebase."
hunterpreports a seemingly pathological garbage collection problem in GC killing me.
"I have an app and GC is killing me. everything is fine until the memory reaches the heap then gc takes forever (while still applying load) and the app is completely unresponsive (up to 2 minute wait times). I thought the time ratio combined with incremental would collect more aggressively (i have lots of free cpu). But with the parameters below, for a 4 minute run, the jvm spent well under a minute GC before it hit the wall and blew up. FYI the PSOldGen space is where 75% of the garbage stays until the wall. I've tried the -XX:MinHeapFreeRatio=30 (instead of default 40) but no difference."
SueÂ Abellera wraps up My Highlights from FISL and Sun Tech Days Brazil in today's Weblogs. "I recently returned from a two week trip to Brazil. I was there for FISL and Java ME Day, which was part of Sun Tech Days. I had an outstanding trip, from a Mobile & Embedded Community perspective. I talked to many people about Java ME and our open source community."
DavidÂ Herron ponders the idea of open source "abuse" in
"What separates legitimate use from outright exploitation? [...] Clearly the open source licenses allow for this situation to exist. Clearly the open source licenses generally do not require that changes be fed back to the project. Clearly the open source licenses generally allow for the recipient of code from a project to do pretty much as they wish."
Finally, KirillÂ Grouchnikov has "yet another reason to come to our technical session at JavaOne" in his latest demo blog,
Bringing life to Swing desktop applications - teaser 2.
Current and upcoming Java
- MayÂ 4-6 - Rocky Mountain Software Symposium 2007
- May 7 - CommunityOne
- May 8-11 - JavaOne 2007
- MayÂ 18-20 - South Florida Software Symposium 2007
- JuneÂ 1-3 - Greater Oklahoma Software Symposium 2007
- JuneÂ 20-22 - SpringOne
- June 24-28 - Jazoon'07
- JulyÂ 23-27 - O'Reilly Open Source Convention 2007
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
Archives and Subscriptions: This blog is delivered weekdays as
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.
...of a nimble Java-powered robot