Memi.Reflection

Private members of memi's thoughts

.NET - J2EE Intercopytability

We've witnessed recently a growing flood of articles about the .NET - J2EE interoperabiliy. Looks like the fighters have come to rest, and now the negotiators start to speak. Anyway, I would like to write about somethig I call The .NET - J2EE Intercopytability.

As time goes, there are more and more similar features in both platforms. I had a discussion today with the Java team leader, and he gave me a brief introduction to the new JDK 1.5 . Some of the features, like Enums, made me bless my fortune of going in the .NET path, but some of them took me by surprise. What would you say about the much acclaimed Generics? Looks like the Java folks are going to enjoy this in about 5 months, while we'll have to scratch our nails until dec. 2004 (hopefully).

Now, while in this feature it's really not so clear who was the first, there is another feature, which is not a generic part of the JDK 1.5, but is a good example of one technology looking at another, and say “I want this feature too!”. I'm talking, of course, about the JSF technology. After reading the overview of this feature, one can't escape thinking it was copied from the ASP.NET overview. All the basic strcuture of seperate UI controls, events, adapters and so on is there. However, looks like the Java folks couldn't resist the inner urge to include XML file with every new feature, and so the poor programmer who would like to implement the JSF, will have to start coding XML.

Bless you, web.config!

Comments

Steve Maine said:

True, the Java guys are going to enjoy generics sooner than us .NET folks, but personally I'm glad to wait.

There's been much written about the implementation differences between .NET generics and Java generics. The fact that Java implemented generics without making changes to the underlying VM means that generics will always just be a compiler hack in the Java world.

Yes, we're going to be waiting for generics until Whidbey. The upside is that when we do get them, they will be first-class citizens in the .NET world -- with a highly optimized execution architecture and full reflection support.
# February 22, 2004 3:15 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)