How to develop and deploy a GenericPortlet using SJSC2-1?
Hi there,
I recently bought books about the development and deployment of JSR-168 Portlets. Both describe the approach to develop Portlets by making use of subclasses of GenericPortlet.
But as far as I see, Sun Java Studio Creator does not follow this approach for portlet development. Therefore, I have a couple of questions:
1.) Does Sun Java Studio Creator at all support me to learn the details about a GenericPortlet based portlet development using this IDE?
2.) Who at Sun to contact to ask whether or not this dev. approach (based on GenericPortlet) is supported or planned to be supported, as all ?
3.) Or do you recommend me to pick another IDE for GenericPortlets ?
Thanks for feedback!
Dirk V. Schesmer
Stuttgart/Germany
[787 byte] By [
dvsjava] at [2007-11-26 7:39:40]

# 1
Dirk,
> 1.) Does Sun Java Studio Creator at all support me to
> learn the details about a GenericPortlet based
> portlet development using this IDE?
Java Studio Creator 2 Update 1 creates JavaServer Faces Portlets. As you know from your reading you can implement "Portlet" or extend "GenericPortlet". There is a component, the JSF-Portlet adapter, that actually implements the "Portlet" interface. Thus when you create portlets in Creator, you are filling in the details of a framework that is set up to do the portlets.
>
> 2.) Who at Sun to contact to ask whether or not this
> dev. approach (based on GenericPortlet) is supported
> or planned to be supported, as all ?
I developed the portlet development feature for Creator so you can ask me questions related to portlet development in Creator.
>
> 3.) Or do you recommend me to pick another IDE for
> GenericPortlets ?
If you REALLY want to develop portlets at that level, you have a couple of choices with Sun tools.
1. Java Studio Enterprise 8 includes a "portlet builder" that will create the code fragments for you around GenericPortlet and also create the WAR file for you.
2. You can use NetBeans to create a web application then specialize it to be a portlet. You'd obviously have to add some things like a "portlet.xml" and the portlet.jar.
Hope that helps!
-David Botterill
Java Studio Creator Evangelist