Eclipse WTP with WebSphere Portal Server [message #210738] |
Sun, 23 March 2008 07:15  |
Eclipse User |
|
|
|
I have the need/desire/idea (pick one...) to develop portal applications
targetet at the WebSphere Portal Server without IBM RAD.
Our customers use the Websphere platform for all their JEE applications.
So far we were forced to use RAD to develop the customers' portlets. Our
developers, however, are everything but happy with RAD. We'd rather use
plain Eclipse plus WTP to hook up a local WebSphere Portal Server with
the development environment. All resources I found on the Internet
suggest that this will not work, in part because IBM does not provide a
WebSphere installation package for such a scenario.
Are my assumptions correct?
Kind regards,
Marcel
--
Marcel Stör, http://www.frightanic.com
Blog: http://frightanic.wordpress.com
Skype: marcelstoer
|
|
|
|
Re: Eclipse WTP with WebSphere Portal Server [message #210799 is a reply to message #210774] |
Mon, 24 March 2008 15:53   |
Eclipse User |
|
|
|
Hi Greg,
Greg Sheremeta wrote:
> Marcel,
>
> I'm going to be in the same situation as you soon, so I'd like to know
> the answer too.
> I recently read about MyEclipse Blue Edition. It's a supposedly low-cost
> solution that might work for this. I might give it a try. I'm lucky
Uuummhh, no it won't. I didn't read anywhere that it does/will support
Portlet development against WebSphere Portal Server, have you?
However, I found a cool blog entry about RAD vs. MyEclipse Blue:
http://webspherecommunity.blogspot.com/2008/02/facts-of-rad. html
> enough to just use WTP and Tomcat for the time being, but I'm going to
> be on a WebSphere Portal project soon, and I don't want to use RAD either.
>
> Greg
>
>
> Marcel Stör wrote:
>> I have the need/desire/idea (pick one...) to develop portal
>> applications targetet at the WebSphere Portal Server without IBM RAD.
>>
>> Our customers use the Websphere platform for all their JEE
>> applications. So far we were forced to use RAD to develop the
>> customers' portlets. Our developers, however, are everything but happy
>> with RAD. We'd rather use plain Eclipse plus WTP to hook up a local
>> WebSphere Portal Server with the development environment. All
>> resources I found on the Internet suggest that this will not work, in
>> part because IBM does not provide a WebSphere installation package for
>> such a scenario.
>>
>> Are my assumptions correct?
>>
>> Kind regards,
>> Marcel
>>
--
Marcel Stör, http://www.frightanic.com
Blog: http://frightanic.wordpress.com
Skype: marcelstoer
|
|
|
Re: Eclipse WTP with WebSphere Portal Server [message #210807 is a reply to message #210799] |
Mon, 24 March 2008 16:38   |
Eclipse User |
|
|
|
Originally posted by: sheremeta.greg.gmail.com
Yep, you are correct. This thread indicates that it doesn't support it
yet but hopefully soon:
http://www.theserverside.com/news/thread.tss?thread_id=48391 #247786
Thanks for that blog entry.
Greg
Marcel Stör wrote:
> Hi Greg,
>
> Greg Sheremeta wrote:
>> Marcel,
>>
>> I'm going to be in the same situation as you soon, so I'd like to know
>> the answer too.
>> I recently read about MyEclipse Blue Edition. It's a supposedly
>> low-cost solution that might work for this. I might give it a try. I'm
>> lucky
>
> Uuummhh, no it won't. I didn't read anywhere that it does/will support
> Portlet development against WebSphere Portal Server, have you?
> However, I found a cool blog entry about RAD vs. MyEclipse Blue:
> http://webspherecommunity.blogspot.com/2008/02/facts-of-rad. html
>
>> enough to just use WTP and Tomcat for the time being, but I'm going to
>> be on a WebSphere Portal project soon, and I don't want to use RAD
>> either.
>>
>> Greg
>>
>>
>> Marcel Stör wrote:
>>> I have the need/desire/idea (pick one...) to develop portal
>>> applications targetet at the WebSphere Portal Server without IBM RAD.
>>>
>>> Our customers use the Websphere platform for all their JEE
>>> applications. So far we were forced to use RAD to develop the
>>> customers' portlets. Our developers, however, are everything but
>>> happy with RAD. We'd rather use plain Eclipse plus WTP to hook up a
>>> local WebSphere Portal Server with the development environment. All
>>> resources I found on the Internet suggest that this will not work, in
>>> part because IBM does not provide a WebSphere installation package
>>> for such a scenario.
>>>
>>> Are my assumptions correct?
>>>
>>> Kind regards,
>>> Marcel
>>>
>
>
|
|
|
Re: Eclipse WTP with WebSphere Portal Server [message #212637 is a reply to message #210738] |
Fri, 18 April 2008 19:49  |
Eclipse User |
|
|
|
Hi Marcel
Fortunately your assumption is incorrect - It works just fine :)
Just package your portlet application as a WAR file, and import it to WPS
using the admin console. WPS will then hot-deploy the portlet(s). A better
approach (which I do not yet have working) is to use an ANT script to
deploy, and that requires running the IBM XMLAccess tool to do it right.
An unofficial "hot deploy" also seems possible by copying your WAR file into
the right place under the WPS profile directory. This directory has a
mangled name, so is a bit of a hack.
The biggest problem is the unacceptable startup time of WPS in debug mode
(20 min on my machine), and the sluggish performance while running in debug
mode. I have given up developing on WPS. I use Apache Jetspeed for
development, and deploy occasionally to WPS to make sure everything still
runs OK (and it usually does).
Deployment on Jetspeed is easy - just move your WAR into the deploy
directory. Debugging works fine, as Jetspeed is a Tomcat application. Start
Tomcat from inside Eclipse in debug mode, and thats it.
I also develop all new code in Java 1.5 and use JBoss weaver to weave the
class files to Java1.4 standard. This works round WPS only supporting Java
1.4. About all that does not work is references to constants and methods
that were added to libraries in Java 1.5 (BigDecimal.ZERO for example).
If you want to pursue the Jetspeed option, I can help with advice. We
probaly should shift to another newsgroup to discuss...
Regards
Ron
"Marcel St
|
|
|
Powered by
FUDForum. Page generated in 0.03570 seconds