This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes AJAX and Portals Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "AJAX and Portals" Watch "AJAX and Portals" New topic

AJAX and Portals

Geoff Ruscoe

Joined: Dec 05, 2006
Posts: 3
After using several different Java Portal platforms, I learned about AJAX at the NFJS conference (2005, Cin. OH). I immediately realized that AJAX is a much better way to do Portals than any of the traditional "reload the page" methodologies. So I replaced several JSR 168 portlets with simple pages and custom javascript. This seemed to be the best decision for the Portlets.

My questions are:

1) Has anyone else had the same experience and what did you implement to do the AJAX.

2) Doesn't AJAX make JSR 168 actually a detriment to a Portal, and shouldn't all portlets be built using AJAX and not some Standard Portlet specification.
ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
I think, it's a very good question.

The main benefit of portlet is, it fragment the page into different-different parts and gives us flexibility to update one part without refreshing or updating other...

But now Ajax can do the same things faster and easier way...

Is there any chance to replace portlet by Ajax or there have no relation at all???

Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
Have you not seen and all of the 100's of other portal sites that have hit the market in the past year? Using Ajax to add new content is great, you just have to keep the development easy and make the user interface easy for the user's to understand.

Geoff Ruscoe

Joined: Dec 05, 2006
Posts: 3
I think my concern is actually more along the lines of when, due to employment restrictions, you have to use a particular Portal Server. Say for instance you are using Sun's Portal Server or whatever. In that case what is the best way to integrate AJAX portlets? For instance I created some Javascript objects to handle the integration between the DIV for the Portlet and the AJAX calls they needed to make. It worked well, but I can't help but think some of the tool kits can be easily applied to an already built Portal on top of any Portal container -- although I haven't read this exactly.

Thanks again,
I agree. Here's the link:
subject: AJAX and Portals
It's not a secret anymore!