This week's book giveaway is in the Reactive Progamming forum.
We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line!
See this thread for details.
Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

struts turbine and cocoon

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A question for Sue, our forum guest and the author of the promising new struts book,
Relative to Struts, what is your opinion on the implementation of the other apache java technologies like Turbine and Cocoon, ?
[ May 28, 2003: Message edited by: chris coleman ]
 
Author
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Chris. I actually haven't worked with Turbine so I wouldn't want to offer an opinion on something via 'things that I've heard'.
I worked with Cocoon about two years ago, and at that point I wasn't to impressed. It had a lot of problems, but keep in mind this was when it was first getting going. It has come a LONG way since then. If you are working with a lot of XML transformations it might be something to take a look at in more detail. Struts is primarily focused on JSP/Servlet technology.
Sue
 
Ranch Hand
Posts: 314
2
Android VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,
Hey, Sue, do you have an opinion on StrutsCX? I didn't even know it existed until a couple of days ago when another person asked on this news group what people thought of it. Reading its description, it's an Struts variation that uses XSLT transforms instead of JSP to render output.
A great segue from the Coccoon question in your previous post :-)
Darryl
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just took a look at StrutsCX but I don't know enough about XSLT or STRUTS for that matter to make any kind of judgement call right now. I will be interested in hearing what Sue and other people have to say about it though.
The one thing I did like about it is the better seperation of business logic. JSP really made things too easy to screw up in terms of the MVC design pattern.
Personally, I think allowing java code in a jsp page was a bad idea. (I know it all goes to java code anyway) but from a design perspective, using XSLT seems a bit cleaner of an approach?
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Gregg Bolinger:
Personally, I think allowing java code in a jsp page was a bad idea. (I know it all goes to java code anyway) but from a design perspective, using XSLT seems a bit cleaner of an approach?


I agree that the scriptlet stuff is often awful to look at, let alone touch it.
But. I don't think XSLT is necessarily a better solution. XSLT is meant for transformations -- how many transformations your typical web interface really needs? Is your data coming in XML from the business logic layer?
I am currently doing a mobile application where the J2ME code and J2EE code (webapp) talk to each other using XML messages. I looked for a web framework with XML support for some time but decided that there was no rationale for using such a product as I wasn't doing transformations, only generating the XML from Java objects on the web layer. XML data binding, perhaps, but no XSLT for me, thanks.
Personally, I put my hopes on JSPs with XML syntax and taglibs (Struts, JSF, or something else).
 
Ranch Hand
Posts: 2713
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Gregg Bolinger:
Personally, I think allowing java code in a jsp page was a bad idea. (I know it all goes to java code anyway) but from a design perspective, using XSLT seems a bit cleaner of an approach?


In JSP 2.0 you can actually forbid the use of Java code within a JSP. Writing Java code (in a JSP) becomes a lot less necessary with the use of the EL that was created in JSTL and will be a required part of JSP 2.0.
 
Then YOU must do the pig's work! Read this tiny ad. READ IT!
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!