Skip to main content

Coding Naked

Posted by daniel on July 15, 2003 at 7:56 AM PDT

Getting started programming in Java can be a daunting task. Experienced programmers don't think twice about creating a GUI and adding a JButton. Ken Arnold suggests that you look at the JButton class with the eyes of a newbie. It is overwhelming. Scan the number of methods that are available to you from JButton directly and from the hierarchy from which it descends: AbstractButton, JComponent, Container, Component, and Object itself. All you want to do is create a button with a label that is tied to some action when it is clicked. What's all this other stuff?

That's part of the idea behind the Naked Objects framework. If you buy into the framework, you are supposed to be able to keep your attention on the business logic and allow the framework to help you with the routine but required tasks. Today's featured article, Introduction To Naked Objects is a comprehensive introduction to the framework. For those who think of javac coupled with either vi or emacs as their IDE, Naked Objects may be too much of a leaky abstraction.

Brian Coyner takes you through a quick example of using the Naked Objects framework for easily providing direct access to business objects. "The concept is simple: write behaviorally complete business model objects and use generic views and controllers. Thus, if a business model object supports a public behavior, then the user has access to that behavior. "

In today's featured Weblogs Alan Williamson advises you href=""> "Don't panic ... you don't need to know everything"
. He writes that you can't possibly keep up with all of the latest Java developments. You should try to track current trends and learn APIs when the need arises. Will Iverson looks for your input on the massive variety of data types being used. The old days of incompatibility of types may be reappearing in the use of web services. Provide feedback to his entry on
"Annoying Data Types & Open Sourcing A Schema Update Library"

In Also Today, there's a little conflict on the Javapedia. Join in the discussion of the best way to
. The upcoming J2EE 1.4 release includes the new release of href=""> JSP 2.0 Technology. JSP 2.0 spec co-lead Mark Roth presents an overview of the new features that will be included in JSP 2.0 in this JDJ article.

Steve Mallett, the Java Today news editor has gathered the following
Java Today News Headlines : href=""> "China Unicom adds Java to BREW", "Unisys Jumpstarts Server Line with JVM", "JCache alpha 2 released", "Inca X: v1.1 - free Jini 2.0 IDE", and "Yahoo to buy Overture for $1.63 billion".

Once this page is no longer featured as the front page of href=""> Java Today it will be archived at href=""> You can
access other past issues by changing the address appropriately.