XML Parsing and Mac OS X JNIby Daniel H. Steinberg
ONJava Newsletter for 10/09/2003
Prabu Arumugam explains that "Parsing in single-threaded applications is straightforward. However, it is quite complex and challenging in a multithreaded application, such as an application server, because the applications often create a dedicated thread to parse XML, serving many concurrently running threads with the parsed data." In the article, XML Parsing in a Producer-Consumer Model, Prabu explains why and how you should use SAX for parsing the XML files.
In Mac OS X JNI Revisited, Will Iverson shows you how to use Apple's tools for writing Java code that calls into the native C code. Will also responds to questions he received in response to his book, "Mac OS X for Java Geeks", and he hints at the changes coming with XCode in the Panther release slated for October 24. Will speaks at O'Reilly's Mac OS X Conference the following week and will be happy to answer any of your questions about XCode at that time.
Our java.net feature of the week is Sam Newman's article Using RSS in JSP pages. Sam shows how to use the Informa open source Java API for parsing RSS files. You can add dynamic content to your site by creating "an RSS tag that should enable you to quickly insert RSS feeds while keeping with your site's current design."
To subscribe to the ONJava.com newsletter (or any O'Reilly Network newsletters), visit https://epoch.oreilly.com/account/default.orm and select the newsletters you wish to receive in your user profile (you'll need to log in with your existing O'Reilly Network account -- if you don't yet have an account, you'll need to create one).
To change your newsletter subscription options, please visit https://epoch.oreilly.com/account/default.orm and click the"Manage My Newsletters" link. For assistance, send help to
Till next week,
Daniel H Steinberg, editor
ONJava.com and java.net
ONJava.com News and Weblogs
Other O'Reilly Network sites
Return to list of ONJava Newsletters.
Return to the ONJava.com.