Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2007

Tip: Looking for answers? Try searching our database.

Choices - moving to Java environment

Thread view: 
spariam - 25 Mar 2007 17:25 GMT
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.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.