Hi All,
    Is it allowed to implement ejbCreate method, which takes vector of input
varible. That looks as follows:

in the AccountHome class

1.    AccountPK ejbCreate( AccountInfo myInfo) throws CreateException,
RemoteException;

2.    Enumeration       ejbCreate( Vector myAccountInfoVect ) throws
CreateException, RemoteException;


I see that, Home interface allows to create Account Instance many ways, but
in the above scenario (2), i want to create one ejb object, store all the
account values into the DB, and send only one remote interface back to the
client, i.e. enumeration contains only one PK object.


Usage:
        I don't want to create many ejb objects in the pool, and consume
resources, instead i want to use it as peristent manager.

Alternative way, on my mind:
        Just use one simple Java class, which stores the vector values, but
i have to write my own transactions, security etc, which i don;t want to.


 I looked at ejb 1.0 specification, it doesn't talk about this specific
scenario. Any thoughts are welcome.


Thank you,
Babu

The information in this email and in any attachments thereto is confidential
and may be legally privileged. It is intended solely for the addressee.
Access to this email by anyone else is unauthorized. If you are not the
intended recipient, any disclosure, copying, distribution or any action
taken or omitted to be taken in reliance on it, is prohibited and may be
unlawful.

===========================================================================
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".

Reply via email to