Choices - moving to Java environment

S

spariam

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?
 
?

=?ISO-8859-1?Q?Arne_Vajh=F8j?=

spariam said:
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?

If you mean for web app then I will recommend JSF.

It should be the standard for the future.

Arne
 
D

David Segall

Arne Vajhøj said:
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.
 
D

Daniel Pitts

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?

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.
 
L

Lew

David said:
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
 
?

=?ISO-8859-1?Q?Arne_Vajh=F8j?=

David said:
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
 
G

Guest

Lew said:
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>

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
 
S

spariam

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,265
Messages
2,571,069
Members
48,771
Latest member
ElysaD

Latest Threads

Top