All java.net Articles
1 to 30 of 247
Next
A Console Terminal for JARs
The "standard I/O" streams--System.out, System.err, and System.in--are critically important for many Java developers. But put your Java app in a JAR file and data sent to these streams is lost forever. Sanjay Dasgupta introduces a project to provide a GUI terminal for these streams in JAR-launched applications.
by Sanjay Dasgupta
Server-Side Typed Event Distributors
Event processing isn't just for GUIs and enterprise messaging systems anymore. Even an HTTP server can be seen as processing a series of events, and it can be advantageous to wire up one or more handlers to each event. Satya Komatineni shows how to build an event distribution framework and what it can do for you.
by Satya Komatineni
An Introduction to BlackBerry J2ME Applications
One thing most people don't realize about the BlackBerry is that it offers a capable J2ME environment. By using RIM's development tools, you can use some of the BlackBerry's unique features, like its scroll wheel, to deliver quality mobile apps. In this article, Edward Lineberry shows you how to get started.
by Edward Lineberry
WebWork Validation
WebWork is a web application framework designed for simplicity and productivity. In this introduction, Zarar Siddiqi introduces the options for validating web forms in WebWork, including using its built-in validators and defining your own.
by Zarar Siddiqi
(Not So) Stupid Questions 7: >>, >>>, <<, and ?: operators
This "stupid question" is about the little-used operators >>, >>>, <<, and ?:--what do they do and when are they used?
Building an eBay Rich Client using the XUI Framework
Rich client development doesn't have to mean AWT, Swing, SWT, or even Ajax. Using the XUI framework, you can build your GUI with XML markup, and use convenient data binding to interact with your Java code. In this article, Luan O'Carroll combines XUI with the eBay SDK to show how you build a rich client for eBay users.
by Luan O'Carroll
Introduction to Nutch, Part 1: Crawling
Do you need your own search engine, when the world already has Google? Quite possibly so: you may belong to an organization with enough of its own contents that you want to manage and run your own search engine--and know how it works. Nutch is an open source search engine written in Java. In this article, Tom White shows how it crawls pages to build its index.
by Tom White
Business Object State Management Using State Machine Compiler
Many business processes involve well-defined transitions from one state to another, and are easy enough to represent in code. But oftentimes, developers unnecessarily combine their state transition logic and business logic, which makes maintenance harder. Separating out the state machine makes this easier, and the State Machine Compiler (SMC) project offers a powerful tool to do this. Jason Zhicheng Li introduces SMC and with a simple order-filling example.
by Jason Zhicheng Li
Implementing Business Processes with OSWorkflow
OpenSymphony's OSWorkflow project offers an open source workflow framework written entirely in Java. This allows you to integrate workflow concepts into your Java application cleanly and easily. Diego Naya has an introduction to OSWorkflow and its concepts.
by Diego Naya
Duke's Vacation 2005
Duke's taking the rest of the year off, and java.net members have the pictures to prove where he's been and what he's up to.
by Chris Adamson
An Introduction to JMXRemote
JMX programmers know that getting an MBeanServerConnection from a JMXConnector comes with a string attached: no support for the registerMBean() method, and thus no way to register a local MBean with the remote server. The JMXRemote project aims to fix that, and Lu Jian shows how it works.
by Lu Jian
Writing Mixins using AspectJ
Despite their potential for adding common functionality across unrelated classes, mixins aren't directly supported by the Java language. But by using an aspect-oriented programming approach, you can bring mixins to Java. Mohan Radhakrishnan shows how to do this with AspectJ.
by Mohan Radhakrishnan
Log4Ajax
AJAX developers, like all client-side JavaScripters, know that alert is their friend at development time, but as a logging tool, it's severely limited. Eric Spiegelberg offers more robust ideas for logging on the client side and logging from the client to the server.
by Eric Spiegelberg
Java Tech: Image Embossing
Many GUIs use an "embossing" effect to create the illusion of depth, manipulating pixel colors to suggest small ridges and valleys. In this installment of "Java Tech," Jeff Friesen introduces an algorithm to perform the embossing effect, and shows how easy it is to implement with Swing and Java2D.
by Jeff Friesen
The Artisan and the Artilect, Part 3
Max Goff concludes his series on the future of artificial intelligence and compares the roles of the human craftsman and the human-created superior intellect.
by Max Goff
Holiday Pictures 2005
We're taking it easy the last week of 2005. Many people take this week as vacation and travel or spend a little extra time with family. Duke is no exception. We're looking for your pictures of Duke on vacation.
by Chris Adamson, Daniel H. Steinberg
Solving Sudokus in Java
Sudoku puzzles are wildly popular, and offer an ideal introduction to constraint programming (CP). Rather than using brute force to find every possible solution, CP allows you to specify what must be true in a problem space, and then efficiently finds an answer. Yan Georget shows how this works.
by Yan Georget
(Not So) Stupid Questions 6: Comparability of Minimum, Maximum Dimensions
This "stupid question" is about the definition of AWT/Swing Components' getXXXSize() methods, given that the Dimensions they return are not Comparable.
Fitnesse Testing for Fast-Paced Agile Web Development
If you're developing a web app, maybe it's time to make your test suite web-aware too. Fitnesse gives you a web interface to test development and execution, allowing you to test assertions against HTML, XML, and your Java code's behavior. Robert J. Miller gives an introduction.
by Robert J. Miller
App-Managed JDBC DataSources with commons-dbcp
Need a connection pool but maybe not one provided by a container? This need still comes up in special cases--tightly managed environments, CD-ROM distribution, etc.--and there's no need to reinvent the wheel yourself. Ethan McCalllum shows how the Apache Commons package commons-dbcp can help.
by Ethan McCallum
Using JMX and J2SE 5.0 to Securely Manage Web Applications
Want to know what's going on with your web application, in a more sophisticated way than just "tail"-ing a log file? By instrumenting your web app to work with JMX, you can use a number of tools to interact with the running application. Zarar Siddiqi shows how this can be accomplished.
by Zarar Siddiqi
Java Tech: Generics and You
Are you ready to put your generics knowledge to the test? Java Tech columnist Jeff Friesen has compiled a quiz with 20 questions designed to dig deep into the concepts, features, and gotchas of this major J2SE 5.0 feature.
by Jeff Friesen
Implementing Validation Rules using Aspects
Data validation is something that may be needed throughout your application, which makes it a candidate for an aspect-oriented programming approach. Srini Penchikala shows how to combine AspectJ and Drools to create a rule-driven data validation system.
by Srini Penchikala
Further Down the Trail
Trails gets you up and running quickly, but what does it take to create a real application, with sophisticated relationships and customized pages and editors? Trails creator Chris Nelson shows you how easy this is.
by Chris Nelson
Implement Your Own Proxy-Based AOP Framework
Aspect-oriented programming often comes with a totally new way of doing things, maybe not entirely to your liking. But why not take control? By using Java dynamic proxies, or the CGLIB library, you can create your own AOP framework, and really understand how it operates. Jason Zhicheng Li shows you how it's done.
by Jason Zhicheng Li
Sprinkle Some AJAX Magic in Your Struts Web Application
AJAX offers a richer client-side experience than is offered by the typical reload-the-page cycle of web applications, but do you have to start over to get its benefits? As Paul Browne shows, you can incrementally add AJAX functionality to an existing Struts web app.
by Paul Browne
Component Inheritance in EJB 2.0
Many think that that EJB 2.0 doesn't support inheritance for entity beans, and this has been a driver of support for POJO-based frameworks. However, David Musicant says that component inheritance is possible, explains what that means, and shows how to do it.
by David Musicant
Accessing a PDF Document with the Acrobat Viewer JavaBean
Do you need to open a PDF document in a Java GUI application or applet? Adobe's Acrobat Viewer JavaBean provides PDF viewing in the form of an easily embedded component. Deepak Vohra introduces its use and features.
by Deepak Vohra
Service Provisioning Through ESB
The Enterprise Service Bus approach to enterprise development separates functionality from transport, allowing you to develop deeply distributed systems without getting hung up on the messaging details. In this article, Binildas C. A. shows how to develop a basic ESB application and the advantages it conveys.
by Binildas Christudas
(Not So) Stupid Questions 5: Inheritance Versus Interfaces
This "stupid question" is about when to use inheritance and when to offer an interface.
1 to 30 of 247
Next
|