• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Appropriate framework for early web business app

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Ranch Hand
Posts: 387
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic