Hello, I am using EJBeans for my project,It is for displaying the product information provided in a mall.Can we use XML files to store the data and avoid the complexity of contacting database every time.....will there be any problem in storing the data from data base in a XML file....is there any limitations for XML files. I want to update the XML files when ever data base is updated.Will it be a good approach to the solution which I need??? Pls Help me......
This is a classic example of read-mostly. I would first check to see if your application supports read-mostly beans so you don't have to mess with writing your own caching. Almost all application servers handle caching in some form for entity beans, check your server documentation to see the different forms. For example WebLogic supports: Read-Only, Read-mostly, and Database Eclusive Entity Beans. All demonstrate different levels of caching.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Can we store the data from data base to a XML file and avoid contacting data base