Newbie question: in what configuration file do <flex:remoting-destination> tags go?
i've seem have read spring/blaze integration document 10 times, can't figure out put of <flex:remoting-destination ref="yaddayaddaservice" /> tags. don't want use annotation define these remoting destinations.
should go spring configuration file use amf endpoint servlet (as specified contextconfiglocation parameter). or these go in high level cross-servlet configuration file?
whats usual way treat these?
hi,
the convention declare:
1. declare spring beans (e.g yaddayaddaservice) in files specified contextconfiglocation parameter.
2. add spring - flex specific configuration (configure message broker, declare destinations) in <webapp_dir>web-inf\flex-servlet.xml, assuming configured message broker url pattern follows in web.xml:
<servlet>
<servlet-name>flex</servlet-name>
<servlet-class>org.springframework.web.servlet.dispatcherservlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>flex</servlet-name>
<url-pattern>/messagebroker/*</url-pattern>
</servlet-mapping>
the blazeds svn depot/distribution contains spring sample webapp (spring-samples.war) can @ well.
hope helps.
rohit
More discussions in LiveCycle Data Services
adobe
Comments
Post a Comment