To answer your first question, the getEJBObject() is there so you can pass
the reference to the method.. As you probably know, you don't pass EJB
reference by 'this', but by remote reference. For your second question, you
can't, but you can... Meaning, you can't get the array for strings, but you
can get the string with common delimiter and use the StringTokenizer to
create the String arrays..
Se Hee
-->-----Original Message-----
-->From: Shiv Kumar [mailto:[EMAIL PROTECTED]]
-->Sent: Monday, May 22, 2000 1:33 AM
-->To: [EMAIL PROTECTED]
-->Subject: Two questions
-->
-->
-->Hi all
-->
-->Ive two questions,
-->
--> 1. Any reason why the method 'EJBObject getEJBObject()'
-->available in both
--> SessionContext and EntityContext instead of their
-->parent interface
--> EJBContext.
-->
--> 2. Is there any way I can specify an environment entry
-->which can return me a
--> collection/array of values. Im looking at something like this :-
-->
--> Context ctx = new InitialContext();
--> String[]/Collection list = (String[]/Collection)
--> ctx.lookup("java:comp/env/listofNames");
--> while (..) {
--> }
-->
-->Thanks.
-->--
-->shiv
-->[EMAIL PROTECTED]
-->
-->
-->__________________________________________________
-->Do You Yahoo!?
-->Talk to your friends online with Yahoo! Messenger.
-->http://im.yahoo.com
-->
-->=============================================================
-->==============
-->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".