Java Server Side Programming


Book Description

To drive a car you don't need to understand how the engine works, but if you are a race car driver, you should. If you have race driver level programming talent, this book will take you under the hood of server technologies. By showing readers how to write a powerful and usable Java server from scratch (and in under 1,000 lines of code) this book shows how major technologies can be built from the ground up using bare bones Java. It gives readers a tour behind the scenes, enabling them to create similar powerful technologies themselves. This empowering book is a must-have for serious Java programmers. == Books and courses on servlets and JSP teach a list of features and how to use them. Effectively, this is like rote memorization, with no deep understanding. Because the technologies can be difficult to actually implement, the conventional wisdom is that learning by doing is not possible for server side technologies. But this book aims to change the status quo in servlet and JSP learning, by using an approach that does make learning by doing possible. The book actually guides the reader into writing a small Java web server, that can not only serve HTML and media pages, but implements powerful subsets of servlet and JSP technologies. And all this can be done in less that 1,000 lines of code (that's right, under one thousand LOC) with the guidance and technical approach of this book. The servlet and JSP subsets implement all the core technology and most of the powerful features. This gives the reader actual insight into how and why servlet and JSP features are designed that way, and what is the "magic" going on under the hood. The reader will no longer need to rote memorize the features of servlet and JSP, and will actually understand them. The book is accompanied by a downloadable file. This downloadable file includes support code, so readers can stay focused on the server technologies without getting side-tracked far into string manipulation etc.




Java Servlet Programming


Book Description

Servlets are an exciting and important technology that ties Java to the Web, allowing programmers to write Java programs that create dynamic web content.Java Servlet Programming covers everything Java developers need to know to write effective servlets. It explains the servlet lifecycle, showing how to use servlets to maintain state information effortlessly. It also describes how to serve dynamic web content, including both HTML pages and multimedia data, and explores more advanced topics like integrated session tracking, efficient database connectivity using JDBC, applet-servlet communicaton, interservlet communication, and internationalization. Readers can use the book's numerous real-world examples as the basis for their own servlets.The second edition has been completely updated to cover the new features of Version 2.2 of the Java Servlet API. It introduces chapters on servlet security and advanced communication, and also introduces several popular tools for easier integration of servlet technology with dynamic web pages. These tools include JavaServer Pages (JSP), Tea, XMLC, and the Element Construction Set.In addition to complete coverage of 2.2 specification, Java Servlet programming, 2nd Edition, also contains coverage of the new 2.3 final draft specification.




Inside Servlets


Book Description

This second edition of this bestselling guide is updated to reflect the Servlet API 2.2, how to effectively deploy a servlet-based application, security and user authentication, and explain the new JSP technology and new information on databases and JDBC. The CD-ROM includes an updated sample servlet code.




JavaServer Pages Pocket Reference


Book Description

JavaServer Pages (JSP) is harmonizing how web designers and programmers create dynamic web pages. The reason for this is simple: JSP capitalizes on the power of Java servlets to create effective, reusable web applications.JSP allows you to develop robust, powerful web content, and the best part is that you're not required to be a hard-core Java programmer.JavaServer Pages Pocket Reference is the perfect companion volume to O'Reilly's best-selling JavaServer Pages, also by Hans Bergsten. This book provides detailed coverage of JSP syntax and processing, directive elements, standard action elements, scripting elements, implicit objects, custom actions, tag library description creation, and WARs.







JavaServer Pages


Book Description

JavaServer Pages (JSP) has built a huge following since the release of JSP 1.0 in 1999, providing Enterprise Java developers with a flexible tool for the development of dynamic web sites and web applications. While new point releases over the years, along with the introduction of the JSP Standard Tag Library (JSTL), have incrementally improved the rough areas of the first version of the JSP specification, JSP 2.0 takes this technology to new heights.JavaServer Pages, Third Edition, is completely revised and updated to cover the JSP 2.0 and JSTL 1.1 specifications. It includes detailed coverage of the Expression Language (EL) incorporated into JSP 2.0, the JSTL 1.1 tag libraries and the new function library, the new tag file format that enables custom tag library development without Java code, the simplified Java tag library API, improvements in the JSP XML syntax, and more. Further, it details setup of the Apache Tomcat server, JSP and JSTL syntax and features, error handling and debugging, authentication and personalization, database access, XML processing, and internationalization.This book recognizes the different needs of the two groups of professionals who want to learn JSP: page authors interested in using JSP elements in web pages, and programmers concerned with learning the JSP API and using JSP effectively as a part of an enterprise application. If you're in the first group, you'll learn from the practical web application examples in the second part of the book. If you're in the latter group, you'll appreciate the detailed coverage of advanced topics in the third part, such as how to integrate servlets and JavaBeans components with JSP using the popular Apache Struts MVC framework, and how to develop custom tag libraries using the JSP API, with realistic examples that you can use as a springboard for your own libraries."Hans Bergsten, a JSP expert group veteran and one of our most active contributors, has thoroughly and accurately captured the new features of JSP 2.0 and JSTL 1.1 in a way that is well-organized and easy to understand. With excellent, to-the-point examples, this book is a 'must have' for any serious JSP 2.0 developer."--Mark Roth, JSP 2.0 Specification Lead, Sun Microsystems, Inc.Hans Bergsten is the founder of Gefion Software, a company focused on Java services and products based on J2EE technologies. Hans has been an active participant in the working groups for both the servlet and JSP specifications since their inception and contributes to other related JCP specifications, such as JSP Standard Tag Library (JSTL) and JavaServer Faces (JSF), and, as one of the initial members of the Apache Jakarta Project Management Committee, helped develop the Apache Tomcat reference implementation for the servlet and JSP specifications.




Client-Server Web Apps with JavaScript and Java


Book Description

As a Java programmer, how can you tackle the disruptive client-server approach to web development? With this comprehensive guide, you’ll learn how today’s client-side technologies and web APIs work with various Java tools. Author Casimir Saternos provides the big picture of client-server development, and then takes you through many practical client-server architectures. You’ll work with hands-on projects in several chapters to get a feel for the topics discussed. User habits, technologies, and development methods have drastically altered web app design in recent years. But the Web itself hasn’t changed. This book shows you how to build apps that conform to the web’s underlying architecture. Learn the advantages of using separate client and server tiers, including code organization and speedy prototyping Explore the major tools, frameworks, and starter projects used in JavaScript development Dive into web API design and REST style of software architecture Understand Java’s alternatives to traditional packaging methods and application server deployment Build projects with lightweight servers, using jQuery with Jython, and Sinatra with Angular Create client-server web apps with traditional Java web application servers and libraries




The Developer's Guide to the Java Web Server


Book Description

"The Developer's Guide to the Java Web Server provides a comprehensive description of the Java Web Server and specific techniques for putting this technology to work. The book describes the underlying servlet technology, reviews Java Web Server features, explores design options, and demonstrates the development process."--BOOK JACKET.Title Summary field provided by Blackwell North America, Inc. All Rights Reserved




Ajax on Java


Book Description

This practical guide shows you how to make your Java web applications more responsive and dynamic by incorporating new Ajaxian features, including suggestion lists, drag-and-drop, and more. Java developers can choose between many different ways of incorporating Ajax, from building JavaScript into your applications "by hand" to using the new Google Web Toolkit (GWT). Ajax on Java starts with an introduction to Ajax, showing you how to write some basic applications that use client-side JavaScript to request information from a Java servlet and display it without doing a full page reload. It also presents several strategies for communicating between the client and the server, including sending raw data, and using XML or JSON (JavaScript Object Notation) for sending more complex collections of data. The book then branches out into different approaches for incorporating Ajax, which include: The Prototype and script.aculo.us Javascript libraries, the Dojo and Rico libraries, and DWR Integrating Ajax into Java ServerPages (JSP) applications Using Ajax with Struts Integrating Ajax into Java ServerFaces (JSF) applications Using Google's GWT, which offers a pure Java approach to developing web applications: your client-side components are written in Java, and compiled into HTML and JavaScript Ajax gives web developers the ability to build applications that are more interactive, more dynamic, more exciting and enjoyable for your users. If you're a Java developer and haven't tried Ajax, but would like to get started, this book is essential. Your users will be grateful.




Web Server Programming


Book Description

When the web transitioned from a publishing to an interactive e-commerce medium, standardised web-browsers entered widespread use and developers were able to rely on a relatively stable client component. Since then, server-side developments have blossomed and resulted in considerable ease of programming, efficiency and increasing sophistication of the server-side environment. Focusing on various technologies that support the server-side processing of data from web-based forms, principally CGI style programs, scripting and Java solutions, this is a book tailored to the technical and computational components of running a commercial and successful website. To benefit most from this approach, you will have a working knowledge of HTML, some programming experience in Java or C++, and limited experience with databases. Its concentration on server-side to the exclusion of web-page design and client-side concerns will be welcomed by practitioners and students who want hands-on and in-depth guidance on: * Setting up and running an Apache server * Use of Perl for web CGI programming and support administrative tasks * PHP Scripting - ideal for prototyping small web services * Servlet technologies * JSP - separating the issues of business programming and presentation * XML - a few of its applications * Advanced services with EJBs * NET's new world order - a better model for client/server interaction The unified presentation allows for evaluation and comparison and cuts down on tedious duplication of content. Use it as a map to navigate the strengths and niches of each of the tools to help judge which best suits your environment and requirements. Realistic examples help to ground this broad coverage of server technologies and will prove invaluable for web masters, systems administrators and students looking for careers requiring web programming skills. Please visit booksite: www.uow.edu.au/~nabg/WebServer