• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Presentation tier via JSP/XML publishing

 
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
My company's architect has decided on adopting an architecture similar to Figure 1 of http://java.sun.com/products/jsp/html/JSPXML.html
There are two approaches I could use this XML data in a JSP page: -
1. Convert the XML elements into server-side objects and then extract the object properties.
2. Invoke a transformation on the XML data.
Irregardless of the approaches, what kinda presentation tier framework is ideal for this?
You may suggest Struts as a starting point....but it still lack in XML publishing?
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Even though my architecture is different I'm trying to use the second approach,that is i'm trying to leverage the use of XSLT.You can refer this thread https://coderanch.com/t/124988/XML/XSLT-JSP-Servlets-cook I'm still trying to follow their suggestions.
Regards
Balaji
 
Ranch Hand
Posts: 1209
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
try this.
cocoon
 
Jes Sie
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks people.
But, Cocoon sounds like a whole new ball game with the way presentation are processed for viewers. I'm looking at Struts....but wondering what is good for it in the context of XML & XSLT or even XML & JSP.
 
Balaji Loganathan
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
U can read this good article form thomas paul for struts http://www.javaranch.com/newsletter/Mar2002/struts.html
I believe you will come to know the best option afer experimenting urself forur project requirement.This is what i realize now.
 
Jes Sie
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Balaji Loganathan:
U can read this good article form thomas paul for struts http://www.javaranch.com/newsletter/Mar2002/struts.html
I believe you will come to know the best option afer experimenting urself forur project requirement.This is what i realize now.


Not sure what do you mean here. That's just an article on Struts. I'm already happy with Struts.
 
reply
    Bookmark Topic Watch Topic
  • New Topic