aspose file tools
The moose likes JSF and the fly likes Complex form : Which is the best design approach? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Complex form : Which is the best design approach?" Watch "Complex form : Which is the best design approach?" New topic
Author

Complex form : Which is the best design approach?

partha naveen
Ranch Hand

Joined: Jul 17, 2008
Posts: 32
Hi,

I have a requirement where I am required to design several pages that consisit of online forms which are quite large and complex. There is not must business logic though, most of these forms are directly linked with table columns in the database.

Would JSF be of help to map such complex forms with DB tables? Or is there a better approach for this?

Thanks
PN
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 14480
    
    7

JSF is ideal for that kind of stuff. For one thing, it has built-in primitives for tabular data display. Although pageable tables aren't part of core JSF almost every JSF extension tagset (Tomahawk, RichFaces, IceFaces, ADF, etc.) adds that ability. JSF is all about forms and their interrelationships, and it's about as close to true MVC as you can get on an HTTP transport.

Normally you'd put the business logic in a lower tier, but the JSF backing beans are the place for view model objects. When used in conjunction with a good ORM, you can reference domain objects directly or semi-directly straight from the view when using JSF.


Customer surveys are for companies who didn't pay proper attention to begin with.
Samuel March
Ranch Hand

Joined: Oct 28, 2009
Posts: 39
If the system is a proper J2EE server and its other services are J2EE, thats ok, but not for the sake of it.
As forms are, the leverage is application integration when throwing around data or between VM's as in EJB.
If your not validating, that would be a bit extravagent but not in true terms if other services do use such J2EE
levels.


...did you have the fish?!............................ No.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Complex form : Which is the best design approach?
 
Similar Threads
Question regarding XForm / Form.
Three forms in jsp page
Technique for same fragment shown in multiple tabs
JSF should solve this better than me
eForm