How about an array of strings, String[]? Regards, Marcus Ahnve Sun Java Center Sun Microsystems AB Sweden Shekhar Mahadevan wrote: > Hi All: > > This is probably a trivial question, but... > > I tried returning a Vector of Strings from an entity bean, and was > not successful. I later read a note that said that since this involves > RMI, I can only use certain return types. (primitives, Serializable-s > and a special case exception) > > If I want to return a sequence of 'n' things, what would be the best way > to do it? Do I have to create a collection class that implements > Serializable? I don't want to have to get these Strings individually > by making multiple network RMI calls. > > Help? > > -sm <[EMAIL PROTECTED]> > > =========================================================================== > 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".
begin:vcard n:Ahnve;Marcus tel;cell:+46-(0)70-723 90 73 tel;fax:+46-(0)8-623 90 05 tel;home:+46-(0)8-656 48 89 tel;work:+46-(0)8-623 90 73 x-mozilla-html:TRUE url:www.sun.se org:Sun Microsystems AB;Sun Java Center adr:;;Esbogatan 18;Kista;Stockholm;164 94;Sweden version:2.1 email;internet:[EMAIL PROTECTED] title:Java Consultant fn:Marcus Ahnve end:vcard
