I created a XML file that is generated from the database using JDBC. I want to know how to use that file now?
What is advantage of taking a xml file from database and displaying on browser versus taking data from html and putting on browser.
Priyanka
-
Use of xml with Java (6 messages)
- Posted by: priyanka shah
- Posted on: August 12 2002 11:04 EDT
Threaded Messages (6)
- Use of xml with Java by Bhagvan K on August 13 2002 07:01 EDT
- Use of xml with Java by priyanka shah on August 13 2002 09:06 EDT
- Use of xml with Java by Gautam Rao on August 22 2002 04:15 EDT
- Use of xml with Java by David Jones on August 14 2002 15:18 EDT
- Use of xml with Java by Lasse Koskela on August 14 2002 15:41 EDT
- Use of xml with Java by sean decor on August 15 2002 19:53 EDT
-
Use of xml with Java[ Go to top ]
- Posted by: Bhagvan K
- Posted on: August 13 2002 07:01 EDT
- in response to priyanka shah
You can use XSL to present XML sheets in various formats. The data will remain the same but xsl files will be different for different presentations. -
Use of xml with Java[ Go to top ]
- Posted by: priyanka shah
- Posted on: August 13 2002 09:06 EDT
- in response to Bhagvan K
Thank you. It works :) -
Use of xml with Java[ Go to top ]
- Posted by: Gautam Rao
- Posted on: August 22 2002 04:15 EDT
- in response to Bhagvan K
Plz supply me with the necessary code for transformation and the info about necessary jars -
Use of xml with Java[ Go to top ]
- Posted by: David Jones
- Posted on: August 14 2002 15:18 EDT
- in response to priyanka shah
Of course the major disadvantage is you have completely tied your presentation layer to you data layer.
-
Use of xml with Java[ Go to top ]
- Posted by: Lasse Koskela
- Posted on: August 14 2002 15:41 EDT
- in response to David Jones
Depends on the perspective. You define a database schema - your code depends on it, define an xml schema - your presentation layer depends on it; what's the difference here?
If you draw the blueprints well, you should have some room for changes. -
Use of xml with Java[ Go to top ]
- Posted by: sean decor
- Posted on: August 15 2002 19:53 EDT
- in response to priyanka shah
Heard of MVC pattern. ?? apply that and u wil know what to do ...