title: Benefits of databases as opposed to XML in a lightweight shopping site?
body: <p>I have a lightweight online shopping site based on JSP and XML, and I'm wondering what the particular weaknesses of this system are as opposed to, say, PHP and MySQL?</p>
  
  <p>I know JSP can use Java APIs, but I feel PHP has a more "natural" relationship with HTML and also has the benefits of being dynamically typed, and is far more widespread and in-demand. Is there a reason for this?</p>