All java.net Articles
1 to 30 of 181
Next
Using PatchExpert to Extend Your Code More Easily
A small fix can be a big headache when you need to re-build, re-test, re-package and re-deploy software. If the change is small enough, distributing it as a minor "patch" makes a lot of sense. As Lu Jian explains, the java.net project PatchExpert makes this straightforward.
by Lu Jian
Good Fences Make Good Functions
In some ways, Groovy programming can be as much like Java programming as you want it to be. You can use it as syntactic sugar to simplify some of your least-favorite Java tasks or you can embrace it and explore language constructs unlike anything the typical Java programmer encounters. In this article, you will get some background and a quick introduction to closures.
by Craig Castelaz
Java Tech: Language Lessons
Java Tech columnist Jeff Friesen has been coding in Java for nearly
ten years, and in that time, he's found some surprises in the
language, like how += doesn't necessarily do what you
expect, or the hazards of invoking a potentially overridden method in
a constructor. In this article, he provides some important lessons
based on this experience.
by Jeff Friesen
Anniversary Pictures
We're coming up to the second anniversary of java.net, and looking for your pictures of Duke and family celebrating this event.
by Daniel H. Steinberg
Introducing AXIOM: The Axis Object Model
XML parsing often offers a Hobson's Choice of implementations: get events during the parse (and lose the parsed structure), or get the whole structure (and wait for the entire stream to be parsed before you can have any of it). Apache Axis 2 is using a new object model, AXIOM, that offers a different way to think about XML parsing. S. W. Eran Chinthaka looks at how it works.
by S. W. Eran Chinthaka
(Not So) Stupid Questions 4: Assigning Packages
This "stupid question" is about how to best organize your classes in packages.
J2ME Tutorial, Part 2: User Interfaces with MIDP 2.0
In part two of the J2ME tutorial you will create the user interface (UI) elements
of a MIDlet. Since the interaction with a user is a paramount concern in any MIDlet, due to the size of the screens, it is important for you to understand the basics of this side of MIDlets. Any interaction with a user is done via a UI element.
by Vikram Goyal
Designing an Enterprise Application Framework for Service-Oriented Architecture
It's one thing to talk about the advantages of a service-oriented architecture, and another to drill down to a design that satisfies the needs of an SOA framework. In this article, Shyam Kumar Doddavula and Sandeep Karamongikar spell out just how such a framework can be put together.
by Shyam Kumar Doddavula, Sandeep Karamongikar
The Java Extension Mechanism
Java has a huge collection of classes, but many projects need to call upon code outside of core Java, which leads to the question of where to store and how to load this code. Thomas Kunneth shows how Java's Extension Mechanism allows you to make new code available to all Java applications.
by Thomas Künneth
How To Build a ComputeFarm
Parallel computing allows some programs to run faster by dividing them up into smaller pieces and running these pieces on multiple processors. ComputeFarm is an open source Java framework for developing and running parallel programs.
by Tom White
Swing Threading
In this excerpt from SourceBeat's Java Desktop Live, Scott Delap begins by giving you an up-close look at the event dispatch thread (EDT), which is responsible for dispatching events to the appropriate Swing component and for performing the paint operations of Swing components. It doesn't take long for even experienced programmers to lock up the user interface or dramatically slow down the responsiveness of a Swing application. This excerpt takes a close look at the Swing threading model and provides advice and examples for getting the most out of your Swing application.
by Scott Delap
Breaking the Last Dependency
All of the factory patterns "encapsulate" the instantiation of concrete classes and help to minimize (as well as localize) the dependencies your code has on those concrete classes. This articles explains what "breaking the last dependency" means, how it relates to the Factory pattern, and why you should care.
by Elisabeth Freeman
and Eric Freeman
Java Tech: Acquire Images with TWAIN and SANE, Part 3
TWAIN is the standard for image acquisition from scanners and digital cameras, but its GUI assumptions make it ill-suited for Linux and other *nix operating systems. In part three of his series looking at image acquisition in Java, Jeff Friesen looks at the SANE alternative, and how to use it with Java.
by Jeff Friesen
Using the Strategy Design Pattern for Sorting POJOs
You have some plain ol' Java objects and you want to sort them. By what field? Well, by which ever one the user wants. But that implies different kinds of search logic, and how will you keep it straight? Olexiy Prohorenko shows how the Strategy design pattern is perfectly suited to solve this problem.
by Olexiy Prohorenko
April Fools 2005
What Java/technology April Fools stories would you have run this year?
by Daniel H. Steinberg
Web Wizard Component, Part 2: The View
A GUI wizard is something that's surprisingly tricky to get right in a web application. In the conclusion of this series, Michael Jouravlev takes the model from part one and builds out the user interface with Struts, addressing some interesting web usability problems along the way.
by Michael Jouravlev
Boxing Conversion in J2SE 5.0
J2SE 5.0's autoboxing feature liberates you from the hassle of bundling your primitives into wrapper objects in various situations (like putting them in collections), but autoboxing doesn't always behave as you might expect. Krishna Srinivasan has details on how this milestone feature really works.
by Krishna Srinivasan
Laszlo: An Open Source Framework for Rich Internet Applications
William Grosso gives you a quick overview of Laszlo, an open source rich internet applications development platform. After a high-level overview of what Laszlo is and how it works, you'll get a quick tour through some of the basic features of Laszlo, and see what's involved in building a very application in Laszlo. Finally, he looks at where it does and does not make sense to use Laszlo.
by William Grosso
Web Wizard Component, Part 1: The Model
A GUI wizard is something that's surprisingly tricky to get right in a web application. In this first article of a two-part series, Michael Jouravlev shows how to build a suitable data model for managing the wizard behavior from the server side.
by Michael Jouravlev
Principles, Patterns, and Practices: The Factory Pattern
There are several design patterns allow us to hide the type of an object even from those who seek to create it. These patterns are known as Factories.
by Robert C. Martin
Streamline Your Portlet Development with MVCPortlet Framework
This article presents an overview of MVCPortlet, an MVC framework for developing JSR-168-compliant portlets.
by Padmanabh Dabke
A Starter's Guide to the Eclipse IDE, Part 1: Installation and Projects
Installing Eclipse and working with basic Java
projects.
by Satya Komatineni
JBoss At Work, Part 1: Installing and Configuring JBoss
In this first article of a series, you'll learn how to download and install JBoss. Tom Marrs and Scott Davis, authors of the upcoming JBoss At Work: A Practical Guide, explore the directory structure and show you how to add and remove services and how to deploy an application to JBoss.
by Tom Marrs
and Scott Davis
Robotics: Using Lego Mindstorms and Java
In this article we will explore the brain of Lego Mindstorms that will enable us to program the robot to perform the functions we intend. You will look at installing and using the Java-based leJOS firmware.
by Krishnan Viswanath
Integrating Java Open Single Sign-On in Pluto
This article shows how to integrate Java Open Single Sign-On in Apache's Pluto portlet container.
by Gianluca Brigandi
FlyingGuns: A Distributed Realtime Simulation Game
FlyingGuns is a game as well as a demo for a technology created for distributed simulations that can be found in applications of various fields where data has to be distributed at high rates.
by Joerg Plewe
Timing is Everything
Chet Haase considers what it now takes to add dynamic effects, animations, or time-based events to a Java application and proposes and details a timing framework.
by Chet Haase
IoC Container Face-Off
Ken Ramirez looks at resolving component dependency resolution using the Inversion of Control pattern and compares PicoContainer and HiveMind.
by Ken Ramirez
J2ME Tutorial, Part 1: Creating MIDlets
Java 2 Micro Edition (J2ME) combines a resource-constrained JVM and a set of Java APIs for developing applications for mobile devices. Here is a step-by-step guide to creating MIDlets,
testing and deploying these MIDlets, and a look at the lifecycle of a MIDlet.
by Vikram Goyal
Low-Level Display Access in MIDlets
In part four of his series on mobile application development with J2ME, Thomas Künneth looks at the Canvas, which gives developers of games, multimedia, 3D and other applications the ability to render directly to the display instead of by way of a set of widgets.
by Thomas Künneth
1 to 30 of 181
Next
|