[ http://jira.andromda.org/browse/SPRING-81?page=comments#action_11660 ] Jens Vagts commented on SPRING-81: ----------------------------------
Your are right: a remote EJB must throw a RemoteExcetion (and must declare it in his interface). But: you can generate two interfaces: one Spring-POJI without RemoteExceptions and one remote-EJB with RemoteExceptions declared, since the spring interface is only used for proxying the remote calls. Thats what the spring reference suggests. The only thing to done in the spring-cartridge would be: don't declare RemoteExceptions in the spring interface and create the complete operations list with remote exceptions again in the remote ejb interface instead of inherit from the spring interface. > 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
