I'd like to understand which particular features you're referring to that take seven lines of Java code that can be done with one line of .NET (I'm assuming C#, but maybe you mean VB.NET). That's not to say that .NET doesn't have a lot of advantages (such as their tool support), but I don't think it's that easy to write off Java/J2EE.
For example, have you looked at WebSphere, WebLogic, etc. for J2EE development? Have you tried maintaining a non-trivial web application in .NET and one based upon Struts (with Tiles)? (I haven't, but I can make a guess.) Don't confuse the tool with the underlying technology (that's exactly what Microsoft wants you to do, and it's a poor comparison in that regard).
Dan