I suggest you try it out for you and your company. No, I'm not saying java > perl or struts > mason. Every tool has its uses. It doesn't mean every tool should be used.

I'm a huge MVC biggot... and struts and mason both allow for this on some level. BUT there's a big issue. In both, you can embed code within your templates (jsp, mason's internal language). I'm a big fan of stxx which runs on struts. You send XML packets back from your servlets to the configuration engine and the engine is configured either to send XSLT back with the XML or apply the XSLT to the XML on the server side. So I hate struts AND mason. But opinions are like.. uh.. potatoes. Everyone has one.

I can't use stxx at work right now since I'm the only one who knows java in my tiny development group. The other guy is a perl/php head. I've setup a bunch of MVC-like tools and examples, and we have a standard of doing the same things. It's what's feasible.

So you see, it's not a matter what is better. You can measure the amount of instructions wasted, which would be marginal between the two systems, but it won't matter, 'cause they are both damned fast. It's like buying a car. You don't buy an expensive sports car 'cause it's fast, you can't fit in it nor aford to garage it, eh? Well, don't use a system that would be infeasible to use techically or socially. Doesn't mean you can't try it out though. :)


Play that funky music white boy..

In reply to Re: Java Web Frameworks (e.g. Jakarta Struts) vs. Perl's HTML::Mason by exussum0
in thread Java Web Frameworks (e.g. Jakarta Struts) vs. Perl's HTML::Mason by braswell

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.