Integrating Orbeon Forms with java local services in Spring

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Integrating Orbeon Forms with java local services in Spring

Gilles Schlienger
Hi,

I love the way Orbeon Forms handles web forms and I can see how it could benefit in my project at the MVC level (model view controler).
But I need to use business services developped in java, storing data in a relationnal database (MySQL), so I can create dashboards with data gathered from complex SQL queries.

My ideal scenario would be to have in my war:
- a package managing my web forms using Orbeon Forms
- an API to call my Spring local services (no web services, just POJO managed by Spring) so I could get the user information, and other things...

And in my web application, a way to have JSP pages managed by Spring MVC and web forms managed by Orbeon Forms.

Is this feasible and if yes, where should I look ?

Thanks a lot in advance!
Regards
Gilles





      _____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Integrating Orbeon Forms with java local services in Spring

Erik Bruchez
Administrator
Gilles Schlienger wrote:
 > Hi,
 >
 > I love the way Orbeon Forms handles web forms and I can see how it
 > could benefit in my project at the MVC level (model view controler).
 > But I need to use business services developped in java, storing data
 > in a relationnal database (MySQL), so I can create dashboards with
 > data gathered from complex SQL queries.
 >
 > My ideal scenario would be to have in my war:
 > - a package managing my web forms using Orbeon Forms
 > - an API to call my Spring local services (no web services, just
 > - POJO managed by Spring) so I could get the user information, and
 > - other things...
 >
 > And in my web application, a way to have JSP pages managed by Spring
 > MVC and web forms managed by Orbeon Forms.
 >
 > Is this feasible and if yes, where should I look ?

Definitely feasible.

Your XForms page can talk to XML pipelines indirectly using
submissions, or directly using the xxforms:call-xpl() XPath
function. A pipeline can call Java using the Java processor, the
delegation processor, or a custom processor.

   Java Processor
   http://www.orbeon.com/ops/doc/processors-java

   Delegation Processor
   http://www.orbeon.com/ops/doc/processors-delegation

   Processor API
   http://www.orbeon.com/ops/doc/reference-processor-api

You can even call Java from XPath expressions in XForms actions if you
really want to do that.

Also be sure to have a look at this:

   Using the Orbeon Forms XForms Engine with Java Applications
   http://www.orbeon.com/ops/doc/reference-xforms-java

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws