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 / First Aid / April 2005

Tip: Looking for answers? Try searching our database.

Which framework to use ?

Thread view: 
Dave Brown - 14 Mar 2005 00:27 GMT
Hi all,

I was wondering if there are any guides to dermining which frameworks to
use when.. I am about to embark on a little learning project to convert
a forum application I wrote in another language a long time ago to java,
but cant decide whether JSP's & Servlets are best, or to incorporate
struts, or even tapestry which from my reading seems very interesting,
but might be overkill.

There isnt really much involved to my project, a Registration Page, A
Login Page, A Profile Editor, And the forum display screens themselves.
Later on down the line I would like to futher enhance it with an RSS
feed, and enhance the user profiles, so users can upload images of
themselves perhaps, and the message editor in the system has a lot of
scope for future enhancements,rather than a plain textarea. Anyway thats
just my brainstorming coming out there..

From my limited experience so far with JSP's and servlets I have found
I am creating a new servlet for each form post within my applications,
so in a project like this I can see lots and lots of servlets.. maybe
this is acceptable I dont quite know.

Any thoughts/advice greatly appreciated.

Thanks,

Dave
None - 14 Mar 2005 05:29 GMT
Based on the application you describe, I would say Struts.

It really won't take very long to get up to speed with Struts, at
least as far as you'll need to do this application (I would say don't
use tiles, only so that its one less thing to learn).  Struts will get
your application into a proper MVC form (unless you go out of your way
to screw up!), and is powerful enough that it will grow with your
needs.  Also, based on your comment about creating a new servlet for
each post, I think you'll find the amount of code in your application
decreases significantly using Struts.

Tapestry is indeed a nice framework, but I believe has a higher
learning curve than Struts.

JSF is another option, but its really a differerent paradigm than what
your used to, and arguably not a good choice for relatively simple
applications.  It too has a rather higher learning curve, plus it is
still evolving somewhat.  

Feel free to fire back here with questions if you go the Struts route,
I'd be more than happy to help get you going.

Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com

>Hi all,
>
[quoted text clipped - 23 lines]
>
>Dave
kent@cpttm.org.mo - 06 Apr 2005 13:11 GMT
Tapestry is a good option, much easier than struts or jsp. To get
started, you may check my tapestry tutorials at
http://www2.cpttm.org.mo/cyberlab/softdev/tapestry/index.html
kent@cpttm.org.mo - 06 Apr 2005 13:11 GMT
Tapestry is a good option, much easier than struts or jsp. It is also
very easy to learn too. To get started, check my tapestry tutorials at
http://www2.cpttm.org.mo/cyberlab/softdev/tapestry/index.html


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.