Assembling an application
Where do the pieces go?
Your application may depend on other people's work. You need to ensure that the jar files are installed and are in the class path so they can be found. There are many possible solutions but Thomas Kunneth explains why you might want to consider The Java Extension Mechanism. "Libraries loaded via the extension mechanism can be accessed by any Java program without further prerequisites (besides copying some files to certain directories). This article explains how the Extension Mechanism works and discusses the steps required to implement your own so-called optional packages."
In today's href="http://weblogs.java.net"> Weblogs . Scott Violet writes "Accomplishing baseline layout with Swing has been tough. This is for a number of reasons, but primarily because Swing doesn't offer API to determine where the baseline for a particular component is! Sure, we do have the getAlignmentY method, but that really doesn't do all you need and it was never wired up. I'm happy to report that we're nearly done with the baseline API for Swing. "
George Zhang posts on JDIC Features in Mustang. " In the recent months, the JDIC team has been working closely with the J2SE team to incorporate some of the exciting features from JDIC into Mustang. This shows a potential reward in contributing to the JDIC project: one day the contributed feature may become integrated into J2SE!"
Michael Nielsen blogs Hello Ogg. He offers his "support for the Ogg family of digital media streaming formats. Maybe I'll save some people a bit of time by compiling and summarizing the basics here (mostly compiled from that wonder of community effort, Wikipedia)."
Michael Nascimento Santos talks about Supporting script languages in your application. " Recently we've added generic script language support to genesis. Here I tell what we learned in the process and how you can run your favourite script language in your own application. "
In Also in
Java Today , Bill Burke blogs on his experience balancing the use of XML and annotations in his post When to use annotations. He proposes the following four rules: " Use an annotation if the metadata you are applying changes the design of your class.
Use an annotation if the metadata changes the design of code interacting with your class.
If your application needs to be portable between app-servers or databases, don't use an annotation that will not allow you to be portable
Use XML when you want to configure on a per-deployment basis."
The recent Core Java Tech Tip, an Introduction to Autoboxing takes a look at where you might use this Tiger language feature. "For example, the autoboxing feature allows seamless integration between generic types and primitive types." You will also see how transparant it is to box and unbox and some of the resulting problems.
In Projects and
Communities, Romain Guy talks about lessons learned writing the UI for the GameBoy Advance game Backyard Hockey and how the metaphors and visual effects of video game UI's might be used in desktop UI's.
Scott Seligman, Joe Darcy, and Peter von der Ahé will take your questions about New Language Features in J2SE 5.0 April 26, 2005 11:00 A.M. PDT/18:00 UTC.
Kelly O'Hair responds to the post Ant for all
in today's Forums. "There are lots of variables that may need to change regardless of MKS or CYGWIN. One of our big issues with Windows builds is that we can't re-distribute many of the software bundles needed to build, and Windows needs more of these than Solaris and Linux. Also with Windows, the install locations are not very predictable, and we need to use the pathnames without any spaces in their names, e.g. "C:/Progras~1/" rather than "C:/Program Files/". "
Trembovetski announces New Direct3D-accelerated Java2D pipeline in mustang build 33. "Check out the new Direct3D-accelerated Java2D pipeline in build 33. For more information, see this thread: http://www.javagaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=2D;action=display;num=1114213299"
In today's java.net
News Headlines :
Mobility Pack 4.1 Release Candidate
- RIFE Plugin
for X-develop 1.0
- JBoss 4.0 -
The Official Guide Shipping`
- Maven 2.0
- JOSSO Single
Registered users can submit news items for the
href="http://today.java.net/today/news/">java.net News Page using our
form. All submissions go through an editorial review before being
posted to the site. You can also subscribe to the href="http://today.java.net/pub/q/news_rss?x-ver=1.0">java.net News RSS
Current and upcoming Java
Registered users can submit event listings for the
href="http://www.java.net/events">java.net Events Page using our
href="http://today.java.net/cs/user/create/e"> events submission form.
All submissions go through an editorial review before being posted to the
Archives and Subscriptions: This blog is delivered weekdays as
Today RSS feed. Also, once this page is no longer featured as the
front page of java.net it will be
archived along with other past issues in the href="http://today.java.net/today/archive/">java.net Archive.
Where do the pieces go?