aspose file tools*
The moose likes Portals and Portlets and the fly likes Portal development Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Portal development" Watch "Portal development" New topic
Author

Portal development

Laxmi Raghu
Ranch Hand

Joined: Feb 16, 2005
Posts: 218
Hi Ranchers,

I'm planning to develop a portal on a linux platform using mySQL as DB.

Now my major concern is which portal server best goes with the above combination? What technology and frameworks i can choose?

We are expecting 100K concurrent users initially.

Any help/suggestion for the above is highly appreciated.

Thank you.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42282
    
  64
I wouldn't start by choosing OS and DB, and then the software. I'd start by nailing down the requirements (including scalability), and then selecting software to support it, and only then selecting hardware that can run the software adequately.

100K concurrent users is a big number for a portal, certainly if any kind of customization/personalization is possible. Be prepared to spend serious money for multiple servers.


Ping & DNS - my free Android networking tools app
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

I think Ulf demonstrates a great deal of wisdom.

As far as shortlisting portals, I'd probably suggest:

1. JetSpeed
2. OpenPortal
3. LifeRay

Without really opening your wallet huge, these are probably the ones to look at.

To be honest, I'm thinking the future is 'mashups' with GWT or another similar technology. I'm starting to think that Facebook may have killed the portal.

-Cameron McKenzie
Laxmi Raghu
Ranch Hand

Joined: Feb 16, 2005
Posts: 218
Just a correction in my requirements.

Intially we are expectign 100K registered users and 10K concurrent users.

Sinc ewe need to cut down the project cost, we are planning to use most of the open source softwares whereever possible. Can anybody pinpoint what software packages are best suitable?

Any help in this regard is highly appreciated.

Thank you.
Laxmi Raghu
Ranch Hand

Joined: Feb 16, 2005
Posts: 218
Also, the requirements include internationalization and multilanguage support and a respons etime of 7 seconds between the user requests.

You can imagine the portal to be similar to Facebook.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42282
    
  64
I18N is something every decent portal does these days, although that goes into the domain of CMSes. In addition to the ones Cameron mentioned, Alfresco is another option in the open source space.

What does "a response time of 7 seconds between the user requests" mean? Does it mean that each of the 10K concurrent users will submit a request every 7 seconds? Or that the server needs to respond to a request within 7 seconds? Or that requests will not come in faster than once every 7 seconds? Something else?

This is important to get right for planning the scalability - 10K concurrent users is a large number. As a very rough estimate, for a highly customizable site (something FaceBook-like) a single server probably won't be able to service much more than 100 requests per second (maybe more if you implement a lot of intelligent caching - which a free portal may not help you with). So if there is a 7 seconds limit in response time, I'd say you're looking at 15 servers to start with (assuming that "10K concurrent users" really means 10K users accessing the site at the same time).
[ July 24, 2008: Message edited by: Ulf Dittmer ]
Laxmi Raghu
Ranch Hand

Joined: Feb 16, 2005
Posts: 218
Thanks for the reply.

What i mean by "response time of 7 seconds between user requests" is - server needs to respond to a request within 7 seconds.

And,

10K concurrent users mean - 10K users accessing the site at the same time.

Yes ... we do plan for multiple servers and clustering.

Since the choice of OS and DB already decided by the team , i'm planning to select Apache JetSpeed 2 for the portal server.

Why i made such a decision is:

1. It can support Linux and MySQL
2. Multilanguage support available
3. Supports most of the browsers
4. WML support
5. Open source

Do you foresee any issue in my selection?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42282
    
  64
I don't have experience with JetSpeed 2 -I did work with JetSpeed 1, though, which wasn't exactly fast- but in general I see no unsurmountable problems with the software side, provided you get a handle on the scalability issues.
Laxmi Raghu
Ranch Hand

Joined: Feb 16, 2005
Posts: 218
Thanks Ulf.

Given a second thought --

Since we are going to develop a social networking portal similar to Facebook, will LifeRay a good choice? We deal with lot of images/videos between the portal and cell phones.

Here is what comparision study i made on open source portal softwares:

JetSpeed 2:

1. Supports Linux and MySQL
2. Supports multilanguage
3. Good security features
4. WML support
5. Supports most of the browsers

LifeRay Portal 4.2:

1. Supports Linux and MySQL
2. Out of the box social networking features
3. Supports most of the browsers
4. Ability to share LifeRay application thro' Facebook or any website
5. But security features not as good as JetSpeed.

Any suggestions?
Laxmi Raghu
Ranch Hand

Joined: Feb 16, 2005
Posts: 218
Finally we decided to use Jetspeed 2 as our portal server. Now we are left with making a choice on framework that best fits our application.

Amoung the Struts 2 and spring, which one is better? I've used a company proprietaty framework which is similar to struts framework in my earlier company. But very much NEW to spring. Jetspeed supports both of these frameworks.

Now given a choice between these two, which will be better? Any suggestion in this regard is highly appreciated.

Thank you.
Ray Carrender
Greenhorn

Joined: Aug 12, 2008
Posts: 12
Struts and Spring are two totally independent frameworks (struts is mostly frontend crap, while spring is everything; the swiss army knife of frameworks). One thing you might do with Spring may not even cover what can be done with Struts. So if you have a personal preference to passing things forward with the struts framework then go with both.
[ August 12, 2008: Message edited by: Ray Carrender ]
Laxmi Raghu
Ranch Hand

Joined: Feb 16, 2005
Posts: 218
After studying on both the technologies, we chose Spring framework for the portal development.

Does anybody have any idea how to setup jetspeed and ant with eclipse?

I would like to automate the process of building and deploying portal application with eclipse and ant on linux platform.

If anybody know any good resources any book that best explains these things, please pass the information.

Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Portal development