|
Home > Archive > WebSphere Portal Server > March 2005 > Are JSR-168 and Struts portlets mutually exclusive?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Are JSR-168 and Struts portlets mutually exclusive?
|
|
| Tony Cooke 2005-03-23, 2:53 am |
| Hi everyone.
I'm a beginner portlet developer and I'm looking at the best way to develop
portlets on WebSphere Portal V5.1.
I'm using the Rational Application Developer (RAD) V6 and the wizards there
seem to indicate you can develop a JSR-168 portlet OR a portlet that
supports Struts, not both. ie a JSR-168 Struts application.
NOTE: I know there are others available but these 2 seem to be the main ones
that IBM suggests to use.
Looking at the Struts portlets (JSP pages) it produces it seems to indicate
that they are different completely to JSR-168 portlets.
I may be missing the big picture here (actually I'm sure I am) but I was
wondering if someone could point me in the right direction with regards to
portlet development. All the info I read from IBM says use JSR-168 but
there's a lot of documentation on Struts based portlets there too.
I just want to learn the right way from day one.
Can anyone help me?
Thanks in advance for any suggestions.
All the best,
Tony
| |
| Tony Cooke 2005-03-23, 2:53 am |
| OK. I'm an impatient idiot.
I checked the InfoCenter and it's all there.
Struts aren't mutually exclusive to JSR-168. They actually incorporate them.
They can also incorporate the legacy IBM portlet code (but they suggest not
to).
eg. The Struts View command
The Struts View command is the base class for commands in the Struts Portlet
Framework.
a.. The IBM class name: com.ibm.wps.portlets.struts.WpsStrutsViewCommand
b.. The JSR 168 compliant command:
com.ibm.portal.struts.command.StrutsViewCommand
There are many more like this. I guess I just overlooked the imports.
Sorry to waste your time. Next time I'll try and be a bit more patient and
check the doco first.
All the best,
Tony
"Tony Cooke" <TCooke@elders.com.au> wrote in message
news:d1qmd3$47di$1@news.boulder.ibm.com...
> Hi everyone.
>
> I'm a beginner portlet developer and I'm looking at the best way to
develop
> portlets on WebSphere Portal V5.1.
>
> I'm using the Rational Application Developer (RAD) V6 and the wizards
there
> seem to indicate you can develop a JSR-168 portlet OR a portlet that
> supports Struts, not both. ie a JSR-168 Struts application.
> NOTE: I know there are others available but these 2 seem to be the main
ones
> that IBM suggests to use.
>
> Looking at the Struts portlets (JSP pages) it produces it seems to
indicate
> that they are different completely to JSR-168 portlets.
>
> I may be missing the big picture here (actually I'm sure I am) but I was
> wondering if someone could point me in the right direction with regards to
> portlet development. All the info I read from IBM says use JSR-168 but
> there's a lot of documentation on Struts based portlets there too.
>
> I just want to learn the right way from day one.
>
> Can anyone help me?
>
> Thanks in advance for any suggestions.
>
> All the best,
> Tony
>
>
|
|
|
|
|