[ 
http://team.andromda.org:8080/jira/browse/SPRING-5?page=comments#action_10473 ]
     
Roy Feldman commented on SPRING-5:
----------------------------------

At the rick of mucking things up, I would like to see support for remoting a 
service via Hessian and Burlap, since they seem to have good builtin support in 
the Spring Framework and they are very lightweight.



> JAX-RPC service
> ---------------
>
>          Key: SPRING-5
>          URL: http://team.andromda.org:8080/jira/browse/SPRING-5
>      Project: Spring Cartridge
>         Type: New Feature
>     Reporter: Tomasz Lempart
>     Assignee: Chad Brandon
>     Priority: Minor
>  Attachments: JaxRpcServiceImpl.vsl
>
>
> There is a need for exposing spring service as JAX-RPC service. I think the 
> best solution is to use new stereotype i.e. JaxRpcService. If some class has 
> stereotypes Service and JaxRpcService - spring cartridge generates delegate 
> class JaxRpcServiceImpl for ServiceImpl class (both implements Service 
> intereface). 
> I attach JaxRpcServiceImpl.vsl file. Someone must change 
> applicationContext.xml.vsl file because there must be added some info:
>       <!-- SomeRemoteService, including tx interceptor -->
>       <bean id="someRemoteService" 
> class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">
>               <property name="transactionManager">
>                       <ref bean="transactionManager"/>
>               </property>
>               <property name="target">
>                       <ref bean="someRemoteServiceTarget"/>
>               </property>
>               <property name="transactionAttributes">
>               <props>
>               <prop key="*">PROPAGATION_REQUIRED</prop>
>                       </props>
>               </property>
>       </bean>
>       <bean id="someRemoteServiceTarget" 
> class="package.someRemoteServiceImpl">
>               <property name="sessionFactory">
>                       <ref bean="sessionFactory"/>
>               </property>     
>               <property name="someService">
>                       <ref bean="someService"/>
>               </property>
>       </bean>
> and the andromda-cartridge must contain such additional lines:
>     <template
>         path="templates/spring/JaxRpcServiceImpl.vsl"
>         outputPattern="{0}/{1}JaxRpcImpl.java"
>         outlet="jaxrpc-impls"
>         overwrite="true">
>         <modelElements variable="service">
>             <modelElement stereotype="JaxRpcService"/>
>         </modelElements>
>     </template>

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



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Andromda-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to