Skip to main content

Somebody Told Me

Posted by editor on September 12, 2008 at 6:20 AM PDT

Should we take SCM advocacy with a grain of salt?

During my move, I realized I wouldn't be able to host my personal web pages on my own server for a couple months until I got settled in and the DSL set up, so I needed to move to a hosting provider. While the hosting was easy for static pages and WordPress, one thing I never resolved was source control. I figured it would be easy enough to find a provider that ran Subversion, but the friend who was setting me up said that Subversion was old news and that I should really be using Git.

Git? Really? My scenario is a one-developer shop, where I want to just be able to move code and writing between computers while I'm mobile, and make it available in a somewhat secure and professional way to clients. So, Linus envy notwithstanding, I don't exactly see the point of using a distributed SCM system when there's only one developer to distribute to. In researching, I also found a blog entry, What a Git, which while being in part an ad for WANdisco, also makes the point that working in a massively distributed project is highly atypical. Git may be great for the Linux developers, and Mercurial for OpenJDK, but it still seems like overkill for smaller, organized groups.

But then again, this isn't a topic I'm an expert on, so I'd be interested to know: what are the advantages of distributed SCM, beyond the globe-spanning mega-projects?

And since it seems like a good discussion topic, the latest Poll asks
"What's your favorite Source Control Management system?" Cast your vote on the front page, then visit the
results page for current tallies and discussion.

Mercurial users will probably be interested in a new site launched by Sun and spotlighted in today's Weblogs. In
Kenai - High Throughput and Scalable Rails on GlassFish, Arun Gupta writes,
"Project Kenai was announced last week. It's a developer hub with SCM, issue tracking, forums and similar stuff you need for hosting your open source projects. And it is a Rails application deployed on GlassFish v2. "

Working hard on archiving dormant projects, Sonya Barry asks
Which community could use some clean up? "It's been a few months since I started clearing inactive and shell projects out of the active communities, and so far it looks good."

Rex Young makes the most of his network connection in
Turn a HTTP connection into a full-duplex communication (part one). "This trick is for a specific situation where two applications (both in your hands) want efficient and convenient communication, and HTTP connection is the only method available between them."

The latest Java Mobility Podcast is
Java Mobility Podcast 56: PhoneME port to PlayStation Portable. Max Mu shows off his PlayStation Portable that is running a port of PhoneME. They are currently working on a port to Nintendo DS.

In today's Forums, nordenberg fights through some fragmentation in GameCanvas not working properly in pMEA dual stack on Win Mobile 6. "We've got an application that uses GameCanvas and our own thread that pushes graphics to the display. This doesn't work very well in pMEA dual stack on my Winodws Mobile 6 device. The graphics we push to the screen is almost immediately overwritten with other graphics. (Old menus and other previous frame buffer graphics it looks like.) [...] We are now in the process to rewrite the application to use an ordinary Canvas, and it seems to work much better, but if it is possible we would rather use GameCanvas, as it works better on some SonyEricsson and Nokia devices."

In the announcement,
Mobicents Sip Servlets 0.5.1 released!!, deruelle_jean writes, "we are happy to announce the public availability of Mobicents Sip Servlets v0.5.1! As usual, Mobicents Sip Servlets is working on top of both Tomcat 6.0.14 and JBoss AS 4.2.2.GA. This version is an intermediate version (in waiting for a 0.6 JSR 289 certified version) providing more stability and fixing some Issues ( that have been raised against the 0.5 version. The JBoss version has also been updated with the latest Mobicents Media Server release (1.0.0.BETA4) The shopping demo has also been updated to be compliant with the APIs of the newly released Mobicents Media Server 1.0.0.BETA4."

Alex asks about
z-ordering in LWUIT.
"When the LWUIT source was released it was announced that z-ordering was supported. I was wondering how this was achieved and if some basic sample was available. In what kind of Layout Manager is this supported ? (can I use it in a BorderLAyout for example ? )"

In Java Today,
the GlassFish Quality Community is hard at working getting ready for next month's release of GlassFish v3 Prelude. Their meetings are all public - check the Meeting Minutes - and so are the meetings of the FishCat Team. Overall, the activity in the Quality mailing list is growing very fast - check out the MarkMail Archive.

DevX has posted a chapter of a new JavaFX book by Simon Morris. In Book Excerpt: JavaFX in Action, they write "JavaFX in Action is a hands-on tutorial that introduces and explores JavaFX through numerous bite-sized projects. The book provides a solid grounding in the JavaFX syntax and related APIs by showing you how to apply the key features of the JavaFX platform. [...] Author Simon Morris helps you transform variables and operators into bouncing raindrops, brilliant colors, and dancing interface components. Below the chrome, you'll master techniques to make your applications more responsive and user friendly. You'll also learn how to interact with your existing Java code so you can give your old apps some new JavaFX sparkle."

The SDN Channel has posted a video Deep Dive on the Lightweight UI Toolkit. In it, Ed Ort talks with Yoav Barel, Group Manager for Sun's Engineering Services Group, about the ideas behind LWUIT and the problems it tries to solve, the design and principles of LWUIT and the inspiration it takes from Swing, and walks through a demo of LWUIT's features.

Current and upcoming Java

Registered users can submit event listings for the href=""> Events Page using our href="">events submission form.
All submissions go through an editorial review before being posted to the

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 it will be
archived along with other past issues in the href=""> Archive.

Should we take SCM advocacy with a grain of salt?


Re: "But then again, this isn't a topic I'm an expert on, so I'd be interested to know: what are the advantages of distributed SCM, beyond the globe-spanning mega-projects?" In terms of individuals and small teams, "Distributed SCM" means that you have *complete* copies of the entire project at each place that you've cloned it. So, you don't need complicated server setups, you have a built-in/well-tested backup mechanism, the ability to work anywhere, the ability to work disconnected, etc. You also get things like much better merging and much better performance. One way to look at Distributed SCM is as an SCM system where branches really work well. Unless you're working on projects which require the use of Git, you'll find it much easier to learn to use Mercurial as it's interface is very close to e.g., Subversion. Have fun, John