5
1
![.Net & J2EE Interoperability](http://img.images-bn.com/static/redesign/srcs/images/grey-box.png?v11.9.4)
![.Net & J2EE Interoperability](http://img.images-bn.com/static/redesign/srcs/images/grey-box.png?v11.9.4)
Paperback
$61.00
-
PICK UP IN STORECheck Availability at Nearby Stores
Available within 2 business hours
Related collections and offers
61.0
In Stock
Overview
A practical guide that discusses technical issues regarding the interoperability of J2EE and .NET. This book includes case studies from companies who have integrated J2EE & .NET.
Product Details
ISBN-13: | 9780072230543 |
---|---|
Publisher: | McGraw-Hill/Osborne Media |
Publication date: | 11/12/2003 |
Series: | Osborne Complete Reference Ser. |
Pages: | 287 |
Product dimensions: | 7.40(w) x 9.12(h) x 0.86(d) |
Table of Contents
Acknowledgments | xv | |
Introduction | xvii | |
Part I | J2EE Interoperability Inside and Out | |
Chapter 1 | Interoperability in the Enterprise | 3 |
Introduction to Distributed Application Development | 4 | |
Microsoft .NET and Java's Web Services Share a Similar Architecture | 6 | |
Interoperability in the Enterprise | 7 | |
J2EE Servlets, Java Server Pages, and Web Services | 8 | |
Enterprise JavaBeans, Interfaces, and JDBC Persistence | 8 | |
RMI-IIOP, the JNDI, and Deployment Descriptors | 8 | |
.NET Language Integration Components | 9 | |
Common Language Runtime Tasks | 9 | |
CTS Supports Data Type Interoperability | 9 | |
The Common Language Specification | 10 | |
ASP.NET Architecture | 10 | |
ASP.NET Preserves Application State Between Calls | 12 | |
ASP.NET and Web Services | 13 | |
Interoperability Solutions from Third-Party Vendors | 15 | |
Approaches to Java--Microsoft .NET Interoperability | 16 | |
Compiling Java Code to .NET Code | 17 | |
Best Practices, Design Patterns, Security, and Business Solutions | 19 | |
Java Connector Architecture (JCA) Specification | 19 | |
What Is Enterprise Application Integration? | 20 | |
What Is an Enterprise Information System? | 21 | |
EIS Approaches Vary | 21 | |
Case Study: International Finance Corporation Exchange (IFCE) | 23 | |
Product Perspective | 24 | |
General Information | 25 | |
Chapter 2 | J2EE Servlets, Java Server Pages, and Web Services | 27 |
The J2EE Specification | 29 | |
The Communication Technologies | 31 | |
The Presentation Technologies | 32 | |
The Business Application Technologies | 33 | |
Developing a J2EE Application | 35 | |
Web-Based Remote Presentation Model | 36 | |
Distributed Logic Application Model | 37 | |
Remote Data Management Model | 42 | |
Distributed Data Management Model | 42 | |
The MVC Business Development Model | 42 | |
VC Layering | 43 | |
Servlet Design | 45 | |
HTTP and Servlets | 45 | |
The Servlet Life Cycle | 47 | |
A Small Servlet | 48 | |
Servlet Interfaces and Classes | 49 | |
Managing Session State with Servlets | 53 | |
Java Server Pages | 55 | |
The JSP Life Cycle | 55 | |
JSP Specialized Tags | 57 | |
JSP Page Directives | 59 | |
Best Practices for JSP Page Processing | 61 | |
Chapter 3 | Enterprise JavaBeans, Interfaces, and JDBC Persistence | 63 |
Overview of Enterprise JavaBeans | 64 | |
Session Beans | 65 | |
Entity Beans | 66 | |
EJB Interfaces | 67 | |
Remote Home Interface | 67 | |
Remote Component Interface | 68 | |
Local Component Interfaces | 69 | |
Exploring Implementation Classes | 69 | |
Container Responsibilities | 69 | |
EJBs from a Client's Perspective | 71 | |
What Are Remote Objects? | 72 | |
Local and Remote Client View | 72 | |
Remote and Local Interfaces and Their APIs | 73 | |
Examining the Local Interface | 73 | |
Developing Stateful Session Beans | 73 | |
Examining How EJB Systems Function | 75 | |
Constructing a Session Bean | 75 | |
Developing a Stateful Session Bean | 84 | |
Developing Entity Beans | 85 | |
Entity Bean Characteristics | 85 | |
Entity Bean Types | 86 | |
Creating a CMP Entity Bean | 87 | |
Developing a BMP Bean | 89 | |
Considering Message-Driven Beans | 96 | |
Chapter 4 | RMI-IIOP, the JNDI, and Deployment Descriptors | 101 |
Understanding Remote Object Access | 102 | |
Investigating the Interfaces | 103 | |
Object Serialization | 106 | |
RMI-IIOP and the Java Naming and Directory Interface | 107 | |
Examining the JNDI Infrastructure | 107 | |
Retrieving Attributes | 109 | |
Using Binding in Your Directory Service | 110 | |
Understanding Deployment Descriptors | 112 | |
Examining the Deployment Descriptor | 114 | |
Part II | Microsoft .NET Internal Interoperability | |
Chapter 5 | .NET Language Integration Components | 121 |
Defining Key .NET Objectives | 122 | |
.NET's Role in the Windows Family | 123 | |
Examining the .NET Framework | 126 | |
Defining the Common Language Runtime (CLR) | 126 | |
What Is Reflection? | 129 | |
The System.Type Namespace | 130 | |
Creating a Class Library | 130 | |
Reading Metadata | 132 | |
Understanding and Building Dynamic Assemblies | 135 | |
Understanding the Common Type Specification (CTS) | 140 | |
.NET Modules | 143 | |
Examining the Common Language Specification (CLS) | 143 | |
Creating a Strong Name | 145 | |
How Does .NET Locate an Assembly? | 146 | |
Chapter 6 | ASP.NET Architecture | 149 |
ASP.NET Namespaces | 151 | |
System.Web.UI Namespace | 151 | |
ASP.NET Page Class | 156 | |
Examining the Page Class | 156 | |
An ASP.NET Page's Life Cycle | 157 | |
Applying Page Directives | 159 | |
Code-Behind Feature | 161 | |
Defining Web Form Functionality | 163 | |
Creating a Web Form | 166 | |
Creating User Controls | 167 | |
Adding a User Control Declaratively | 168 | |
Adding a User Control Programmatically | 169 | |
Server Control Types | 170 | |
Web Controls | 170 | |
Handling Events in the Server Control | 171 | |
Error Handling and Security | 172 | |
Chapter 7 | ASP.NET and Web Services | 175 |
What Is a Web Service? | 177 | |
Creating a Web Service | 177 | |
Defining a Service-Oriented Architecture (SOA) | 179 | |
Primary Web Services Technologies | 182 | |
Simple Object Access Protocol | 182 | |
Web Services Description Language | 189 | |
Implementing Interfaces | 199 | |
Dynamic Binding | 199 | |
Class Inheritance vs. Interface Inheritance | 200 | |
Part III | Cross-Platform Interoperability | |
Chapter 8 | Interoperability Solutions from Third-Party Vendors | 203 |
Writing and Deploying Applications for Any Platform | 204 | |
Ja.NET and J-Integra | 205 | |
JNBridgePro: Infrastructure and Features | 206 | |
The JNBridgePro Infrastructure | 207 | |
JNBridgePro Features | 208 | |
Overview of Installation | 211 | |
Architectural Elements | 212 | |
Configuring the .NET-Side | 212 | |
Configuring the Java-Side | 213 | |
About Communications Protocols | 213 | |
Executing the Installer | 215 | |
Configuring the Communications Protocol | 215 | |
Improving Network Performance | 217 | |
Starting Java for Proxy Generation | 217 | |
Configuring the System for Proxy Use | 218 | |
Configuring Proxies for Use with ASP.NET | 219 | |
Starting a Standalone JVM for Proxy Use | 219 | |
Running the Java-Side Under Nondefault Security Managers | 220 | |
A Working Example: JNBridgePro and WebSphere 5.0 | 220 | |
Creating jnbcore.war | 221 | |
Building the Proxy DLL | 221 | |
Building and Running the Client Application | 222 | |
The BasicCalculatorEJB Sample Files | 223 | |
Chapter 9 | Best Practices, Design Patterns, Security, and Business Solutions | 235 |
Applying Best Practices | 236 | |
Examining the Container's Role | 236 | |
Best Practice: Separating Business Logic from Presentation in J2EE Applications and .NET | 238 | |
Best Practice: Use ASP.NET's Code-Behind Feature | 238 | |
Best Practice: Maximize Benefits from Both Thin-Client and Rich-Client Applications Where Applicable | 239 | |
User Input Validation | 239 | |
Preventing Duplicate Client Requests | 239 | |
Limiting a User's Input Choices | 240 | |
Managing Session State in a Distributed Environment | 241 | |
Best Practices: Client-Side Session State | 241 | |
Best Practice: Using Hidden Fields | 242 | |
Best Practice: Rewriting URLs | 243 | |
Best Practice: Using Cookies | 243 | |
Preserving Server-Side State in J2EE and .NET | 243 | |
Best Practice: Using the HttpSession Interface in J2EE | 244 | |
Defining Application State in .NET | 244 | |
Best Practice: Using the HttpApplicationState Class | 244 | |
Best Practice: Synchronizing Access to Application State | 245 | |
Using Session State in ASP.NET | 245 | |
Best Practice: Using ASP.NET Session State | 246 | |
Best Practice: Enabling Session State | 246 | |
Configuring Session State Storage | 247 | |
Best Practice: Storing Session State In-Process and Out-of-Process | 247 | |
Preserving State in SQL Server | 248 | |
Cookieless Sessions | 248 | |
Using Client-Side Cookies for Storing State | 249 | |
Using Persistent Cookies to Store State | 249 | |
Persistence on the Enterprise JavaBeans Tier | 250 | |
Designing a Maximized Data Exchange | 250 | |
Inheritance in J2EE and .NET | 250 | |
Securing an Enterprise Application | 251 | |
Applying ASP.NET Code Access Security | 252 | |
Using a Trusted Connection in SQL Server | 252 | |
Best Practice: Applying Security Measures | 253 | |
Providing an IFCE Business Solution in Visual Basic .NET | 253 | |
Part IV | Appendixes | |
Appendix A | Java Connector Architecture (JCA) Specification | 265 |
Components of the JCA | 266 | |
Connection Management Contracts | 266 | |
Transaction Management Contract | 267 | |
Security Contract | 267 | |
Exploring the Common Client Interface | 268 | |
Understanding the Role of a Resource Adapter | 268 | |
Data Mapping | 269 | |
Understanding the Message Broker | 269 | |
Constructing an Integration Workflow Plan | 269 | |
For More Information | 271 | |
Appendix B | Additional Resources | 273 |
Index | 277 |
From the B&N Reads Blog
Page 1 of