Advanced J2EE Platform Development: Applying Integration by Torbjörn Dahlén, Thorbiörn Fritzon

By Torbjörn Dahlén, Thorbiörn Fritzon

This ebook specializes in integrating J2EE with mainframe purposes. The styles defined within the e-book show the way to encapsulate an integration tier that shields the J2EE parts of an program from the legacy components, so Java purposes can benefit from latest mainframe code.

The publication is going via a real-life instance through describing a banking integration undertaking. With this instance it describes the typical integration styles, DTO, DAO, neighborhood Transaction Cache, and so forth. one of many significant issues the authors make is the ease from having a standard area version around the firm. the typical area version will offer a constant company facts version throughout an company for all clients, so each person within the association could have a standard vocabulary.

If you're a Java developer who's concerned with integrating mainframe program this ebook is a wonderful source to have at the topic. This booklet is a concise and useful consultant to company integration.

Show description

Read or Download Advanced J2EE Platform Development: Applying Integration Tier Patterns PDF

Similar java books

The Java Tutorial: A Short Course on the Basics (5th Edition)

The Java®Tutorial, 5th version, is predicated on free up 7 of the Java Platform general version. This revised and up-to-date version introduces the hot positive factors extra to the platform, together with a piece on NIO. 2, the recent dossier I/O API, and data on migrating legacy code to the hot API. The deployment assurance has additionally been improved, with new chapters equivalent to “Doing extra with wealthy net Applications” and “Deployment in Depth,” and a bit at the fork/join function has been extra to the bankruptcy on concurrency.

Herb Schildt's Java Programming Cookbook

Your final "How-To" advisor to Java Programming! mythical programming writer Herb Schildt stocks a few of his favourite programming ideas during this high-powered Java "cookbook. " geared up for fast reference, each one recipe exhibits find out how to accomplish a realistic programming job. A recipe starts with an inventory of key constituents (the periods, equipment, and interfaces) through step by step directions that exhibit how you can gather them right into a whole answer.

Enterprise j2Me Developing Mobile Java Applications

A consultant to J2ME improvement for program builders, architects and IT managers. The textual content covers uncomplicated J2ME profiles and renowned cellular Java APIs. It presents entire pattern code for every expertise coated.

Spring Recipes: A Problem-Solution Approach

With over three Million users/developers, Spring Framework is the top ''out of the box'' Java framework. Spring addresses and gives uncomplicated ideas for many facets of your Java/Java EE software improvement, and publications you to exploit top practices to layout and enforce your purposes.

Additional info for Advanced J2EE Platform Development: Applying Integration Tier Patterns

Example text

Furthermore, since there is no support for 2-phase commit between the J2EE application and the legacy system, problems might arise if there is a need to roll back the transaction that performed the transfer and the interest calculation. This shows that some transactions are not easy to roll back through simple compensation. 8) illustrates this. 1. , where t0 in this case indicates yesterday's final balance. 2. 00 We define our legacy system's transaction T1 as follows: 1. Withdraw amount X from account A.

If the transaction monitor later calls the rollback method, this compensating transaction is called on the legacy system to achieve the rollback. To continue our previous example, when a Data Access Object requests that the T1 transaction be executed, the Transactional Resource also places the compensating transaction T2 in the queue, to be called in case of a rollback. If an error occurs and a rollback must be performed, the transaction monitor calls the rollback method of the XAResource associated with the current Connection.

The data source does not provide support for distributed transactions. The Data Access Object pattern, in combination with Bean-Managed Persistence (BMP), provides a solution for all of these situations. The next chapter describes this solution in detail. Pitfalls of Caching Persistent Data Because data access is a potential bottleneck in any distributed system, it is tempting to use application data caching to reduce the number of transactions with the resource tier. In a thousands-of-transactions-per-second application, a cache can help significantly by avoiding the trip to the resource tier whenever possible.

Download PDF sample

Rated 4.43 of 5 – based on 3 votes