October 26, 2005

IBM takes on JBoss

Announcing IBM WebSphere Application Server Community Edition
This is an important announcement (along along with others) as it furthers the committment of big companies to open source products with support. Linux is mainstream with support from Novell, Red Hat, IBM, etc., but in an enterprise with a small IT staff, it's difficult to build your business on software that's free of commercial support. Having the source code is a big plus, but most of the guys holding the IT organization together don't have time to dig through source to explain to the business side why a retail store or warehouse system is down.

The real question now is why does IBM provide so many application server options? It's confusing.

Posted by rob at 04:15 PM | TrackBack

October 24, 2005

October 23, 2005

links for 2005-10-23

Posted by rob at 07:18 PM | TrackBack

October 21, 2005

Bruce Tate on the Future of Java

Technologies to Watch: A Look at Four That May Challenge Java's Development Dominance
Good insight, and definately the "party line" with the development press. My thoughts...


  • Dynamic Languages - There has to be some benefit to static typing. In my experience, everyone's QA is just not that good, and it's hard for me to believe that someone won't discover a bug in a production deployment due to dynamic typing. The exception is probably application's dominated by string manipulation such as web based applications. Just don't think that dynamic typing is the best solution to every problem.
  • Continuation Servers - I completely agree.
  • Convention Over Configuration - I even more completely agree. I'm sick of "XML programming" so that I can have a fully configurable system. The configuration is as complicated as the runtime.
  • Metaprogramming - Sounds nice, but won't I have the same problem that I have with existing O-R mapping frameworks? How do I handle complex joins?

Posted by rob at 11:51 AM | TrackBack

October 20, 2005

Airlines and Entertainment

The future according to Steve Gillmor in Manhattan Metadrama...I like it.

On JetBlue...and watched the White Sox clinch the pennant. Note to airlines: I scheduled the flight to match the game and West Wing.


Posted by rob at 10:04 AM

October 17, 2005

October 15, 2005

links for 2005-10-15

Posted by rob at 07:17 PM | TrackBack

October 14, 2005

links for 2005-10-14

Posted by rob at 07:17 PM | TrackBack

Excellent Apple Speculation

I love this kind of worl-domination-master-plan-subversive speculation.
The Clicker: Apple's real plan for iPod video?

(and a very good point about torrents and H.264)

Posted by rob at 03:12 PM | TrackBack

October 11, 2005

Confluence & LDAP

I struggled with an Active Directory LDAP integration to Confluence for a couple of hours. I had previously written my own LDAP integration class, so I new the integration could work. Fundamentally, my problem was that AD required authentication to read an entry. But I work in a large company with a "challenged" IT department, and to ask them to setup a read-only account for this kind of thing takes years. So, thankfully, Confluence uses the OSUser libraries. Because that's open source, it was easy to extend the LDAPGredentiallsProvider to work in my IT environment. I then created an osuser_addon.jar and placed it in the Confluence lib directory, modified osuser.xml, and all was working. The class is below:
public class AiLDAPCredentialsProvider extends LDAPCredentialsProvider {

	private static final long serialVersionUID = 1L;

	String userSuffix;
	String myProviderName;
	
	public boolean init(java.util.Properties properties) {
		boolean ret = super.init(properties);
		
		userSuffix = properties
                     .getProperty("userSuffix").toString();
		myProviderName = properties
                     .getProperty("java.naming.provider.url").toString();
		System.out.println("init is " + ret);
		return ret;
	}

	public boolean authenticate(java.lang.String username, 
                              java.lang.String password) {
		if ((password == null) || "".equals(password)) {
            return false;
        }
		
		Hashtable localEnv = new Hashtable();
		
		//should be "com.sun.jndi.ldap.LdapCtxFactory"
		//url + "/" + dcSuffix
		String url = myProviderName + "/" + searchBase;
		localEnv.put(Context.INITIAL_CONTEXT_FACTORY,
                       "com.sun.jndi.ldap.LdapCtxFactory");
		localEnv.put(Context.PROVIDER_URL, url);
		localEnv.put(Context.SECURITY_PRINCIPAL, username +
                       userSuffix);
		localEnv.put(Context.SECURITY_CREDENTIALS, password);

		System.out.println("url = " + url);
		System.out.println(username + userSuffix);
		
		try {
			DirContext ctx = new InitialDirContext(localEnv);
			ctx.close();
			
			return true;
		} catch (CommunicationException e) {
			System.out.println(e);
			return false;
		} catch (NamingException e) {
			System.out.println(e);
			return false;
		}

	}
}

Posted by rob at 11:15 AM

October 10, 2005

October 07, 2005

October 06, 2005

October 05, 2005

Stephen O'Grady has some good insight on the Google-Sun partnership, Google/Sun: Overhyped or Undervalued?. He says two things that I really like. First,

So if one assumes that the participation in the JCP and the rumored hiring activity is done with a clear goal in mind, the question is what goal is that? From the Java side, I think the benefit to Google would be clear: just about every client side application they've developed to date has been Microsoft specific. The Google Toolbar was originally IE only, and both the Google Desktop and Google Talk are Windows only. This is in stark contrast to their thin-client offerings, which in general could care less what operating system you run on. Might Java be a bridge for those applications to other platforms? Could be.

On the surface, O'Grady's comment may seem ridiculous, but in light of Google's little invention called AJAX, the suggestion that Google could improve client-side Java seems plausible. Google did with Javascript what no one thought was possible, could they do the same with Java...probably.

Second,

The other interesting aspect of the deal that no one's talked about yet that I can see is one that's a bit outside my coverage: the hardware. After today, I'm really curious as to whether or not Google - the datacenter to end all datacenters - is looking into Sun for power reasons.

Everyone is so disappointed in the lack of Open Office news that they are overlooking Sun's marketing potential with a Google-hardware partnership. Sun has always prided themselves in industrial strength hardware. They are returning to their roots by hiring Andy Bechtolsheim and bragging about the features of their servers. Can you imagine the number of times Jonathan Schwartz will use Sun Fire X and Google in the same sentence if he can say that Google uses Sun hardware? That will speak volumes to existing and future Sun customers. If I was a Sun stock holder, forget Open Office, first tell me that Google has returned to Sun hardware.

Posted by rob at 10:08 AM | TrackBack

October 04, 2005

links for 2005-10-04

Posted by rob at 07:17 PM | TrackBack

The Best and the Worst of the Web

The Million Dollar Homepage - Own a piece of internet history!

Posted by rob at 10:02 AM