I don't see why that should be a problem. There are definitely some restrictions on EJBs (no file IO, no Thread creation), but that should be ok. Just look up the remote objects as usual, or even better, register the RMI stubs in your JNDI server with your beans. Of course, be warned, any resources, such as database connections, will not have the transactional capabilitie your beans do, unless they are explicitly using the EJB resource manager and transaction manager.
Dig Deeper on Topics Archive
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.