Home > Ask the SOA Experts > Questions & Answers > How can I create the equivalent to a J2EE message-driven bean in .NET?
Ask The SOA Expert: Questions & Answers
EMAIL THIS

How can I create the equivalent to a J2EE message-driven bean in .NET?

Michèle Leroux Bustamante EXPERT RESPONSE FROM: Michèle Leroux Bustamante

Pose a Question
Other SOA Categories
Meet all SOA Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 01 March 2004
I want to create a COM+ component which reads the messages from queue on MQSeries. Will the load balancing be done by creating more instances of my component by the MTS or CLR? Also, I want to a have a equivalent application to a Message Driven Bean in J2EE. How is it possible in the .NET architecture?


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Microsoft .NET Web services
How do I balance throughput requirements and interoperability?
APM software traces transactions across tiers, technologies
How you can learn M Grammar for Oslo modeling
Legacy modernization opens Windows for publisher
Former .NET Web developers ride Ruby and Rails application framework
Microsoft Oslo at PDC: Dial 'M' for modeling language
Yahoo proxy fight looms
New Microsoft site for architects
LAMP coders go hybrid route
Silverlight shines on bank RIAs
Microsoft .NET Web services Research

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
Common Language Infrastructure  (SearchSOA.com)
Visual J#  (SearchSOA.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


A Message-Driven Bean is basically an EJB that is a message consumer within the JMS messaging system. They receive messages from a JMS queue and act on those messages. The EJB container automatically manages the creation of these beans to process messages, and tosses instances when they are no longer needed. Essentially, the EJB container manages the object lifecycle. This includes the creation of multiple instances to process concurrent messages. This also (usually) includes security services and transaction management.

.NET Enterprise Services are a managed wrapper (code that runs within the .NET Framework runtime is called "managed code") for MSMQ and COM+ services that provide equivalent message queuing architecture, with object pooling, security, and transaction management built-in. You can register a .NET component with COM+ services, easily create message queues and have them invoke registered components (COM+ components) as part of a secure, distributed transaction. A great resource on this subject is Juval Lowy's book, COM and .NET, published by O'Reilly.

How you include COM+ components in transactions managed by MQSeries depends on the architecture of your solution. For example, BizTalk Server includes an MQSeries adapter that supports interaction with a clustered MQSeries server. Host Integration Server also supplies an MQSeries bridge. You can also leverage MQSeries internal support for application connectivity, to include COM+ objects within a managed MQSeries transaction. You need to look at the distribution of your application tiers and components, before selecting an approach.




Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



SOA Governance White Papers - BPM, EDA, IT Governance
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2001 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts