English Español Português Italiano
Tutorials Guide Help
Sitemap Adobe Autodesk Microsoft Corel Sony GNU Others

Macromedia Jrun 4 Tutorial - JRun Programmerí s Guide


Macromedia Jrun 4 Tutorial - JRun Programmerí s Guide

Macromedia Jrun 4 Tutorial - JRun Programmerí s Guide FREE DOWNLOAD THIS TUTORIAL
Tutorial in pdf format so you can save it to your PC, e-book reader or print.

Sponsored link

Note: The tutorial you are about to download is compressed format. Rar, if you do not have a decompressor rar files you can download 7-zip and you can display the Foxit PDF Reader.

Index Macromedia Jrun 4 Tutorial - JRun Programmerí s Guide

Developer resources
About JRun documentation
Printed and online documentation set
Accessing online documentation
Other resources
Contacting Macromedia
PART I Introduction to Programming with JRun
CHAPTER 1 JRun Programming Overview
Introduction to JRun programming
Programming resources
The java.sun.com website
Online resources
Trade press
Design patterns and programming techniques
JRun samples
Contents of this book
CHAPTER 2 Design Patterns
About design patterns
Pattern template
Tiered approach
Tiers and roles
Components to help you implement patterns
View Helper pattern
Front Controller pattern
Front Controller servlet example
Intercepting Filter pattern
Service To Worker pattern
Dispatcher View pattern
Understanding Struts
Installing Struts on JRun
Compiling web applications
Other Resources
CHAPTER 3 Internationalization and Localization
Introduction to internationalization and localization
Localization with Java
Understanding locales
Viewing available locales
Understanding language codes
Understanding country codes
Understanding character sets and encoding
Setting character sets in servlets
Setting character sets in JSPs
Compiling in non-default character sets
Using locales
Processing foreign-language form submissions
Getting request encoding type
Using encoding-aware String constructors
Using setCharacterEncoding
Displaying non-English characters
Using HTML entities
Using Unicode sequences
Using ResourceBundles
XML overview
XML Extensions to Java
XML processing tools
JRun and XML
More information
XML files in JRun
Standard J2EE XML files
JRun-specific XML files
Producing XML from web components
Producing XML from a JSP
Producing XML from a servlet
Writing JSPs in XML
Understanding the XML view
Viewing servlet source code
Understanding JSP XML
Simple JSP XML example
Differences between JSP and JSP XML syntax
New JSP XML tags
JSP XML syntax details
Using actions
JSP XML examples
Representing special characters in JSP XML
Transforming XML in web applications
Using XSL style sheets
Using the JAXP Transformer
XMLScript syntax
Using XMLScript
Using XDoclet with web applications
Enabling the XDoclet service
Configuring XDoclet resources
Using XDoclet tags
XDoclet examples
CHAPTER 5 Web Application Security
Security overview
Risk assessment
Security policies
Comparing declarative and programmatic security
Overview of web application security
J2EE security roles
Understanding web application authentication
Authentication example
Understanding users, groups, and roles
Comparing application and server authentication
Configuring the JRun authentication mechanism
Using web application authentication
Configuring access roles and resources
Configuring the validation method
Implementing programmatic security
Understanding the request methods
Creating portable roles
Writing secure web applications
Preventing client spoofing
Maintaining state information
Validating on the client side
Protecting databases
Validating on the server-side
Directing usersí paths
Preventing direct access to resources
Catching errors
Removing comments
Writing meaningful log entries
Java security resources
Web security
General security resources
PART II Programming with Servlets
CHAPTER 6 Servlet Programming Techniques
Servlet API
Basic servlet classes and interfaces
Servlet lifecycle
Servlet API packages
Using HttpServlet
Overriding the service method
Overriding the doGet method
Overriding the doPost method
Overriding both the doGet and doPost methods
Overriding other HTTP methods
Coding methods in the GenericServlet class
Web application and servlet mappings
Mappings quick start
Understanding URLs
Types of mappings
Understanding application mappings
Understanding servlet mappings
Understanding welcome file mappings
URI examples
Working with servlets
HTTP requests and responses
Response and request object methods
Accessing CGI environment variables
Processing requests
Using query string parameters
Using form input
Writing results back to the client
Working with special characters
Setting headers
Using the PrintWriter
Using the ServletOutputStream
Writing out to files
Writing to the web applicationís root directory
Writing to the web applicationís temporary directory
Handling exceptions
Handling Java exceptions
Handling HTTP error codes
Accessing error attributes
Working with sessions
Establishing sessions
Configuring sessions
Using URL rewriting
Using hidden form fields
Writing servlets as JSP pages
Using the synchronized keyword in the method signature
Using synchronized code
Using the SingleThreadModel interface
Synchronizing the methods that access an object-scoped variable
Using databases
Understanding JDBC
Advantages of JRun data sources
Sample data sources
Using JRun data sources
Improving database access performance
Passing control
Using the RequestDispatcher
Using the sendRedirect method
Working with cookies
Defining the lifespan of cookies
Creating cookies
Accessing cookies
Alternatives to cookies
Including content
Using the include method
Using the getResource method
Getting content from other HTML pages
CHAPTER 7 Filters
Overview of filters
Understanding the Filter interface
Simple filter example
Understanding the FilterConfig object
Understanding the FilterChain object
Creating a generic filter class
Adding and removing filters
Defining filters
Mapping filters
Ordering filters in the chain
Accessing initialization parameters
Simple filter example
Using wrappers
Working with requests
Working with request headers
Using filters for simple authentication
Using filters for simple authorization
Modifying the request
Working with responses
Parsing data in the response
CHAPTER 8 Application Lifecycle Events
Overview of event listeners
Creating event listeners
Defining event listeners
Listening for ServletContext events
Understanding the ServletContextListener
Understanding the ServletContextAttributeListener
Logging ServletContextListener example
File access ServletContextListener example
ServletContextAttributeListener example
Listening for HttpSession events
Understanding the HttpSessionListener
Understanding the HttpSessionAttributeListener
Logging HttpSessionListener example
Storing session information in database
HttpSessionAttributeListener example
Understanding the HttpSessionActivationListener
CHAPTER 9 Optimizing Web Applications
Optimizing servlets
Caching static data in the init method
Caching static data in the ServletContext object
Using the print method instead of println
Using the HttpSession object for state management
Flushing output
Increasing the response objectís buffer
Increasing the PrintWriter objectís buffer
Restricting calls to ServletContext.log
Optimizing JSPs
Precompiling JSPs
Disabling change detection
Caching static data in the ServletContext object
Disabling sessions
Increasing response objectís buffer
Using includes correctly
Not flushing output
Using the setProperty shortcut
Caching static data in jspInit
Using application-scoped beans for caching
Optimizing the web application environment
Optimizing session settings
Disabling hot deployment
Managing the thread pool
Trying different JVMs
Increasing the heap size of JVMs
Reducing logging activities
Optimizing JDBC
Using database connection pooling
Using prepared statements
Closing connections, statements and resultsets
Limiting fetches and number of rows
Testing the JDBC drivers
Caching static data
Using TCPMonitor
Using method timing
How method timing works
Configuring method timing
Printing instrumentation details to the output
Other resources
PART III Programming with JSPs
CHAPTER 10 JSP Programming Techniques
Introduction to JSPs
JSP lifecycle
Saving the JSP .java files
Storing JSPs
Declaring variables
Adding conditional logic to JSPs
Using parameters and attributes
Specifying a relative URL
Calling another JSP
Basic JSP syntax
About scripting elements
About directives
page directive
include directive
taglib directive
About actions
About JSP objects
Accessing the JSP objects
application object
config object
exception object
out object
pageContext object
request object
response object
session object
Handling errors
Catching runtime errors
Catching compile-time errors
CHAPTER 11 Custom Tags in Java
Introduction to custom tags and tag libraries
Tag basics
Benefits of tag libraries
Examples of custom tag libraries
Using tag libraries
Using custom tags in JSPs
Using custom tags with JSP XML syntax
Authoring tag handlers
Classes and interfaces
Coding a simple tag handler
Saving tag handlers
Using tag handlers
Creating a TLD file
Using attributes
Coding attributes in a JSP
Using attributes
Simple attribute example
Complete attribute example
Defining attributes in a TLD file
Interacting with body content
Understanding the BodyContent object
Understanding the doInitBody method
Understanding the doAfterBody method
Simple example
Looping example
Coding nested tag handlers
Using scripting variables
Using scripting variables in JSP 1.2
Using scripting variables in JSP 1.1
Validating tag libraries
Writing validators
Packaging tag libraries
CHAPTER 12 Coding Custom Tags in JSP
Overview of JSP custom tags
Comparing JSTs and custom tags
Using JSTs
Using the tag directive
Using attributes in JSTs
Using scripting variables in JSTs
Defining the URI
JST examples
Simple example
Interacting with attributes
Interacting with body content
Using scripting variables
Advanced usage
Implementing multiple handlers
Remapping the .jst file extension
Mapping requests to JSTs
Using recursion
PART IV Programming with EJBs
CHAPTER 13 EJB Overview
EJB Basics
The parts of an EJB
EJB clients
The deployment descriptor
Container services
EJB types
Session beans
Entity beans
Message-driven beans
Using EJB in JRun
JRun EJB architecture
Stubless deployment
Deployment options
The JRun EJB deployment descriptor
EJB clustering
The Enterprise Deployment Wizard
CHAPTER 14 EJB Programming Techniques
Using EJBs in JRun
Coding EJBs
Deploying EJBs
Accessing EJBs
Stateless session beans
Home interface
Component interface
Bean implementation
EJB deployment descriptor
JRun EJB deployment descriptor
Sample client
Stateful session beans
Home interface
Component interface
Bean implementation
EJB deployment descriptor
JRun EJB deployment descriptor
Sample client
Local EJBs
Local home interface
Component interface
Bean implementation interface
EJB deployment descriptor
JRun EJB Deployment descriptor
Sample client
Session-entity facade
Home interface
Component interface
Bean implementation
Sample client
BMP entity beans
Home interface
Component interface
Bean implementation
EJB deployment descriptor
JRun EJB deployment descriptor
Sample client
Additional BMP considerations
CMP entity beans (1.1 spec)
Home interface
Component interface
Bean implementation
EJB deployment descriptor
JRun EJB deployment descriptor
Sample client
Additional JRun CMP 1.1 considerations
CMP entity beans (2.0 spec)
Home interface
Component interface
Bean implementation
EJB deployment descriptor
JRun EJB deployment descriptor
Sample client
Additional JRun CMP 2.0 considerations
The Enterprise Deployment Wizard
XDoclet with EJB
Using XDoclet with EJBs
Basic XDoclet tags
JRun-specific XDoclet tags
XDoclet EJB example
Message-driven beans
MDB implementation
EJB deployment descriptor
JRun EJB deployment descriptor
Other files and settings
Sample JMS sender
Transaction management
Writing to the log from an EJB
JRun-specific methods
Using portable methods
PART V Programming with JMS
CHAPTER 15 JMS Overview
Introduction to JMS
Types of messaging
Message components
Message header fields
Message properties
Message body types
CHAPTER 16 JMS Programming Techniques
Point-to-point programming
Coding a point-to-point sender
Coding a point-to-point receiver
Publish-subscribe programming
Coding a publisher
Coding a subscriber
Using receive and receiveNoWait
PART VI Programming for Web Services
CHAPTER 17 JRun Web Services Overview
About JRun web services
The web services platform
The Axis SOAP engine
Defining the relationship between a message handler and a web services
CHAPTER 18 Publishing Web Services
Choosing a web service backend
JWS file
Java class file
Stateless session bean
Packaging and publishing a web service
CHAPTER 19 Creating Web Service Clients
Creating web service clients
Proxy clients
Dynamic clients
Web Services Tag Library reference
Axis built-in data types
CHAPTER 20 Working with WSDL Documents
Generating WSDL from a published web service
Generating WSDL from a Java interface or class
Java2WSDL command-line switches
Generating Java code from a WSDL document
Generating a web service proxy
Generating a web service skeleton
WSDL2Java command-line switches
CHAPTER 21 Web Service Security
Setting up authentication for JRun web services
Configuring Axis to use JRun authentication
Setting up web service clients for authentication
Coding a proxy client for authentication
Coding a dynamic client for authentication
Configuring a web.xml file for client authentication
Using SSL with JRun web services
Configuring a web service client to use SSL
CHAPTER 22 Monitoring SOAP
Monitoring SOAP requests and responses
Examples: SOAP request and response
SOAP request
SOAP response
CHAPTER 23 Web Service Data Type Mapping
Data type mapping with the Axis bean serializer
PART VII Other Programming Topics
CHAPTER 24 Using Flash with JRun
About using Flash with JRun
Using Flash with JRun
Building a JavaBean that communicates with Flash
Looking at the ActionScript
Accessing EJB applications with Flash
Using JMX with Flash

Download the file decompressor 7-zip.
Download the PDF reader Foxit PDF Reader.

TutorialsPDF.com © 2008 - This work is licensed under a Creative Commons License.