Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XML v JSP

 
Frank Daly
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Will the expected widespread adoption of XML mean the end of JSP?
frank
 
Brett Knapik
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSP will probably be the basis of XML and servlets. You can make XML with JSP and servlets. I think you misunderstood what XML is, you are probably thinking it as another HTML but its not. you have to make the tags and such something that java can do easier than some languages.
------------------
I wish there was a button on my monitor to turn up the intellegince.
Theres a button called 'brightness' but it doesn't work
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I find that I'm increasingly making use of XML and XSL instead of JSP or templating systems for the user interface of my web applications. Typically I generate a DOM document in memory, and then call an XSL engine to render that document using a dynamically chosen stylesheet.
In this case the XML never exists as XML tags and text, it certainly is never sent to the browser, but it still gives access to the astonishing power of XSL on the server.
There will still be a place for page compilers like JSP and template engines (such as WebMacro or FreeMarker), where a HTML page has to be built to send to a client broswer and the internal data doesn't naturally suit XML, but the combination of DOM and XSL is extremely flexible and might well take a significant portion of the configurable-web-user-interface market.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic