Tomcat + Ant, Object Persistence, and File-Serving Servletsby chromatic
ONJava Newsletter for 01/09/2003
It's time again for the ONJava.com newsletter. I hope you're spending a lazy afternoon in the sunshine, not stuck in a cold server room somewhere. We can't promise to raise the ambient temperature (unless you print out this email and burn it), but we can promise to tell you what's new this week. Here goes.
We often discuss technologies in isolation, but putting things together is highly important. Paul Wood's written a nice article on Tomcat 4, and more. Far more than just writing a Web application, he's put together JSPs, JavaBeans, MySQL, and Ant, on Mac OS X! There's lots of example code and explanation, so we've already had positive feedback on Creating a Web Application with Ant and Tomcat 4.
Any suitably large application will need to store data somehow. Relational databases are a popular option. When dealing with objects, though, it takes a lot of work to serialize them into rows and columns. The open source community has produced several projects to help this process. Charles Chan's Object-Relational Mapping with Apache Jakarta OBJ examines the OBJ framework for object serialization.
This week's book excerpt comes again from the new Java Enterprise Best Practices. This snippet discusses the curious case of sending file downloads from a servlet. You'd think it were easy, but getting the filename right across browsers is much trickier than it looks.
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
Our weblogs this week feature your editor asking why SOAP is so much harder in Java than in Perl. Hopefully, he's wrong.
Until next time,
O'Reilly Network Technical Editor
ONJava.com News and Weblogs
Other O'Reilly Network sites
Return to list of ONJava Newsletters.
Return to the ONJava.com.