Imagine a world without eBay...unthinkable! How would you get that Farrah Fawcett poster, retired Beanie Baby, or first-edition pet rock? Handling over a gazillion (OK, we exaggerate--it's actually only 1 billion) page views each day, server-side Java makes eBay work.
Isn't it time you learned the latest (J2EE 1.4) versions of Servlets & JSPs? This book will get you way up to speed on the technology you'll know it so well, in fact, that you can pass the Sun Certified Web Component Developer (SCWCD) 1.4 exam. If that's what you want to do, that is. Maybe you don't care about the exam, but need to use Servlets & JSPs in your next project. You're working on a deadline. You're over the legal limit for caffeine. You can't waste your time with a book that makes sense only AFTER you're an expert (or worse one that puts you to sleep).
No problem. Head First Servlets and JSP's brain-friendly approach drives the knowledge straight into your head (without sharp instruments). You'll interact with servlets and JSPs in ways that help you learn quickly and deeply. It may not be The Da Vinci Code, but quickly see why so many reviewers call it "a page turner". Most importantly, this book will help you use what you learn. It won't get you through the exam only to have you forget everything the next day.
Learn to write servlets and JSPs, what makes the Container tick (and what ticks it off), how to use the new JSP Expression Language (EL), what you should NOT write in a JSP, how to write deployment descriptors, secure applications, and even use some server-side design patterns. Can't talk about Struts at a cocktail party? That'll change. You won't just pass the exam, you will truly understand this stuff, and you'll be able to put it to work right away.
This new exam is tough--much tougher than the previous version of the SCWCD. The authors of Head First Servlets and JSP know: they created it. (Not that it EVER occurred to them that if they made the exam really hard you'd have to buy a study guide to pass it.) The least they could do is give you a stimulating, fun way to pass the thing. If you're one of the thousands who used Head First EJB to pass the SCWCD exam, you know what to expect!
About this product: This new edition of Murach's Java Servlets and JSP makes it easier than ever for Java developers to master web programming. It starts by showing how to install and use Tomcat as a web server and NetBeans as an IDE. Then, it teaches how and when to use JavaServer Pages and Java servlets to build well-structured web applications that implement the MVC pattern. Next, it shows how to use sessions, cookies, JavaBeans, Expression Language (EL), the JSP Standard Tag Library (JSTL), and custom tags. Then, it shows how to use JDBC and connection pooling to work with a MySQL database. Finally, it shows how to use JavaMail, SSL/TLS, authentication, listeners, and filters. These are the skills that you need to build professional Java web applications. A great read for any Java developer.
About this product: With literally hundreds of examples and thousands of lines of code, the Java Servlet and JSP Cookbook yields tips and techniques that any Java web developer who uses JavaServer Pages or servlets will use every day, along with full-fledged solutions to significant web application development problems that developers can insert directly into their own applications.
Java Servlet and JSP Cookbook presents real-world problems, and provides concise, practical solutions to each. Finding even one tested code "recipe" that solves a gnarly problem in this comprehensive collection of solutions and best practices will save hours of frustration--easily justifying the cost of this invaluable book.
But "Java Servlet and JSP Cookbook" is more than just a wealth of cut-and-paste code. It also offers clear explanations of how and why the code works, warns of potential pitfalls, and directs you to sources of additional information, so you can learn to adapt the problem-solving techniques to similar situations.
These recipes include vital topics like the use of Ant to setup a build environment, extensive coverage of the WAR file format and web.xml deployment descriptor, file-uploading, error-handling, cookies, logging, dealing with non-HTML content, multimedia, request filtering, web services, I18N, web services, and a host of other topics that frustrate even the most seasoned developers.
For Java web developers of all levels who are eager to put into practice the theory presented in other API-focused books, the solutions presented in this practical book will prove invaluable over and over again. This is painless way for less experienced developers who prefer to learn by doing to expand their skills and productivity, while accomplishing practical solutions to the pressing problems they face every day. More experienced developers can use these recipes to solve time-consuming problems quickly, freeing up their time for the more creative aspects of their work.
Start building Java–based web applications now, even if you’re a complete newcomer to Java. Comprehensive and example–driven, Beginning JSP™, JSF™, and Tomcat™ Web Development is all you need to develop dynamic web applications using JSP, connect to databases with JSF, and put them into action using the world’s most popular open source Java web server, Apache Tomcat.
A comprehensive introduction to JavaServer Pages (JSP), JavaServer Faces (JSF), and the Apache Tomcat web application server
Key concepts made easy to grasp by numerous working examples and a walkthrough of the development of a complete e-commerce project
Written for professionals by a practicing Java web application professional and expert
What you’ll learn
Develop dynamic web applications using the popular JavaServer Pages (JSP) technology.
Connect to SQL–based databases, like MySQL, from JSP/JSF–based web pages.
Integrate XML and HTML markup into your Java web page or Java-based web application.
Build an e–commerce web site using sound design principles
Deploy web applications using the world’s most popular and widely adopted open source Java web application server, Apache Tomcat.
Who is this book for?
This book is ideal for anyone new to Java who wants to start developing Java web applications, but also offers a valuable refresher to Java web developers who are new to the latest JSP, JSF, and Tomcat standards.
About the Apress Beginning Series
The Beginning series from Apress is the right choice to get the information you need to land that crucial entry–level job. These books will teach you a standard and important technology from the ground up because they are explicitly designed to take you from “novice to professional.” You’ll start your journey by seeing what you need to know—but without needless theory and filler. You’ll build your skill set by learning how to put together real–world projects step by step. So whether your goal is your next career challenge or a new learning opportunity, the Beginning series from Apress will take you there—it is your trusted guide through unfamiliar territory!
Related Titles from Apress
Pro JSP 2, Fourth Edition
Pro Apache Tomcat 6
Pro JSF and AjaxPro JSF and Ajax: Building Rich Internet Components
About this product: ...the pattern chapters have plenty of code that allows you to understand the pattern both by explanation and by example of a real application.
— Tom Duff, Duffbert's Random Musings
Foundations of JSP Design Patterns gives you the tools to build scalable enterprise applications using JSP. While other books merely provide instruction on basic JSP and servlet development, this insightful guide goes a step further to offer a variety of best practices and design principles, enabling you to build your own scalable and extensible enterprise Java applications quickly and easily. Through the application of enterprise design patterns, JSP technology can be used to build complex enterprise applications in a highly reusable manner.
This is the first comprehensive guide to cover JSP 2 and 2.1. It supplies you with the tools and techniques to develop web applications with JSP and Java servlets. You'll learn to choose and implement the best persistence option for your web applications, and how to secure web sites against malicious attack and accidental misuse. You will improve the performance and scalability of JSP pages, as well as architect reliable, stable applications.
The authors describe all of the rich JSP 2 features, and explain JSF integration with JSP. Completing the thorough package, this book examines how integration with open source projects like Ant, Struts, XDoclet, JUnit, and Cactus can make web development even easier.
About this product: Write, adapt, deploy, and debug powerful and robust applications with help from this comprehensive resource. Learn how JSPs integrate with Enterprise JavaBeans and JDBC, and how they communicate with other Web components, including Perl, CGI, servlets, and applets. Well-suited for both experienced JSP developers and those new to JSP technology, this book is an ideal reference.
About this product: Ideal for anyone new to JavaServer Pages (JSP), Beginning JSP Web Development offers an excellent and thorough guide to using JSP effectively. Combining a tutorial of basic Java with excellent practical material on using Tomcat and related tools, this book will fill a valuable niche for anyone wanting to build Web applications the right way using some of the latest standards in Java.
Learning JSP today requires not only a basic knowledge of Java, but also practical advice for using Tomcat, custom tag libraries, database programming, and other standards. This title distinguishes itself with chapter-by-chapter coverage of all you need to program with JSP. For those new to Java, introductory material on data types, flow control, and basic class design will help you learn essential Java. The authors also present practical advice and samples for installing and configuring Tomcat (an open source JSP/servlet engine), including advice on deployment options. Sections on database and JDBC programming, servlets, and session management supplement the basics of using JSP with embedded Java scriptlets.
Standout material on JSP custom tag libraries will justify the price of this book for many readers (including those with previous Java experience, but little JSP exposure). Several sections on designing and deploying custom tag libraries show you how to make use of this powerful new Sun standard. The text closes with leading-edge material on the new Struts Web application framework, including a worthwhile case study for an online travel database using this pre-packaged codebase as a starting point. Sun has endorsed Struts and other application frameworks as a "best practice" when building JSP-based applications, and the authors do a good job showing off this solution, including advice on configuration options.
With JSP evolving into an even more powerful and flexible Web solution using custom tag libraries and other standards, this book fits the bill with an up-to-the-minute and approachable tour of exactly what any developer needs to use JSP productively in real projects. --Richard Dragan
Java for Web with Servlets, JSP and EJB is the one book you need to master Java web programming. It covers all the technologies needed to program web applications in Java using Servlets 2.3, JSP 1.2, EJB 2.0 and client-side programming with JavaScript. These technologies are explained in the context of real-world projects, such as an e-commerce application, a document management program, file upload and programmable file download, and an XML-based online book project.
In addition to excellent content, this book includes licenses to two Java web components from BrainySoftware.com. You receive a full license of the Programmable File Download component for commercial and non-commercial deployment. You are also granted to a license to deploy the author's popular File Upload bean for non-commercial use, which has been licensed by the Fortune 500 company Commerce One and purchased by major corporations such as Saudi Business Machine, Ltd. and Baxter Healthcare Corporation.