All java.net Articles
1 to 30 of 189
Next
RAD That Ain't Bad: Domain-Driven Development with Trails
Ruby on Rails has stoked much envy in Java programmers weary of convoluted web application frameworks. The idea behind the Trails project is to bring Rails' domain-driven development concepts to Java. In this introduction, Chris Nelson shows how easy it is to get started.
by Chris Nelson
Taking Service-Oriented Architectures Mobile, Part 1: Thinking Mobile
This article describes how to implement SOA on mobile devices and shows how to implement a simple messaging application using mobile SOA design principles. It also points to some of the security implications and how to handle them.
by Nigel Warren
and Philip Bishop
Managing Timed Tasks Within a Cluster Utilizing The StopLight Framework
You want tasks in your cluster to run at a specific time, but you want to establish some control over them, so that your sequence of tasks won't run concurrently on different boxes and fail to coordinate. The StopLight framework offers a solution, managing tasks' execution and verifying their health. Clark D. Richey, Jr. shows how this framework works.
by Clark D. Richey, Jr.
An Open Source Database Benchmark
It's hard to make decisions about databases when you don't have an accurate way to measure their performance vis-à-vis your application's requirements. PolePosition offers a solution--an open source database benchmarking tool that you can customize with your own tests. In this article, Rick Grehan takes it out for a spin.
by Rick Grehan
Happy Anniversary, java.net
Your pictures of Duke and family celebrating java.net's second anniversary.
by Daniel H. Steinberg
Pixel Pushing
Users of desktop applications are demanding--something as simple as a misplaced or misaligned pixel is unacceptable to some users. So it's up to you to get things exactly right. But is this practical, and how do you do it? Jonathan Simon shows a process for analyzing, coding, and testing your GUI for pixel perfection, demonstrating it with a pixel-accurate mimicry of a Windows-specific icon.
by Jonathan Simon
Loosely Coupled Communication and Coordination in Next-Generation Java Middleware
This article provides a comprehensive overview of JMS and JavaSpaces and evaluates how each can be successfully used to support loosely coupled distributed applications.
by Bernhard Angerer
and Andreas Erlacher
Tomcat and OpenLDAP, from Configuration to Application
Want to support login and controlled access to your JSPs? LDAP is great, but configuring OpenLDAP for use with Tomcat is not straightforward. In this article, Darren Duke shows you how to bring the two together.
by Darren Duke
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
1 to 30 of 189
Next
|