[ http://jira.andromda.org/browse/SPRING-81?page=comments#action_11663 ]
     
Jens Vagts commented on SPRING-81:
----------------------------------

Spring/business interfaces should not depend on EJB code. It also makes no 
sense for local EJB interfaces to declare RemoteExceptions. 

I'm accessing the remote EJBs the "spring way" on using the 
SpringClientServiceLocator with a new application context with the EJB/JNDI 
lookup defined with proxies (SimpleRemoteStatelessSessionProxyFactoryBean) as 
suggested by the spring reference. On this way I only have to replace the 
application context for different usages (e.g. (local) unit tests).

> No RemoteExceptions for service interfaces even for remote ejbs
> ---------------------------------------------------------------
>
>          Key: SPRING-81
>          URL: http://jira.andromda.org/browse/SPRING-81
>      Project: Spring Cartridge
>         Type: Improvement
>     Reporter: Jens Vagts
>     Assignee: Chad Brandon

>
> I would love a property for disabling the generation of RemoteExceptions 
> declaration for service interfaces even if the SLSB has a viewType "remote".
> Since spring handles/transforms RemoteExceptions not everyone ones to handle 
> them always or wants his client code depend on RemoteExceptions if the code 
> is later configured to run localy.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.andromda.org/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Andromda-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to