The problems encountered by a beginning Java programmer are many - and mostly minor. The problems you encounter as an experienced Java programmer are far fewer - and far more serious. "Java Programming 10-Minute Solutions" provides direct solutions to the thorny problems you're most likely to run up against in your work. Especially when a project entails new techniques or draws you into a realm outside your immediate expertise, potential headaches abound. With this book, a veteran Java programmer saves you both aggravation and-just as important-time.Here are some of the solutions you'll find inside: parsing XML using SAX and DOM, and using XSLT to transform XML to HTML; Java file I/O: copying and deleting entire directories; using Java search algorithms; thread management; leveraging Java Web Services support in SOAP, XML-RPC, and XML over HTTP; low-level JDBC programming; using servlets and JSPs (including struts) for web applications; using Enterprise JavaBeans (EJBs) container managed persistence; generating EJB classes with ant and XDocolet; and, using JUnit for unit testing.
Modeled after the straightforward Q&A approach of the DevX website, these in-depth, code-intensive solutions help you past obstacles right now and ultimately make you a smarter, more effective programmer.
Table of Contents
Introduction. File I/O. String Handling. XML Processing. Distributed Programming Using XML. Arrays, Vectors, and Hash Tables. Searching and Sorting. Iterative Deepening Search. Threads. JDBC Database Access. Java Servlets. Java ServerPages (JSPs). Enterprise JavaBeans (EJBs). Ant, JUnit, and XDoclet. Java Data Objects. Index.
Mark Watson has been a professional developer for over a decade. His clients include the Department of Defense and other federal agencies, Pacific Bell, Nintendo, Disney, and Lutris Technologies. Mark has written 13 books for Hungry Minds, Morgan Kaufman, Springer Verlag, Sams, McGraw-Hill, and Wiley on topics ranging from artificial intelligence to Java programming for Windows.