Evan, Evan Ireland wrote: > Andreas Vogel wrote: > > > > When using RMI-over-IIOP, you just take your home and remote interfaces and run > > them through an java2idl and that's it. > > That's fine, except that I think that John was looking to support > clients using various different languages, presumably some of them > would not be not Java. How many languages is the OBV mapping specified > for at this point? Definitely Java and C++, I didn't pay much attention to the others. In any case, I'm expected lots of fun (and tragedy) when people start using OBV for cross language projects. People have to implement their value types twice :-) What other languages do you have in mind? Smalltalk? Ada? Cobol? C? > What's really lacking in the EJB to CORBA mapping is a decent > alternative Java to IDL mapping to support pre-CORBA 2.3 clients > in a uniform way across vendors (things like Java String maps to > IDL 'string', serializable objects map to IDL 'struct' types where > possible, etc.) Right. But Java (including EJB programmers) tend to fully exploit the Java features. So I expect lots of Java objects, collection classes etc in remote interface. For all these cases it's going to be hairy anyway. If you want to design for cross-language, you may start with IDL, generate Java from it and use the Java signatures in the remote interfaces. > I know it is sometimes possible to write a CORBA wrapper object for > each EJB in such a way that the client can use pre-CORBA 2.3 IDL (no > OBV in particular) to talk to the EJB. But how many customers want to > be building CORBA wrapper objects for their EJBs? Well, what other option do you have if you don't have Java clients or OBV? Cheers, Andreas > > > > > > -----Original Message----- > > > > From: John Kidd [SMTP:[EMAIL PROTECTED]] > > > > ... > > > > We want to implement our solution with EJB but use CORBA for communication > > > > because we will have different language > > > > clients. > > =========================================================================== > 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 Enterprise JavaBeans, JTS and OTS" is now available. Collect all three! www.wiley.com/compbooks/vogel
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:Chief Scientist adr;quoted-printable:;;951 Mariners' Island Blvd.=0D=0ASuite 120;San Mateo;CA;94404;USA x-mozilla-cpt:;-30960 fn:Andreas Vogel end:vcard
