Pradeep,
This is not going to do what you hope and that is to create an EJB in an
asynchronous fashion. I believe you may be interested in the Java Messaging
Service specification and some of the implementations of JMS that are
available.
have a look at http://java.sun.com/jms for details/resources
HTH
Tom Daly
> Hi All,
> am trying the following ejbCreate() method with a sessionbean
>
> public void ejbCreate()
> {
> while(true)
> {
> //forever
> }
> }
>
> the home interface create() call blocks for obvious reason( it does not
> return the control to the caller which is again
> another session bean)
>
> Is there any way the caller of create() gets the control back though the
> ejbCreate() is blocking.
> How do i tell the container to start the session bean as a thread?
> Please let me know.
> Thanks
> Pradeep
>
> ===========================================================================
> 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".