Hasitha Abeynayake wrote: > We are familiar with creating a template and connecting the maven eclipse > project with an enterprise database. > > We need to retrieve data from a database. What is the standard approach for > this in magnolia? > > Can we do this with in the JSP file using basic java.sql.connection objects > or is there a recommended way like using JCR queries? > > If so could you please direct us to some learning material regarding data > retrieval from a database.
Your question sounds a little to generic for a 'standard approach'. First off: JCR queries are only an option if your data is in a JCR repository. What kind of data do you need to access? Why is this data in a separate database? Does it need to be, or could it be migrated to a Magnolia JCR workspace? Do you need this data for rendering web pages, in AdminCentral, or for something else? Nils. ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
