You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hivemind.apache.org by Carlos Miranda <cm...@afip.gov.ar> on 2004/05/19 20:58:03 UTC

EJB Local

HLShip.

I want make application with hivemind and I want use EJB local.
I write a set new class , I see your implementation for EJB remote.
I want use the features ( load , lifecycle , resize , etc ) the application
server.

The solution is valid ?


/Carlos.-



---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org


RE: EJB Local

Posted by Carlos Miranda <cm...@afip.gov.ar>.
I have tried using the EJBProxyBuilder with EJBLocal , but it not work.
I see your code in EJBProxyBuilder.java :

        builder.end();
        builder.add("catch (javax.ejb.CreateException ex)");
        builder.begin();
        builder.add("throw new java.rmi.RemoteException(ex.getMessage(),
ex);");
        builder.end();

Is not posible with EJB Local , but this not throw remote exception.
In my code :
 	  builder.end();
        builder.add("catch ( Exception ex)");
        builder.begin();
        builder.add("throw new Exception(ex.getMessage(), ex);");

Is true ?

thanks .

/Carlos.-


-----Mensaje original-----
De: Howard M. Lewis Ship [mailto:hlship@comcast.net]
Enviado el: miercoles, 19 de mayo de 2004 17:46
Para: hivemind-dev@jakarta.apache.org
Asunto: RE: EJB Local


I haven't tried using the EJBProxyBuilder with an EJBLocal session bean, but
it should work.

--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind
http://howardlewisship.com


> -----Original Message-----
> From: Carlos Miranda [mailto:cmiranda@afip.gov.ar]
> Sent: Wednesday, May 19, 2004 2:58 PM
> To: hivemind-dev@jakarta.apache.org
> Subject: EJB Local
>
>
> HLShip.
>
> I want make application with hivemind and I want use EJB local.
> I write a set new class , I see your implementation for EJB remote.
> I want use the features ( load , lifecycle , resize , etc )
> the application
> server.
>
> The solution is valid ?
>
>
> /Carlos.-
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org


RE: EJB Local

Posted by "Howard M. Lewis Ship" <hl...@comcast.net>.
I haven't tried using the EJBProxyBuilder with an EJBLocal session bean, but it should work.

--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind
http://howardlewisship.com


> -----Original Message-----
> From: Carlos Miranda [mailto:cmiranda@afip.gov.ar] 
> Sent: Wednesday, May 19, 2004 2:58 PM
> To: hivemind-dev@jakarta.apache.org
> Subject: EJB Local
> 
> 
> HLShip.
> 
> I want make application with hivemind and I want use EJB local.
> I write a set new class , I see your implementation for EJB remote.
> I want use the features ( load , lifecycle , resize , etc ) 
> the application
> server.
> 
> The solution is valid ?
> 
> 
> /Carlos.-
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org