Hi,
i'm Sandro,  i've done an application with laszlo for the front end and
tomcat+hibernate+spring for back-end.
I've defined laszlo datasource that point to
localhost/serverapp/view_needed.xml
Inside Spring i've defined a lot of views, one for every datasource request,
and related spring-mvc-controller  mappings like this:

    <bean id="xmlTablesController" class="
it.dietquest.deploy.controllers.RequestController" scope="request">
        ....

    <!-- CONTROLLER MAPPING DEFS -->
    <bean id="urlMapping" class="
org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
        <property name="mappings">
            <props>
                <prop key="/tables.xml">xmlTablesController</prop>
            </props>
        </property>
    </bean>

    <!-- VIEW RESOLVER DEF -->
    <bean id="xmlViewResolver" class="
org.springframework.web.servlet.view.XmlViewResolver">
      <property name="location" value="/WEB-INF/views.xml"/>
    </bean>


And so on....

Thus, at every datasource request, my spring controller bean get data from
db and send pure xml to laszlo.

Sandro

On Dec 13, 2007 4:15 PM, logu ramesh <[EMAIL PROTECTED]> wrote:

> hi...
>      Please tell me how to integrate rpc laszlo application with spring...
>
>

Reply via email to