Special Edition Using Java 2, Enterprise Edition - Bookswagon
close menu
Bookswagon
search
My Account
Home > Computer programming / software engineering > Web programming > Special Edition Using Java 2, Enterprise Edition
Special Edition Using Java 2, Enterprise Edition

Special Edition Using Java 2, Enterprise Edition


     0     
5
4
3
2
1



Out of Stock


Notify me when this book is in stock
X
About the Book

Java 2 Enterprise Edition is a combination of Java-related technologies including Java Server Pages, Servlets, and Enterprise Java Beans. Working together these 'pieces' make Java a viable solution for enterprise-scale applications. "SE Using J2EE" starts with a section covering the core J2EE components and how they fit into the overall application architecture. The book then builds off this foundation to explore the practical applications of J2EE including incorporating XML into J2EE, creating wireless Web applications, network programming with J2EE, managing security and encryption, object programming with Serialization and Reflection, and programming Java applets in the enterprise. Later chapters discuss alternative approaches to solving problems in J2EE applications including debugging, decompiling and disassembly. The book finishes with a useful reference section discussing each of the core J2EE APIs.

Table of Contents:
Introduction. Who Should Buy This Book. How This Book Is Organized. Conventions Used in This Book. I. ENTERPRISE JAVABEANS. 1. Application Architecture Concepts. The Three Layers of an Application. Single-Tiered Applications. Two-Tiered Applications. Three-Tiered Applications. The Trade-Offs The “ilities”. Hybrid Architectures. Case Study: An Online Ordering System. 2. A Quick Primer on SQL. Introduction to Relational Databases. Relationships. The Structured Query Language (SQL) Auto-Generated Keys. Troubleshooting. 3. JDBC—The Java Database API. What Is JDBC? JDBC Core Components. A Simple Database Query Program. Inserting, Updating, and Deleting Data. Updating Data from a Result Set. The JDBC Optional Package. Troubleshooting. 4. Remote Method Invocatione. What Is RMI? Creating an RMI Server Object. Creating an RMI Client. Remote Method Parameters. Using the RMI Registry. Implementing a Remote Object Factory. Performing Callbacks. Remote Activation. Troubleshooting. 5. Overview of Enterprise JavaBeans. The Need for EJB. Containers, Components, and Connectors. Enterprise JavaBeans Session Beans. Entity Beans. Transactions. Core Technologies. Case Study. 6. Creating a Session Bean. What Does a Session Bean Do? A “Hello World” Session Bean Creating a Stateless Session Bean. More Details About Session Beans. Creating a Session Bean That Does Some Work. Troubleshooting. 7. Creating an Entity Bean. What Is an Entity Bean? How an Entity Bean Interacts with the Database. Creating an Entity Bean with Bean-Managed Persistence. More Details About Entity Beans. Using an Entity Bean from a Session Bean. Passing References from One Entity Bean to Another. Troubleshooting. 8. Using Container-Managed Persistence. Why Use Container-Managed Persistence (CMP)? Creating a CMP Entity Bean Under EJB 1.1. Creating a CMP Entity Bean Under EJB 2.0. Troubleshooting. 9. EJB Transactions. Why Transactions Are Important? The ACID Test. Who Starts and Ends a Transaction? Using Container-Managed Transactions. Using the SessionSynchronization Interface. Using the Java Transaction API (JTA) for Bean-Managed Transactions. Troubleshooting. 10. Mapping Objects to a Relational Database. Relational Models Versus Object Models. Performance Issues. Using an Object Database. Using the TopLink Object-to-Relational Mapper. Troubleshooting. 11. Debugging an EJB. Why Debugging Is Tough. Using Log Files to Debug an Application. Using Debugger. Debugging an Enterprise JavaBean. Troubleshooting. 12. EJB Design. Client Access to Enterprise JavaBeans. Session Beans Versus Entity Beans. Creating View Objects. Improving EJB Performance. Case Study. II. JAVA SERVER PAGES AND SERVLETS. 13. Servlets. What Is a Servlet? A “Hello World” Servlet. The Anatomy of a Servlet. The HttpServlet Class. Troubleshooting. 14. Java Server Pages. A “Hello World” Java Server Page. Using the % % Tags in a Java Server Page. Displaying a Value with %= %;. Inserting Comments. Declaring Methods and Variables with %! %. Handling Multiple Threads in a JSP. Choosing Between Servlets and Java Server Pages. Troubleshooting. 15. Common JSP Tasks. A Simple HTML Form. Using the request Object. Retrieving Form Variables in a Servlet. Storing Data in a session Object. How Sessions Work. Forcing a New Session. Handling Session Termination. Handling Sessions Without Cookies. Troubleshooting. 16. Extending JSP with New Tags. Including Other Files. Forwarding to Another Page. The jsp:useBean Tag. Custom Tag Extensions. A “Hello World” Tag. Packaging and Installing a Tag. Conditional Includes Using Custom Tags. Accessing Tag Attributes. Processing Body Content with a Custom Tag. Adding Scripting Variables. Troubleshooting. III. ADDITIONAL J2EE TECHNOLOGIES. 17. CORBA. What Is CORBA? The Interface Definition Language (IDL). Creating a CORBA Server. Creating a CORBA Client. Attributes. More About IDL. Factories. Callbacks. Object References. Dynamic Invocation. Using CORBA and RMI Together. CORBA Application Architecture. Additional CORBA Services. Troubleshooting. 18. JNDI—Java Naming and Directory Interface. A Centralized Directory. JNDI Basics. Directory Operations. Using LDAP with JNDI. LDAP Classes and Attributes. Troubleshooting. 19. JMS—The Java Message Service. The Importance of Messaging. Types of Messaging. The Java Message Service (JMS). More About Messages. Message-Driven Beans. Troubleshooting. 20. Connecting to Existing Systems. Types of External System Connections. Socket Connections to Existing Systems. Sending Messages to Existing Systems. Using Custom Access Libraries. Using the J2EE Connector API. Case Study. 21. Packaging and Installing a J2EE Application. Using an Automated EJB Packaging Tool. How Enterprise JavaBeans Are Packaged. EJB Deployment Descriptor Options. Packaging Java Server Pages and Servlets. WAR Configuration Options. Application Deployment. EAR Descriptor Options. Troubleshooting. IV. USING XML WITH J2EE. 22. XML—The Extensible Markup Language. What XML Is and Isn't. Why XML Is Important in J2EE. Basic XML Syntax. Creating a Document Type Definition (DTD). Other XML Specifications. Java Meets XML. Creating XML Documents with Java. Parsing an XML Document with Java. Troubleshooting. 23. Using XSL to Translate XML Documents. What Is XSL?. A Simple XSL Style Sheet. Using a Standalone XSL Processor. Applying XSL Templates on the Browser. Applying XSL Templates from a Servlet. Navigating an XML Document with XPath. JSP or Style Sheets?. Troubleshooting. 24. Using Java-XML Tools. The Need for Additional Tools. The Example XML and Java Bean Files. Using KBML to Serialize and Deserialize Java Beans. Using JOX to Read and Write Objects in XML. Using Quick to Read and Write Objects in XML. Troubleshooting. 25. Remote Method Calls with XML-SOAP. What Is SOAP? Using SOAP with Java. Using SOAP with Enterprise Java Beans. Sending SOAP Requests via Email. Troubleshooting. V. NETWORKING. 26. Networks and Network Protocols. The Importance of Understanding the Network. The Internet Protocol. Domain Name Service (DNS). Firewalls. 27. Network Programming. Socket Programming. Using Datagram Sockets. Choosing Between TCP and UDP. Troubleshooting. 28. Overview of Internet Protocols. Who Defines Internet Protocols. Where to Find Internet Standards. Basic Features of Internet Protocols. Some Common Internet Protocols. An In-Depth Look at the File Transfer Protocol. Case Study. 29. The HTTP Protocol. The HTTP Protocol. Common Request Headers. Common Response Headers. The HTTP POST Command. GET Versus POST. HTTPS—Secure HTTP. Case Study. 30. SMTP, POP3, and IMAP4—The E-mail Protocols. The Simple Mail Transport Protocol. The Post Office Protocol, Version. The Internet Message Access Protocol. The Java Mail API. Troubleshooting. 31. Proxies and Relays. Connections Are Everywhere. Using a Relay to Trace Data. Relaying Datagrams. Creating a Custom Socket. Case Study. VI. SECURITY. 32. Introduction to Encryption Techniques. What Is Encryption? Encryption Terminology. Choosing the Right Kind of Encryption. Guarding Against Malicious Attacks. Digital Signatures. Digital Certificates. Case Study. 33. Encrypting Data. The Java Cryptography Extension. Generating an Encryption Key. Encrypting Data. Decrypting Data. Encrypting Objects. A Quick and Dirty Public Key Implementation. Accessing the Keystore. Exchanging Keys. Troubleshooting. 34. Digitally Signing Data. How Digital Signatures Work. A Simple Digital Signature Algorithm. Digitally Signing Data. Troubleshooting. 35. Using the Secure Socket Layer (SSL). How the Secure Socket Layer Works. Managing Keys and Certificates. Creating an SSL Server Program. Creating an SSL Client Program. Communicating with a Web Browser. An SSL Relay Program. Accessing Web Servers with SSL. Using SSL with RMI. Troubleshooting. 36. Java Security Features. The Advantages of Built-In Security. The Java Security Framework. Signing a JAR File. Troubleshooting. 37. J2EE Security. Role-Based Security. Basic Authentication. Creating a Custom Login Form. Checking Security Roles Programmatically. Using Client Certificates for Authentication. Troubleshooting. VII. DYNAMIC JAVA. 38. Serialization. The Many Uses of Serialization. Customizing Serialization. Dealing with Multiple Versions. Troubleshooting. 39. Reflection. What Is Reflection? Examining Objects at Runtime. Suppressing Access Restrictions. Creating Dynamic Proxies. Improving Reflection Performance. Troubleshooting. 40. Dynamic Class Loading. Loading Classes at Runtime. Designing Servers to Use Dynamic Class Loading. Troubleshooting. 41. Introspection. How Introspection Works. Using Introspection in an Application. Choosing Between Introspection and Reflection. Troubleshooting. 42. The Model-View-Controller Paradigm. What Is Model-View-Controller? Using Reflection to Implement MVC. Using MVC in a Web Application. Calling Multiple Controllers and Views. Case Study. 43. Code Generation. Generating Code Automatically. Using XML to Describe Objects. Dealing with Changes. To Generate or Not to Generate. Case Study. VIII. APPLETS. 44. Applet Development. Why and When to Use Applets. Creating an Applet. Applet Security Restrictions. Accessing Files and Data from an Applet. Improving Applet Downloads. Running Applets in a Standalone Application. Using the Java Plug-In. Troubleshooting. 45. Code Signing. Why You Should Digitally Sign Code. Signing Code for the Java Plug-In. Signing Code for Internet Explorer. Signing Code for Netscape Navigator. Troubleshooting. 46. Using Enterprise JavaBeans from an Applet. When Applets Make Sense in an EJB Application. Creating an Applet That Accesses an EJB. Getting to the Classes You Need. Troubleshooting. 47. Web Start—An Alternative to Applets. What Is Web Start? Creating a Web Start Application. File Access and Other Useful Features. Troubleshooting. IX. PROBLEM SOLVING. 48. Narrowing Down the Problem. The Art of Debugging. Debugging Techniques. Narrowing Down the Problem. Troubleshooting. 49. Decompiling and Patching. Decompiling a Java Class. Disassembling a Java Class. Patching a Java Library. Troubleshooting. X. J2EE IN PRACTICE. 50. A J2EE Web Application. Designing a Web-Based EJB Application. Creating the Entity Beans. Creating the Session Bean. Creating the Web Interface. Deploying the Application. Troubleshooting. 51. Using XML for Data Exchange. Why XML Is Good for Data Exchange. Parsing XML with SAX and DOM. Troubleshooting. 52. Internationalization. Detecting the Browser's Preferred Locale. Using Locale-Based Text Formatters. Using Resource Bundles. Troubleshooting. 53. Creating a Wireless Web Application. A Wireless “Hello World” Page. Brief Introduction to WML. Detecting Wireless Clients in a JSP or Servlet. A Wireless Score Entry and Reporting System. Troubleshooting. 54. Creating a Business-to-Business Application. What Does Business-to-Business Mean? Using Different Methods of Communication Data Formatting Issues. Creating a B2B Application. Index.

About the Author :
Mark Wutka has been programming since the Carter administration and considers programming a relaxing pastime. He managed to get a computer science degree while designing and developing networking software at Delta Air Lines. Although he has been known to delve into areas of system and application architecture, he isn't happy unless he's writing code¿usually in Java. As a consultant for Wutka Consulting, Mark enjoys solving interesting technical problems and helping his coworkers explore new technologies. He has taught classes, written articles and books, and given lectures. His first book, Hacking Java, outsold Stephen King at the local technical bookstore. He's also known for having a warped sense of humor. Most recently, Mark wrote Special Edition Using Java Server Pages and Servlets. He plays a mean game of Scrabble, a lousy game of chess, and is the bane of every greenskeeper east of Atlanta. He can be reached via e-mail at mark@wutka.com. You can also visit his company Web site at http://www.wutka.com.


Best Sellers


Product Details
  • ISBN-13: 9780789725035
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Que Corporation,U.S.
  • Height: 232 mm
  • No of Pages: 1088
  • Weight: 1810 gr
  • ISBN-10: 0789725037
  • Publisher Date: 16 May 2001
  • Binding: SA
  • Language: English
  • Spine Width: 62 mm
  • Width: 187 mm


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Special Edition Using Java 2, Enterprise Edition
Pearson Education (US) -
Special Edition Using Java 2, Enterprise Edition
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Special Edition Using Java 2, Enterprise Edition

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    Fresh on the Shelf


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!
    Your IP: 216.73.216.226 IN