Skip to main content

Coming to Java from .Net

Posted by daniel on March 4, 2004 at 5:08 AM PST

Looking for a roadmap to transition from .Net to J2EE?

Also in Java Today
, we link to the
IBM developerWorks three part series designed as a roadmap for .NET, Windows client-server, and ASP programmers making the transition to J2EE. Although presented as a series, each article seems more designed to stand on its own to be distributed to programmers working in a particular area. If you read all three you will find a good deal of repetition.

The first part of Getting on the Open Road provides an overview of the technologies that make up J2EE, presents the typical JDK "HelloWorld" example, and then shows examples of mapping over VB .Net and C# code to Java. Some of this material is repeated or recast in the second article but Windows developers will also find an introduction to Object-Oriented programming. You will again find much in the third article that is a repetition of material found in the first two, but there is also a section on ASP/COM and J2EE application models that introduces programming with servlets and JSPs.

For those already developing with Swing, Matt Stephens asks if "good enough" not good enough? in his opinion piece The Java Swing Survival Guide . Stephens recommends that Java reclaim the browser and take notes from the success that Macromedia has enjoyed. He advises that Flash is a competitor to Java in the browser and Java on the desktop. He would like to see new Swing components such as an Excel-like JXTable and better support for connectivity. The rest of his list includes features such as more layout managers and better support for anti-aliased fonts. He also pushes for bug fixes and optimization.

In today's
Weblogs , Bill Wake teaches you to "Fake it 'til you make it". In TDD: Tension, Release, and Generalization Bill writes "you have tests that don't pass, you should feel tension: you have tests, and you have code, and they don't agree about how the code should work. It's the kind of tension from holding your breath, or trying to thread a needle, or watching a movie where people don't realize the danger they're in (depending how much tension you like, I guess:) It's unstable: what will happen? The solution is to get out of the unstable state quickly, and release that dramatic tension." He provides one of my favorite types of examples and argues why it isn't cheating: you are simply moving from the specific through generalization.

Felipe Leme reports that the
JavaServer Faces specification finally approved
. He adds that the Apache Software Foundation's comment that accompanied their vote of "Yes" was "Is it really done?"

You are interested in Displaying international characters in JSP. Simon Brown talks about his struggles getting Japanese displayed correctly. He wrestled with <fmt:formatDate > and <fmt:setLocale> tags and discovered that the JSTL specification advised that using this second tag results in the disabling of browser-based locale setting capabilities. A few iterations later he had a solution that he presents in this blog entry.

In today's Projects and Communities , learn to how to use the Resolver classes with JAXP "to manage local copies of public DTDs, schemas, or indeed any XML resource that exists outside of the referring XML instance document" in Using XML Catalogs with JAXP.

There is a thread on the Java Games forums about the need for a Good beginners example game program. Follow the links to their suggested Pong program or add your own resource.

In today's News Headlines

Registered users can submit news items for the href=""> News Page using
our news submission
. All submissions go through an editorial review by news director
Steve Mallet before being posted to the site. You can also subscribe to
News RSS feed

Current and upcoming
Java Events

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 site.

Archives and Subscriptions: This blog is delivered weekdays as the
Today RSS feed
. All members can subscribe to the email
updates for the site at the href="">
java-net Mailing Lists page. You must be logged in to subscribe
the javanet_Daily and javanet_Weekly lists. 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.