File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Application Frameworks and the fly likes Appropriate framework for early web business app Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Appropriate framework for early web business app" Watch "Appropriate framework for early web business app" New topic
Author

Appropriate framework for early web business app

John Peters
Greenhorn

Joined: May 25, 2007
Posts: 18
Howdy!

I've searched through your site and done quite a bit of reading on the various frameworks available to Java web designers. I know that everyone has their favorite, but quite frankly, the choices have overwhelmed me.

I've done web programming with PHP and MySQL off and on for about three years (nothing hugely complicated). I am undertaking a project at work to tie all of our departments together via a web based system (we're a small company; under 20 people), and I figured Java would be the best bet for scalability and overall power.

I've done my planning and am ready to move into the design/coding phase but can't seem to decide on an appropriate framework to use that will work for someone who has gone through the Head First Java and HF Servlets & JSP books, but is still a web app beginner.

EJB3 looks promising from a scalability and security standpoint (since we might be offering this system to outside customers), but has such a large learning curve. Am I trying to drive a semi tractor when a pickup would do?

In playing with JBoss, I've discovered Seam (and picked up Nusairat's book) but keep getting overwhelmed with having to go back and reference EJB3 (which I'm learning at the same time).

I've touched on Struts and Hibernate; but nothing too deep.

Any suggestions as to where to start?
Herman Schelti
Ranch Hand

Joined: Jul 17, 2006
Posts: 387
hi John,

I suggest you find somebody with experience, to see what's appropriate for your project. (the right vehicle, in your words).

He/she should be able to start programming the application, and you can learn from that (probably faster than doing it all by yourself).

I really like the Spring framework, but I'm glad did not have to use any framework for my first (really simple) applications.

Herman
Ingudam Manoranjan
Ranch Hand

Joined: Jul 31, 2006
Posts: 48
Yeah. The number of frameworks overwhelm, especially when there are quite a number of offerings. I would approach the problem through a iteration where the basics of the requirement is built and on top of that iteratively refactor your application as more visibility on non functional requirements of you system evolve.

To start of I guess you can build with what is most familiar to you:
1) Jsp - for front end
2) JSTL or custom tags for any variation in UI.
3) Navigation or Controller - you can pick up any which is most suitable to you in terms of learning curve. It can be struts (since you have gone thru) or spring webflow.
4) The business logic or service can now be in POJO (plain java). This can be re factored to EJB later or web services etc if required.
5) Introduce loose coupling between Struts action classes and POJOs by invoking thru a configuration driven factory or something. So that you need not change that layer later.
6) Persistence can be handled thru simple DAO layer or something like Hibernate can be used.

Just what i thought maybe apt ...
John Peters
Greenhorn

Joined: May 25, 2007
Posts: 18
Thanks for your replies. I'm going to work on things this weekend, try out some suggestions, and see where it takes me. I'll post back my updates.
 
 
subject: Appropriate framework for early web business app
 
Similar Threads
JSF... My post-JavaOne impressions.
Wrote SCEA Beta Test Exam Today - Feedback on the Sun Certified Architect Exam Part 1
Spring and EJBs
SCEA - Web Tier Doubts from Mock Test
Can't find the right framework. Creating a single page app, with dynamic forms