Hello,
I'm in a situation where I'm looking at moving from Perl (mod_perl/
Template Toolkit as well as Apache and MySQL) to Java. Though I've
mostly programmed in Perl the last several years, I've also done some
Java work...Tomcat 4 & 5, servlets/JSP (w/ JSTL and EL), a small
project with Struts and Tiles, and a small project using Swing.
Besides Tomcat and Struts, there seems to be a multitude of choices
for frameworks, data persistence, and templating - Spring, JBoss,
Hibernate, iBATIS, Velocity come to mind, though I'm sure that's
just a few.
Given that I can start with a clean slate, any recommendations on
which Java technologies to consider?
--
Thanks...
Arne Vajhøj - 25 Mar 2007 17:33 GMT
> I'm in a situation where I'm looking at moving from Perl (mod_perl/
> Template Toolkit as well as Apache and MySQL) to Java. Though I've
[quoted text clipped - 9 lines]
> Given that I can start with a clean slate, any recommendations on
> which Java technologies to consider?
If you mean for web app then I will recommend JSF.
It should be the standard for the future.
Arne
David Segall - 25 Mar 2007 17:52 GMT
>> I'm in a situation where I'm looking at moving from Perl (mod_perl/
>> Template Toolkit as well as Apache and MySQL) to Java. Though I've
[quoted text clipped - 13 lines]
>
>It should be the standard for the future.
I came to the same conclusion but it has invariably been omitted from
posts similar to the OP's. Given that Sun is plugging it does anyone
know why it does not feature?
For the OP - Download NetBeans then the Visual Web Pack. You will have
your first JSF application working in a day.
Lew - 25 Mar 2007 21:09 GMT
Arne Vajhøj <arne@vajhoej.dk> wrote:
>> If you mean for web app then I will recommend JSF.
>>
>> It should be the standard for the future.
> I came to the same conclusion but it has invariably been omitted from
> posts similar to the OP's. Given that Sun is plugging it does anyone
> know why it does not feature?
>
> For the OP - Download NetBeans then the Visual Web Pack. You will have
> your first JSF application working in a day.
Also read Sun's (and others') docs on the "Model-View-Controller (MVC)"
architecture, which they've also called "Model 2" and GoF acolytes call the
"Front Controller" pattern. This will give you understanding of how to use JSF
(or Struts) to maximum effect.
<http://en.wikipedia.org/wiki/Model-view-controller>
<http://java.sun.com/blueprints/patterns/MVC.html>
<http://www.javaworld.com/javaworld/jw-12-1999/jw-12-ssj-jspmvc.html>
-- Lew
Arne Vajhøj - 26 Mar 2007 02:04 GMT
>> For the OP - Download NetBeans then the Visual Web Pack. You will have
>> your first JSF application working in a day.
[quoted text clipped - 7 lines]
> <http://java.sun.com/blueprints/patterns/MVC.html>
> <http://www.javaworld.com/javaworld/jw-12-1999/jw-12-ssj-jspmvc.html>
I think Struts to some extent and JSF even more is beyond that.
Controller servlet is implementation. It is not really that
important for those writing the web app how it is done. It is
always good with some background info, but it is not essential
for the programming model.
Arne
spariam - 26 Mar 2007 18:44 GMT
Thanks everyone...I basically have carte blanche to move a dynamic web
application (database driven) from mod_perl to Java.
I've used Struts (1.2), and I'm familiar with it and MVC. I haven't
looked at JSF, which I will. I haven't used Hibernate, but I'm
planning on looking at that as well.
Arne Vajhøj - 26 Mar 2007 01:59 GMT
>> If you mean for web app then I will recommend JSF.
>>
>> It should be the standard for the future.
> I came to the same conclusion but it has invariably been omitted from
> posts similar to the OP's. Given that Sun is plugging it does anyone
> know why it does not feature?
There are a lot of Struts sites out there.
Rewriting a site from Struts to JSF cost money.
A lot of sites decide to continue with Struts instead
of switching to JSF.
Arne
Daniel Pitts - 25 Mar 2007 18:40 GMT
> Hello,
>
[quoted text clipped - 13 lines]
> --
> Thanks...
Where I work, we use Spring, JSTL/EL, Resin 3, Tiles, SiteMesh, and
Hibernate and/or iBATIS.
We disable Scriptlets in our jsps, and use Spring MVC framework with
Tiles and SiteMesh to do our templating.