javajsforacle-xml-db-repository

is it possible to use xml-db as database on jsf


I am planning to create an application using JSF and mysql and xml db as database.

I am planning to use exist-db as database.

Is it possible to use xml db on jsf?

if yes, how?

thanks..


Solution

  • In your application the JSF View components will be used in Screen rendering(View)

    All the request parameters will come to JSF Backing Bean which is a controller here.

    And MySql or XML Database related work will be in Model Layer.

    So as long as XML Database Specific Java Api is available for communication with eXist-db you can integrate that in model layer of your application.

    You can have help in

    http://exist-db.org/exist/apps/doc/devguide_xmldb.xml

    So in Model Layer of your JSF based Java EE application you can integrate it easily.