Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

generic portal question

 
Peng Zhou
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just start to look at portal. Have 2 questions that puzzles me.

1. portal --> book --> page --> portlet If a portlet has a form and be submitted, will the whole page refresh or just that portlet window? or it varies among vendor's implementation?

2. if there are multiple web apps deployed in a server (maybe cluster), or different servers, is there a simple way to aggregate them via portal tech except URL portlet?

thanks
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"pengzhou",
Welcome to the JavaRanch.

We're a friendly group, but we do require members to have valid display names.

Display names must be two words: your first name, a space, then your last name. Fictitious names are not allowed.

Please edit your profile and correct your display name since accounts with invalid display names get deleted, often without warning

thanks,
Dave
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If a portlet is invoked, the whole portal page will refresh. That's just the way it is.

I know there is work to integrate Ajax into JSR-268, and some people create all sorts of problems trying to use IFrames in the portal, but for the most part, the whole page refreshes. This is another reason why using the portlet cache mechanism is so pivotal.

As far as 'portalizing' we apps, one easy way is to use web clipping, which from my experience, I've seen work fairly well in WebSphere and Jetspeed.

Which vendor do you use?

Happy Portal.

-Cameron McKenzie
 
Peng Zhou
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you, Cameron. Using IFrame or Ajax does achieve the goal. It will benefit all developers + apps if this feature is provided by portal implementation vendors. Otherwise, I can image the error/issue by each app's developers.

Sorry, I don't know what "web clipping" means. Currently we are using weblogic and having 10 web-apps deployed. The target is to create a center "workbench" web-app to control the whole look & feel and host common render functions used by other web-apps.
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't know what web clipping is?

Boy, do I have the tutorial for you:

Portal Development and Administration Tutorials and Examples (Web Clipping)

It allows you to scrape an existing website. It's now without flaws, but it gets non-portal content portalized quickly.

Cheers!

-Cameron McKenzie
 
Peng Zhou
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is interesting after reading your webclipping demo. One special protlet can render a snippet of or whole foreign page. If not portlet, it can be easily done by jstl import tag piping to a reader to selecting that part. If needed, converting all foreign relative url to absolute url.

But I don't know how to handle the dynamic stuff without too much effort. i.e. http://foreign_url/resource?data=dyanmic

thanks
 
Peng Zhou
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After reading a bit weblogic portal document, I found "Federated Portals" may be the right choice to aggregate the portlets across several web apps if the vendor is bea.

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic