Skip to Main Content
WebSphere and .NET Coexistence
book

WebSphere and .NET Coexistence

by Peter Kovari, Victoria Amor, Jason Anderson, Darren Bassett, Jeremy Bauer, John Catlin, Paula Dantas, Han Wen Kam, Ajit Mungale, Kieran Scott, James Tussing
March 2004
Intermediate to advanced content levelIntermediate to advanced
606 pages
15h 16m
English
IBM Redbooks
Content preview from WebSphere and .NET Coexistence
Chapter 5. Scenario: Asynchronous 257
Long-running service providers must be able to respond to administrative events.
Therefore, they are often more complex from a logic perspective. If we chose to
implement our calculator as a long-running service, we would create a Windows
Service within Visual Studio.NET that implements the executable under which
our Calculator service will be provided and handles administrative activity such
as startup and shut-down.
A typical pattern for our logic in this case would be:
򐂰 Start up:
a. Connect to the Queue Manager.
b. Spawn one or more threads to perform work.
c. On notification of failure, spawn new worker threads if possible.
d. On administrative shutdown:
i. Notify all threads to stop.
ii. Close the co ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Reinventing the Organization for GenAI and LLMs

Reinventing the Organization for GenAI and LLMs

Ethan Mollick
Professional Application Lifecycle Management with Visual Studio 2013

Professional Application Lifecycle Management with Visual Studio 2013

Mickey Gousset, Martin Hinshelwood, Brian A. Randell, Brian Keller
SharePoint 2010 Enterprise Architect's Guidebook

SharePoint 2010 Enterprise Architect's Guidebook

Brian Wilson, Reza Alirezaei, Bill Baer, Martin Kearn
WebSphere Application Server V8.5 Concepts, Planning, and Design Guide

WebSphere Application Server V8.5 Concepts, Planning, and Design Guide

Jan Bajerski, Davide Barillari, Libor Cada, Susan Hanson, Guo Liang Huang, Rispna Jain, Shishir Narain, Jennifer Ricciuti, Christian Steege

Publisher Resources

ISBN: 0738498246Purchase book