Remote
Method Invocation is a powerful technology for developing
networked applications without having to worry about the low-level
networking details. This chapter from Java Examples in a Nutshell,
3rd Edition presents examples of the RMI capabilities of the
java.rmi and java.rmi.server packages. If you
like this chapter, read the whole book (and up to nine others) on
Safari with a free trial subscription.
Streaming QuickTime with Java
-- Years ago, realtime multicast streaming came to
QuickTime in version 5, but people still don't realize that it can be
called from QuickTime for Java. Learn how it works from this
ONJava.com article by Chris Adamson, author of QuickTime for
Java: A Developer's Notebook.
Embedding Multimedia in JSPs -- A JSP is the preferred choice for combining multimedia with dynamic content, because you can make the tags that you use to embed the multimedia a part of the JSP's HTML template text. Chapter 17 of Java Servlet & JSP Cookbook teaches you how to use object and embed tags to embed multimedia in Java web components. If you like this chapter, read the whole book (and up to nine others) on Safari with a free trial subscription.
java.net Online Books -- Safari Bookshelf has expanded its services to members of the java.net community. Among Safari's many features are plugins for the Eclipse and NetBeans development environments, so users can search, annotate, read, and download the industry's leading technical books without ever leaving their working environment. Read about the new safari.java.net portal in this blog by Daniel Steinberg, editor of java.net.
A Computer Book Author's Manifesto -- In a recent post to the
StudioB mailing list, Kathy Sierra shared her thoughts about the state
of the computer book industry, along with some ideas about what can be
done to improve the situation. Kathy is a co-creator of O'Reilly's Head First Series.
A Distributed Discussion with Elliotte Rusty Harold -- In this ONJava.com interview,
Elliotte Rusty Harold discusses the improvements and hazards of
networking in Java, as well as the evolution of Java itself. Elliotte
is the author of Java Network Programming, 3rd Edition.
Creating Toolbars Using SWT -- The
final element that end users expect to see in a well-designed Eclipse
window is the toolbar. This sample chapter guides you through the
creation of the toolbar, toolbar buttons, and a complete toolbar
example, as well as making buttons work by adding listeners. Learn how
to make SWT work for you from SWT: A
Developer's Notebook.
URLs and URIs, Proxies and Passwords
-- Java networking is seldom as simple as it seems. Learn
how to encode and decode URLs, work with URIs, use multiple proxy
servers, query servers with HTTP GET, and use password-based
authentication. It's all in this excerpt from Java Network
Programming, 3rd Edition.
What's
So Java About Sun's Linux Desktop? Sun attracted sharp
criticism when it released a tightly integrated Linux desktop
distribution under the name Java Desktop System (JDS). In this article,
Sam Hiser writes that JDS is not only the very best, most complete, and
thoroughly integrated GNU/Linux distro on the market, but it's also a
testament to shared values for open standards and competitive
functionality. Sam is a coauthor of Exploring the JDS Linux
Desktop
Advanced Synchronization in Java Threads, Part
2 -- J2SE 5.0 introduces new utilities for
coordinating multiple threads. But where you have synchronized threads,
you run the risk of deadlock. Here's a look at deadlock and some
guidelines for preventing it, excerpted from O'Reilly's recently
released Java
Threads, 3rd Edition.
Groovy: Java's New Scripting Language
-- When experienced Java developers hear about Groovy,
their first reaction is often, "Oh no, not another scripting language."
Ian Darwin had the same response--until he took a closer look. Ian
shows you why Groovy is worthwhile, giving you the goods so you can
judge for yourself. Ian is the author of Java Cookbook, 2nd
Edition.
Download Chapters Through
Safari -- There are over 2,000 books from the
industry's leading technical publishers available on Safari Bookshelf.
As the library grows, so does its functionality. Do you ever wish you
could download content from O'Reilly books? Just the chapters you want?
Now you can, with a Safari Max subscription. Save time, reduce errors,
keep current, and save money. If you haven't yet gone on Safari, try a
free trial subscription.
Developing Your First Enterprise Beans -- One of the most important features of EJB is that enterprise beans have the ability to work with containers from different vendors, but selecting a server and installing your enterprise beans aren't trivial processes. Learn how to define the remote interface, create a deployment descriptor, deploy, and everything else you need to create and use your first entity bean, in this excerpt from Enterprise JavaBeans, 4th Edition.
BEA dev2dev Launches
-- BEA has launched an enhanced version of its developer
site, BEA dev2dev, providing an interactive, engaging portal that
offers collaborative tools, newsgroups, best practices, and technical
content. The site features a new collaborative software development
tool, dev2dev CodeShare, from CollabNet, as well as deep technical
content from OReilly Media. Visit dev2dev.bea.com.
Got Project Automation? Each project task
you automate is an investment that pays off immediately and increases
in value over time. Here's an overview of the benefits that automating
your project can bring, from Mike Clark, author of the Pragmatic
Programmers' Pragmatic Project
Automation.