.Net & J2EE Interoperability

.Net & J2EE Interoperability

by Dwight Peltzer
.Net & J2EE Interoperability

.Net & J2EE Interoperability

by Dwight Peltzer

Paperback

$61.00 
  • SHIP THIS ITEM
    Qualifies for Free Shipping
  • PICK UP IN STORE
    Check Availability at Nearby Stores

Related collections and offers


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

Acknowledgmentsxv
Introductionxvii
Part IJ2EE Interoperability Inside and Out
Chapter 1Interoperability in the Enterprise3
Introduction to Distributed Application Development4
Microsoft .NET and Java's Web Services Share a Similar Architecture6
Interoperability in the Enterprise7
J2EE Servlets, Java Server Pages, and Web Services8
Enterprise JavaBeans, Interfaces, and JDBC Persistence8
RMI-IIOP, the JNDI, and Deployment Descriptors8
.NET Language Integration Components9
Common Language Runtime Tasks9
CTS Supports Data Type Interoperability9
The Common Language Specification10
ASP.NET Architecture10
ASP.NET Preserves Application State Between Calls12
ASP.NET and Web Services13
Interoperability Solutions from Third-Party Vendors15
Approaches to Java--Microsoft .NET Interoperability16
Compiling Java Code to .NET Code17
Best Practices, Design Patterns, Security, and Business Solutions19
Java Connector Architecture (JCA) Specification19
What Is Enterprise Application Integration?20
What Is an Enterprise Information System?21
EIS Approaches Vary21
Case Study: International Finance Corporation Exchange (IFCE)23
Product Perspective24
General Information25
Chapter 2J2EE Servlets, Java Server Pages, and Web Services27
The J2EE Specification29
The Communication Technologies31
The Presentation Technologies32
The Business Application Technologies33
Developing a J2EE Application35
Web-Based Remote Presentation Model36
Distributed Logic Application Model37
Remote Data Management Model42
Distributed Data Management Model42
The MVC Business Development Model42
VC Layering43
Servlet Design45
HTTP and Servlets45
The Servlet Life Cycle47
A Small Servlet48
Servlet Interfaces and Classes49
Managing Session State with Servlets53
Java Server Pages55
The JSP Life Cycle55
JSP Specialized Tags57
JSP Page Directives59
Best Practices for JSP Page Processing61
Chapter 3Enterprise JavaBeans, Interfaces, and JDBC Persistence63
Overview of Enterprise JavaBeans64
Session Beans65
Entity Beans66
EJB Interfaces67
Remote Home Interface67
Remote Component Interface68
Local Component Interfaces69
Exploring Implementation Classes69
Container Responsibilities69
EJBs from a Client's Perspective71
What Are Remote Objects?72
Local and Remote Client View72
Remote and Local Interfaces and Their APIs73
Examining the Local Interface73
Developing Stateful Session Beans73
Examining How EJB Systems Function75
Constructing a Session Bean75
Developing a Stateful Session Bean84
Developing Entity Beans85
Entity Bean Characteristics85
Entity Bean Types86
Creating a CMP Entity Bean87
Developing a BMP Bean89
Considering Message-Driven Beans96
Chapter 4RMI-IIOP, the JNDI, and Deployment Descriptors101
Understanding Remote Object Access102
Investigating the Interfaces103
Object Serialization106
RMI-IIOP and the Java Naming and Directory Interface107
Examining the JNDI Infrastructure107
Retrieving Attributes109
Using Binding in Your Directory Service110
Understanding Deployment Descriptors112
Examining the Deployment Descriptor114
Part IIMicrosoft .NET Internal Interoperability
Chapter 5.NET Language Integration Components121
Defining Key .NET Objectives122
.NET's Role in the Windows Family123
Examining the .NET Framework126
Defining the Common Language Runtime (CLR)126
What Is Reflection?129
The System.Type Namespace130
Creating a Class Library130
Reading Metadata132
Understanding and Building Dynamic Assemblies135
Understanding the Common Type Specification (CTS)140
.NET Modules143
Examining the Common Language Specification (CLS)143
Creating a Strong Name145
How Does .NET Locate an Assembly?146
Chapter 6ASP.NET Architecture149
ASP.NET Namespaces151
System.Web.UI Namespace151
ASP.NET Page Class156
Examining the Page Class156
An ASP.NET Page's Life Cycle157
Applying Page Directives159
Code-Behind Feature161
Defining Web Form Functionality163
Creating a Web Form166
Creating User Controls167
Adding a User Control Declaratively168
Adding a User Control Programmatically169
Server Control Types170
Web Controls170
Handling Events in the Server Control171
Error Handling and Security172
Chapter 7ASP.NET and Web Services175
What Is a Web Service?177
Creating a Web Service177
Defining a Service-Oriented Architecture (SOA)179
Primary Web Services Technologies182
Simple Object Access Protocol182
Web Services Description Language189
Implementing Interfaces199
Dynamic Binding199
Class Inheritance vs. Interface Inheritance200
Part IIICross-Platform Interoperability
Chapter 8Interoperability Solutions from Third-Party Vendors203
Writing and Deploying Applications for Any Platform204
Ja.NET and J-Integra205
JNBridgePro: Infrastructure and Features206
The JNBridgePro Infrastructure207
JNBridgePro Features208
Overview of Installation211
Architectural Elements212
Configuring the .NET-Side212
Configuring the Java-Side213
About Communications Protocols213
Executing the Installer215
Configuring the Communications Protocol215
Improving Network Performance217
Starting Java for Proxy Generation217
Configuring the System for Proxy Use218
Configuring Proxies for Use with ASP.NET219
Starting a Standalone JVM for Proxy Use219
Running the Java-Side Under Nondefault Security Managers220
A Working Example: JNBridgePro and WebSphere 5.0220
Creating jnbcore.war221
Building the Proxy DLL221
Building and Running the Client Application222
The BasicCalculatorEJB Sample Files223
Chapter 9Best Practices, Design Patterns, Security, and Business Solutions235
Applying Best Practices236
Examining the Container's Role236
Best Practice: Separating Business Logic from Presentation in J2EE Applications and .NET238
Best Practice: Use ASP.NET's Code-Behind Feature238
Best Practice: Maximize Benefits from Both Thin-Client and Rich-Client Applications Where Applicable239
User Input Validation239
Preventing Duplicate Client Requests239
Limiting a User's Input Choices240
Managing Session State in a Distributed Environment241
Best Practices: Client-Side Session State241
Best Practice: Using Hidden Fields242
Best Practice: Rewriting URLs243
Best Practice: Using Cookies243
Preserving Server-Side State in J2EE and .NET243
Best Practice: Using the HttpSession Interface in J2EE244
Defining Application State in .NET244
Best Practice: Using the HttpApplicationState Class244
Best Practice: Synchronizing Access to Application State245
Using Session State in ASP.NET245
Best Practice: Using ASP.NET Session State246
Best Practice: Enabling Session State246
Configuring Session State Storage247
Best Practice: Storing Session State In-Process and Out-of-Process247
Preserving State in SQL Server248
Cookieless Sessions248
Using Client-Side Cookies for Storing State249
Using Persistent Cookies to Store State249
Persistence on the Enterprise JavaBeans Tier250
Designing a Maximized Data Exchange250
Inheritance in J2EE and .NET250
Securing an Enterprise Application251
Applying ASP.NET Code Access Security252
Using a Trusted Connection in SQL Server252
Best Practice: Applying Security Measures253
Providing an IFCE Business Solution in Visual Basic .NET253
Part IVAppendixes
Appendix AJava Connector Architecture (JCA) Specification265
Components of the JCA266
Connection Management Contracts266
Transaction Management Contract267
Security Contract267
Exploring the Common Client Interface268
Understanding the Role of a Resource Adapter268
Data Mapping269
Understanding the Message Broker269
Constructing an Integration Workflow Plan269
For More Information271
Appendix BAdditional Resources273
Index277
From the B&N Reads Blog

Customer Reviews