I have and it works fine, I'm using HashMaps, TreeSet and Collection as
return types
to get???() methods in a stateless sessi bean JDK 1.1.7 & EJB 1.0.
Maybe it is a different problem (i.e. outside of the scope of EJB) ?
> -----Original Message-----
> From: Saumit [SMTP:[EMAIL PROTECTED]]
> Sent: 21 August 2000 22:51
> To: [EMAIL PROTECTED]
> Subject:
>
> Hi ppl
>
> Has anyone here used any of the Collections framework classes as a
> parameter/return type in an EJB ?
>
> what I'm trying to do is
>
> public class A implements java.io.Serializable
> {
> public A(HashMap softKey)
> {
> }
> }
>
> public class ABean implements SessionBean
> {
> public void addClient(A a)
> {
> }
> }
>
>
> I'm getting the following error when I try to deploy an EJB using
> VisualAge for
> Java
> error :I/O error in .\com\java\sun\util\collections\Map$Entry class
> class A contains an invalid argument type in method <init>
>
> I've tried deploying it in Weblogic using Symantec and it works fine ..
> however
> deploying it in the VisualAge 3.02 test environment gives the error above.
>
> Any ideas ?
>
> thanks in advance
>
> Saumit
> ----------------------------------------------------------------
> The information transmitted is intended only for the person or entity to
> which
> it is addressed and may contain confidential and/or privileged material.
> Any
> review, retransmission, dissemination or other use of, or taking of any
> action
> in reliance upon, this information by persons or entities other than the
> intended recipient is prohibited. If you received this in error, please
> contact the sender and delete the material from any computer.
>
> ==========================================================================
> =
> 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".