Tutorial Downloads .com

Home

The J2EE Tutorial for the Sun ONE Platform

THIS tutorial is a beginner’s guide to developing J2EE applications for the Sun™ Open Networking Environment (Sun ONE) platform. Here we cover all the things you need to know to make the best use of this tutorial.This tutorial is intended for programmers interested in developing J2EE applications using the Sun ONE platform. Specifically, it uses the Sun ONE Studio 4, Enterprise Edition for Java to develop J2EE applications and deploy them on Sun ONE Application Server 7.

This tutorial is not a comprehensive introduction to Sun ONE platform software. It focuses on teaching the concepts of J2EE technologies through an extensive set of examples and provides basic instructions in how to use the software so that you can develop, configure, build, deploy, and run the examples.

Contents of this The J2EE Tutorial for the Sun ONE Platform
About This Tutorial. . . . . . . . . . . . . . . . . . . . . . . . . . . vii
Who Should Use This Tutorial vii
Prerequisites viii
How to Read This Tutorial viii
About the Examples ix
Further Information x
How to Print This Tutorial xi
Typographical Conventions xi
Chapter 1: Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Web Services Support 3
Distributed Multitiered Applications 5
J2EE Containers 11
Packaging 13
Development Roles 14
J2EE APIs 17
Chapter 2: Introduction to Web Applications. . . . . . . . . . . . . . 25
Web Application Life Cycle 26
Web Modules 28
Configuring Web Modules 30
Deploying Web Modules 33
Listing Deployed Web Modules 34
Running Web Applications 34
Updating Web Modules 35
Undeploying Web Modules 36
Duke’s Bookstore 37
Internationalizing and Localizing Web Applications 38
Accessing Databases from Web Applications 39
Chapter 3: Java Servlet Technology . . . . . . . . . . . . . . . . . . . . .47
What is a Servlet? 47
The Example Servlets 48
Servlet Life Cycle 51
Sharing Information 54
Initializing a Servlet 58
Writing Service Methods 59
Filtering Requests and Responses 64
Invoking Other Web Resources 72
Accessing the Web Context 75
Maintaining Client State 76
Finalizing a Servlet 79
Further Information 82
Chapter 4: JavaServer Pages Technology . . . . . . . . . . . . . . . .83
What Is a JSP Page? 83
The Example JSP Pages 86
The Life Cycle of a JSP Page 88
Initializing and Finalizing a JSP Page 91
Creating Static Content 92
Creating Dynamic Content 92
Including Content in a JSP Page 98
Transferring Control to Another Web Component 100
Including an Applet 100
JavaBeans Components in JSP Pages 103
Extending the JSP Language 111
Further Information 112
Chapter 5: Custom Tags in JSP Pages . . . . . . . . . . . . . . . . . . .113
What Is a Custom Tag? 114
The Example JSP Pages 114
Using Tags 118
Defining Tags 122
Examples 137
Chapter 6: JavaServer Pages Standard Tag Library . . . . . . . 149
The Example JSP Pages 150
Using JSTL 151
Expression Language Support 153
Core Tags 159
XML Tags 165
Internationalization Tags 169
SQL Tags 172
Further Information 176
Chapter 7: Understanding XML . . . . . . . . . . . . . . . . . . . . . . . . 177
Introduction to XML 177
XML and Related Specs: Digesting the Alphabet Soup 187
Generating XML Data 199
Designing an XML Data Structure 233
Chapter 8: Introduction to Web Services . . . . . . . . . . . . . . . . 239
The Role of XML and the Java Platform 240
Overview of the Java APIs for XML 241
JAXP 242
JAX-RPC 250
JAXM 256
JAXR 263
Sample Scenario 265
Chapter 9: Building Web Services With JAX-RPC . . . . . . . . . . 269
Types Supported By JAX-RPC 270
Creating a Web Service with JAX-RPC 272
Creating Web Service Clients with JAX-RPC 276
Further Information 286
Chapter 10: Web Services Messaging with JAXM . . . . . . . . . . 289
The Structure of the JAXM API 290
Overview of JAXM 291
Tutorial 302
Code Examples 323
Conclusion 345
Chapter 11: Publishing and Discovering Web Services with JAXR
347
Overview of JAXR 347
Implementing a JAXR Client 351
Running the Client Examples 371
Further Information 382
Chapter 12: The Coffee Break Application . . . . . . . . . . . . . . . .383
Coffee Break Overview 383
JAX-RPC Distributor Service 385
JAXM Distributor Service 393
Coffee Break Server 401
Deploying and Running the Application 415
Appendix A: Java Encoding Schemes . . . . . . . . . . . . . . . . . . . .425
Further Information 426
Appendix B: HTTP Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . .427
HTTP Requests 428
HTTP Responses 428
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .429
About the Authors . . . . . . . . . . . . . . . . . . . . . . . . . .457
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .459


Resource: http://java.sun.com/j2ee/1.3/docs/tutorial/doc/J2EETutorial.pdf
Posted By : J2ee Free
On date : 04.04.10

Most used J2EE Tutorials

J2EE Tutorials ( Ebooks , PDF's )
Performance Tuning Essentials for Java and J2EE Web Application Architecture (based J2EE 1.4 Tutorial) WebObjects J2EE Programming Guide An Architects Guide Enterprise Application Integration J2EE and .net
JSP - Java Server Page (j2ee term)
JSP - Java Server Page (j2ee term) is a keyword/term used in JAVA - J2EE for Forms and Designer Developers
J2EE Interview Questions & Answers
What is "abstract schema, What is "access control, What is "ACID, What is "activation", What is "applet container", What is "application assembler" , What is "application component provider", What is "asant", What is backing bean , What is binding (JavaServer Faces technology) , What is business logic , What is CDATA , What is XSLTC , What is XSLT, What is XPath ... etc.. etc
OC4J - Oracle Containers for Java (j2ee term)
OC4J - Oracle Containers for Java (j2ee term) is a keyword/term used in JAVA - J2EE for Forms and Designer Developers
Java Programming Tutorial
This Java tutorial covers the details of Java Programming.The JAVA™ programming language is now being used to write distributed Internet applications. Unlike traditional languages, the JAVA™ language was designed to be used on a network.
Java/J2EE Job Interview Companion Book
Have you got the time to read 10 or more books and articles to add value prior to the interview? This book has been written mainly from the perspective of Java/J2EE job seekers and interviewers.
ADF BC – ADF Business Components (j2ee term)
ADF BC – ADF Business Components (j2ee term)is a keyword/term used in JAVA - J2EE for Forms and Designer Developers
Core J2EE Patterns tutorial Best Practices and Design Strategies
Core J2EE Patterns is the gospel that should accompany every J2EE application server...Built upon the in-the-trenches expertise of its veteran architect authors, this volume unites the platform's many technologies and APIs in a way that application architects can use, and provides insightful answers to the whys, whens, and hows of the J2EE platform
Struts 2 in Action tutorial book
The original Struts project revolutionized Java web development and its rapid adoption resulted in the thousands of Struts-based applications deployed worldwide. Keeping pace with new ideas and trends, Apache Struts 2 has emerged as the product of a merger between the Apache Struts and OpenSymphony WebWork projects, united in their goal to develop an easy-to-use yet feature-rich framework.
Servlets and JSP Passing the Sun Certified Web Component Developer Exam tutorial
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.
MVC - Model View Controller (j2ee term)
MVC - Model View Controller (j2ee term) is a keyword/term used in JAVA - J2EE for Forms and Designer Developers
Oracle Application Server Containers for J2EE Services Guide
This Java tutorial covers the details of Oracle Application Server Containers for J2EE Services Guide.
Oracle Containers for J2EE Security Guide
This Java tutorial covers the details of Oracle Containers for J2EE Security Guide.This manual discusses Oracle Containers for J2EE (OC4J) security features. This preface contains these topics:
JVM - Java Virtual Machine (j2ee term)
JVM - Java Virtual Machine (j2ee term) is a keyword/term used in JAVA - J2EE for Forms and Designer Developers
JSF - Java Server Faces (j2ee term)
JSF - Java Server Faces (j2ee term) is a keyword/term used in JAVA - J2EE for Forms and Designer Developers

Latest added J2EE Tutorials

Servlets and JSP Passing the Sun Certified Web Component Developer Exam tutorial
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.
Struts 2 in Action tutorial book
The original Struts project revolutionized Java web development and its rapid adoption resulted in the thousands of Struts-based applications deployed worldwide. Keeping pace with new ideas and trends, Apache Struts 2 has emerged as the product of a merger between the Apache Struts and OpenSymphony WebWork projects, united in their goal to develop an easy-to-use yet feature-rich framework.
Core J2EE Patterns tutorial Best Practices and Design Strategies
Core J2EE Patterns is the gospel that should accompany every J2EE application server...Built upon the in-the-trenches expertise of its veteran architect authors, this volume unites the platform's many technologies and APIs in a way that application architects can use, and provides insightful answers to the whys, whens, and hows of the J2EE platform
Enterprise JavaBeans 3 Tutorial Book
If you're up on the latest Java technologies, then you know that Enterprise JavaBeans (EJB) 3.0 is the hottest news in Java this year. In fact, EJB 3.0 is being hailed as the new standard of server-side business logic programming.
Java/J2EE Job Interview Companion Book
Have you got the time to read 10 or more books and articles to add value prior to the interview? This book has been written mainly from the perspective of Java/J2EE job seekers and interviewers.
The J2EE Tutorial for the Sun ONE Platform
THIS tutorial is a beginner’s guide to developing J2EE applications for the Sun™ Open Networking Environment (Sun ONE) platform. Here we cover all the things you need to know to make the best use of this tutorial.This tutorial is intended for programmers interested in developing J2EE applications using the Sun ONE platform. Specifically, it uses the Sun ONE Studio 4, Enterprise Edition for Java to develop J2EE applications and deploy them on Sun ONE Application Server 7.
Java Programming Tutorial
This Java tutorial covers the details of Java Programming.The JAVA™ programming language is now being used to write distributed Internet applications. Unlike traditional languages, the JAVA™ language was designed to be used on a network.
Oracle Application Server Containers for J2EE Security Guide
This Java tutorial covers the details of Oracle Application Server Containers for J2EE Security Guide.This manual discusses how to make effective use of the Oracle Application Server Containers for J2EE (OC4J) security features.
Designing Enterprise Applications
This Java tutorial covers the details of Designing Enterprise Applications.SINCE its introduction more than two years ago, the Java 2 Platform, Enterprise Edition (J2EE), has rapidly established a new model for developing distributed applications.
Sun ONE Application Server 7 Developer’s Guide to J2EE Features
This Java tutorial covers the details of Sun ONE Application Server 7 Developer’s Guide to J2EE Features.This guide describes how to create and run Java™ 2 Platform, Enterprise Edition (J2EE™ platform) applications that follow the new open Java standards model for the Java™Database Connectivity (JDBC™), transaction, Java Naming and Directory Interface™ (JNDI), Java™ Message Service (JMS), and JavaMail™ APIs, on the Sun™ Open Net Environment (Sun ONE) Application Server 7.