|
MACROMEDIA JRUN 4 TUTORIAL - JRUN PROGRAMMER’ S GUIDE - TUTORIAL GUIDE HELP FREE
FREE DOWNLOAD THIS TUTORIAL
This tutorial in pdf format so you can save it to your computer or print.
Sponsored Link
Here you leave the free download of the tutorial
Nota: The tutorial you are about to download is compressed format . rar, if you do not have a decompressor rar files you can download free 7-zip and to display the Foxit PDF Reader. |
CONTENTS MACROMEDIA JRUN 4 TUTORIAL - JRUN PROGRAMMER’ S GUIDE
ABOUT THIS BOOK 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 Model-View-Controller Components to help you implement patterns View Helper pattern Problem Solution Strategies Front Controller pattern Problem Solution Strategies Front Controller servlet example Intercepting Filter pattern Problem Solution Strategies Service To Worker pattern Problem Solution Strategies Dispatcher View pattern Problem Solution Understanding Struts Installing Struts on JRun Compiling web applications Other Resources jrun programmer jrun jrun 4 jrun macromedia macromedia jrun jrun coldfusion macromedia jrun 4 jrun 4.0 jrun servers jrun servlet jrun 3.0 jrun closed connection jrun jsp jrun 3.1 jrun connector allaire jrun jrun 3 jrun studio jrun port jrun memory leak jrun hosting jrun tutorial download jrun jrun iis jrun servlet error jrun updater jrun web server jrun tomcat jrun 4 download jrun free download could not connect to jrun server jrun 4 updater 7 any jrun coldfusion servers jrun connector protocol error jrun wiki to any jrun coldfusion servers macromedia jrun 4 help macromedia jrun 4 pdf macromedia jrun 4 course macromedia jrun 4 lessons macromedia jrun 4 guides macromedia jrun 4 notes macromedia jrun 4 manuals macromedia jrun 4 tutorial macromedia jrun 4 introduction macromedia jrun 4 courses macromedia jrun 4 command macromedia jrun 4 manual macromedia jrun 4 lesson macromedia jrun 4 guide macromedia jrun 4 use macromedia jrun 4 note macromedia jrun 4 tutorials macromedia jrun 4 article macromedia jrun 4 instruction 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 Resources CHAPTER 4 JRun and XML 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 XMLScript syntax Using XMLScript Using XDoclet with web applications Enabling the XDoclet service Configuring XDoclet resources Using XDoclet tags XDoclet examples Resources CHAPTER 5 Web Application Security Security overview Risk assessment Security policies Delegation Validation 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 Resources 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 javax.servlet javax.servlet.http 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 GET vs POST 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 Synchronization 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 Resources 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 Examples 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 Declarations Scriptlets Expressions About directives page directive include directive taglib directive About actions jsp:useBean jsp:setProperty jsp:getProperty jsp:include jsp:forward jsp:param jsp:plugin 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 Looping 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 XDoclet 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 Terminology 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 Overview 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

|
|
| |
|