Tom, According to the EJB roadmap, the legacy issue will be tackled in some way by connectors. In the short-term I would suggest to pick an EJB container which sits on CORBA and uses JTS/OTS for transaction coordination. Than you can just plug-in (via IIOP) a C++ object (under OTS control) which does all the dirty work. Cheers, Andreas Tom Valesky wrote: > Really, I was just wondering if it's _possible_ to invoke > native methods from an EJBean. But... > > You're saying that the only safe way to communicate with > a legacy system from an EJB is to build an XAResource > architecture around the legacy system in question? Since > _vendors_ can't seem to do this in a timely fashion, > I'd say it will effectively be impossible for 99.9% of MIS > shops, and probably not worth the time for the other 0.1%. > So, to integrate a legacy system with a new EJB system, > your choices are: > 1) Wait for the vendor of the legacy system to build an JTA-compliant > interface around their product. > 2) Build your own JTA-compliant interface around their product. > 3) Replace their product with one whose vendor provides a > JTA-compliant interface. > > Would you say that this is a fair statement? > > =========================================================================== > Tom Valesky -- [EMAIL PROTECTED] > http://www.patriot.net/users/tvalesky > > -----Original Message----- > From: Jim Rhyne <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> > Date: Friday, April 23, 1999 10:17 AM > Subject: Re: EJB and native methods; also, restrictions in spec > > >Tom, > >I can't tell what you have in mind, but I would urge you to look at how > >JDBC works in conjunction with the EJB container to provide > >connectivity. I am not talking about the JDBC APIs or SQL, but > >rather how connection pools are managed in the server environment > >and how things like security and transactions are handled. > >Calling out to a backend directly from an EJB is generally not a good idea. > >Jim > > > >Jim Rhyne, STSM, Component Broker Tool Architect > >[EMAIL PROTECTED], 416 448 4383 > >IBM Canada Ltd. 2G/846/1150/TOR > >1150 Eglinton Ave. E., Toronto, Ont. M3C 1H7 CANADA > > > > > > > >Tom Valesky <[EMAIL PROTECTED]> on 04/23/99 03:16:53 AM > > > >Please respond to A mailing list for Enterprise JavaBeans development > > <[EMAIL PROTECTED]> > > > >To: [EMAIL PROTECTED] > >cc: (bcc: Jim Rhyne/Somers/IBM) > >Subject: EJB and native methods; also, restrictions in spec > > > > > > > > > > > >Can an EJBean have native methods? > > > >I can't find an explicit prohibition in the spec, but it seems like > >allowing > >a bean to call native methods would open a rather large can of worms. > >On the other hand, I can see a couple of situations where it'd be handy > >to have this option (mainly in the MIS development environment, where > >you sometimes have to build interfaces to _truly_ oddball legacy > >systems). > > > >PS re: restrictions -- Section 16.4 says "this is only a partial list of > >restrictions that the enterprise developer must observe." Are there > >plans to release a canonical, complete, and exhaustive list of restrictions > >that EJB developers must observe? > > > >=========================================================================== > > Tom Valesky -- [EMAIL PROTECTED] > > http://www.patriot.net/users/tvalesky > > > >=========================================================================== > >To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > >of the message "signoff EJB-INTEREST". For general help, send email to > >[EMAIL PROTECTED] and include in the body of the message "help". > > > >=========================================================================== > >To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > >of the message "signoff EJB-INTEREST". For general help, send email to > >[EMAIL PROTECTED] and include in the body of the message "help". > > =========================================================================== > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff EJB-INTEREST". For general help, send email to > [EMAIL PROTECTED] and include in the body of the message "help". -- "Programming with EJB, JTS and OTS" is now available. Collect all three!
begin:vcard n:Vogel;Andreas tel;fax:+1 650 655 3950 tel;home:+1 415 643 8827 tel;work:+1 650 358 3037 x-mozilla-html:TRUE url:http://www.wiley.com/compbooks/vogel org:Inprise Corp. version:2.1 email;internet:[EMAIL PROTECTED] title:Strategic Technology Adviser adr;quoted-printable:;;951 Mariners' Island Blvd.=0D=0ASuite 120;San Mateo;CA;94404;USA x-mozilla-cpt:;-6336 fn:Andreas Vogel end:vcard
