The moose likes Struts and the fly likes JSF tree , tabbed pane & datagrid Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "JSF tree , tabbed pane & datagrid" Watch "JSF tree , tabbed pane & datagrid" New topic

JSF tree , tabbed pane & datagrid

Vikram Waikar

Joined: Jul 26, 2002
Posts: 5
Sun Java Studio creator provided a very basic and not fully functional advanced components like datagrid does'nt allow paging.
In contrast IBM WSAD allows lot of advanced features, but ties the object to WDO (IBM's implementation of SDO , still a JSR). This makes it diffcult to use with standard j2ee servers.
What will be the J2EE compliant way of using the advanced JSF components ?
And which IDE is most suitable , freeware will be ideal?
I am not sure how Borland and Oracle IDEs have implemented JSF, anyone aware of these, do throw in some light.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

Here is how things are supposed to work. Sun created a specification for JSF. Sun then created a Reference Implmentation (RI). If you were to design an app with Sun's RI and then took that code and used someone else's RI, your app should still work. There's a chance that some things might look a little different like validation messages and things like that. But all the UI Components should be the same. This is because Sun's spec says so.

Now, if you moved from Sun's RI to, say, IBM's RI and then used some IBM RI specific components/features you are then tied into their RI. This also ties you into using WSAD. This is marketing. IBM doesn't want you to use someone else's RI. Sun will probably release a spruced up RI in the near future to tie people into Creator. I've heard there is no guarentee that the RI you get from Sun now could be used legally in a commercial application without licensing. Can't verify that though.

MyEclipse workbench includes support for JSF although it is only configuration support; no cool drag and drop of components like Creator.

I started out coding JSF by hand using IntelliJ IDEA. I tried Creator the other day and it just confused me. So as of right now, IDEA will be good enough for me. The difference being, if you code by hand you should really know what's going on. If you use something like Creator, there are a few things you can pass off as, "I guess that's just how it works" and not worry too much about it.

I am currently doing all my JSF development using MyFaces which is an Open Source RI. It's packed with some pretty good Custom UI Components as well.

I know that the next version of JDeveloper will have JSF support. But that's all I know about that. I have no idea what Oracle is doing, but be asured they are doing something. One we have a bunch of tools available, I think you will be seeing JSF show up a whole lot more.


GenRocket - Experts at Building Test Data
Siripa Siangklom
Ranch Hand

Joined: Jan 26, 2004
Posts: 79

I am not sure how Borland and Oracle IDEs have implemented JSF, anyone aware of these, do throw in some light.

Both JBuilder 2005 and Oracle JDeveloper 10g support JSF.
[ September 02, 2004: Message edited by: Siripa Siangklom ]
I agree. Here's the link:
subject: JSF tree , tabbed pane & datagrid
It's not a secret anymore!