HI,
We are currently re writing an existing web application
using J2EE/Struts framework./DAO..
The application has over 70 JSPs to be written ,these pages
are basically Input criteria or out out page .
The contents for each jsp is different and also the layoout
except header/footer and side menu links..
We are planning MVC2 (Struts) architecture.
We will be using the existing Database/tables in MS SQL Server 2000.
However,we are told to into the possiblity of using a few
XML/XSLT instead of writing 70 odd JSP pages so that the project effort can be reduced.
I would like to know if anybody has done similar projects
using XML/XSLT instead of JSP in web application.
Your help will be highly appreciated...
Thanks in advance
Dhana
Message #115610 Mark as noisy Mark as noisy Mark as noisy Post reply Post reply Post reply Go to top Go to top Go to top
Check out Domify in Maverick
Posted By: Kris Thompson on March 29, 2004 @ 05:34 AM in response to Message #115601 0 replies in this thread
There is a seperate component in Maverick called Domify. Domify, http://domify.sourceforge.net/, is able to take your model objects and turn them into dom objects and you can use xslt to output your site. Maverick has an example done in both jsp, velocity and domify if you want to see. However in their example there are nearly equal number of xslt pages as jsp pages, but I could see that if you have a heavily data driven page that you could reduce that number with xslt.
http://mav.sourceforge.net/
http://domify.sourceforge.net/
Message #115923 Mark as noisy Mark as noisy Mark as noisy Post reply Post reply Post reply Go to top Go to top Go to top
Writing XML/XSLT instead of JSPs in a J2EE/Struts web project.
Posted By: fdsfdf sdfasd on March 31, 2004 @ 05:21 AM in response to Message #115601 0 replies in this thread
Hi,
I could run the Friendbook example in domify and see how xslt is used instead of
JSP.However the example given is too simple and I am afraid how this can
be extended for real web application that has medium/complex views.
Pls let me know if anyone has used this for real web application and site URL..
etc..
Thanks in advance..
Dhana
Discussions
Web tier: servlets, JSP, Web frameworks: Writing XML/XSLT instead of JSPs in a J2EE/Struts web project.
-
Writing XML/XSLT instead of JSPs in a J2EE/Struts web project. (3 messages)
- Posted by: fdsfdf sdfasd
- Posted on: March 31 2004 06:25 EST
Threaded Messages (3)
- Writing XML/XSLT instead of JSPs in a J2EE/Struts web project. by Mircea Crisan on March 31 2004 09:00 EST
- Writing XML/XSLT instead of JSPs in a J2EE/Struts web project. by Ruben Badar? on March 31 2004 11:53 EST
- Writing XML/XSLT instead of JSPs in a J2EE/Struts web project. by gl c on March 31 2004 19:17 EST
-
Writing XML/XSLT instead of JSPs in a J2EE/Struts web project.[ Go to top ]
- Posted by: Mircea Crisan
- Posted on: March 31 2004 09:00 EST
- in response to fdsfdf sdfasd
Hi,
Using XSLT might sound good at a first glance but you have to consider speed and scalability. Also you might consider if your team has XSLT skills, which are not as common as JSP ones.
Best regards, Mircea -
Writing XML/XSLT instead of JSPs in a J2EE/Struts web project.[ Go to top ]
- Posted by: Ruben Badar?
- Posted on: March 31 2004 11:53 EST
- in response to fdsfdf sdfasd
Have you considered using the Cocoon Framework. It is an XML/XSL based MVC architecture and it worked wonders for me.
I've developed medium/large web projects with cocoon/J2EE (EJBs) and the performance bottlenecks were exactly at the presentation layer, the XSLT processing. -
Writing XML/XSLT instead of JSPs in a J2EE/Struts web project.[ Go to top ]
- Posted by: gl c
- Posted on: March 31 2004 19:17 EST
- in response to fdsfdf sdfasd
To my experience, XSLT transformation == S...L...O...W...
I will use XML/XSLT for transformation of static content.
e.g. DocBook to HTML and post it on the web.
But never will I use it for dynamic stuff.