Jato: The new kid on the open source block, Part 3

Jato: The new kid on the open source block, Part 3

Translate XML documents into Java objects Welcome back for Part 3 in this series on Jato, the open source, increasingly capable, XML/Java translator. In Part 1, I introduced Jato and how to perform XML-to-Java and Java-to-XML transformations. Since then Jato…

Java Tip 111: Implement HTTPS tunneling with JSSE

Create your own HTTPS tunneling socket for your Java Secure Socket Extension application The Java Secure Socket Extension (JSSE) library from Sun Microsystems lets you access a secure Web server from behind a firewall via proxy tunneling. To do this,…

Master Java with these introductory books

Master Java with these introductory books

Do these newly released books for Java beginners live up to their predecessors? Introductory Java books are a rather popular bunch. If you’re interested in Java programming, you have to start somewhere. Most people pick up at least one book…

Encapsulation is not information hiding

The principles of information hiding go beyond the Java language facility for encapsulation Words are slippery. Like Humpty Dumpty proclaimed in Lewis Carroll’s Through the Looking Glass, “When I use a word, it means just what I choose it to…

Factory methods

How do you employ factory methods to your best advantage? Q: While going through ” Polymorphism in its purest form ,” I saw the unfamiliar term factory method. Could you please describe what a factory method is and explain how…

Reading objects is easy with SAX

Reading objects is easy with SAX

Write a reusable ContentHandler for reading objects from XML Application data should be held in a database or in configuration files, but never hardcoded in the application itself. Developers don’t need to think about a configuration file format: XML is…

Embed Java code into your native apps

Embed Java code into your native apps

Integrate a Java user interface with legacy code on Unix Like many developers, you want to incorporate new Java technologies into your projects. But currently your code is written in C or in another legacy language, and rewriting your entire…

Does Sun understand GUI design?

When will Sun make the Java GUI fast and consistent? When Java debuted in 1995, the focus was on applets — mini-applications, typically with a graphical user interface (GUI), that ran inside Web browsers. Developers who had worked with GUI…

Program multimedia with JMF, Part 2

Program multimedia with JMF, Part 2

Jump into the Java Media Framework’s important classes and interfaces If you know Java, multimedia programming is a piece of cake. Last month, in Part 1, you saw how many parts of the Java Media Framework (JMF) classes and interfaces…