Home > Ask the SOA Experts > Questions & Answers > Do you need RMI when using EJB and Containers?
Ask The SOA Expert: Questions & Answers
EMAIL THIS

Do you need RMI when using EJB and Containers?

Jeff  Hanson EXPERT RESPONSE FROM: Jeff Hanson

Pose a Question
Other SOA Categories
Meet all SOA Experts
Become an Expert for this site
>
QUESTION POSED ON: 03 October 2003
Do you need RMI when using EJB and Containers? When is RMI used and for what type of communication?

>
EXPERT RESPONSE
One service that an EJB container must provide is the low-level communication for remote access to each EJB that it hosts. While RMI might be used for the low-level communication, an EJB programmer or an EJB-client programmer need not concern himself/herself with the details, since one of the features of the EJB model is to hide these details from both.

With that said, it is a good idea to acquaint yourself with the basics of RMI when programming to EJB. Understanding concepts such as pass-by-value, type narrowing, serialization, etc. are almost essential to fully grasp the EJB invocation model and to program to the EJB architecture effectively.

A couple of good starting points for understanding EJB and its relationship to RMI can be found at the following links:

http://java.sun.com/products/jdk/rmi/index.html
http://developer.java.sun.com/developer/onlineTraining/rmi/RMI.html
http://developer.java.sun.com/developer/onlineTraining/EJBIntro/EJBIntro.html


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


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



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

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

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




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