aspose file tools*
The moose likes Portals and Portlets and the fly likes Developing/Deploying/Acessing  Portlets: Info/Help/Guidance required Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Developing/Deploying/Acessing  Portlets: Info/Help/Guidance required" Watch "Developing/Deploying/Acessing  Portlets: Info/Help/Guidance required" New topic
Author

Developing/Deploying/Acessing Portlets: Info/Help/Guidance required

mayur shah
Greenhorn

Joined: Sep 07, 2007
Posts: 15
Hii everybody,

I am totally new to portlets and want to develop portlets. Here is the infrastructure that i have at presently.

1) Machine 1 :WebSphere Application Server V6.1 and WebSphere Portel Server V6.1 on Red Hat Linux V4 system
2) Machine 2 : DB2 V8.1 Database on another Red Hat Linux V5 system.
3) Machine 3 : LDAP Directory on Linux Fedora
4) Machine 5(My Machine) :Rational Application Developer V6(RAD) installed on my machine(Windows XP).


The WebSphere Application/Portal Server is installed correctly. The Database DB2 is installed correctly . Now i want to develop portlets using Java Portlet API using RAD.

My question is :
1)Do i have to connect Rational Application Developer(RAD) on my machine with the WebSphere Application/Portel Server. I cant figure it out how to connect the RAD with WAS/WPS
2) The portlets developed using RAD can be deployed on the WPS and accessed from other machines.
3) If i want to give access to portlets to specific users, do i have to deal with ldap directory or with WAS/WPS.

can anyone share their knowledge and guide me in the process. Any help/hint will be helpful to me.
Thanking you in advance.

with regards
mayur
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

1)Do i have to connect Rational Application Developer(RAD) on my machine with the WebSphere Application/Portel Server. I cant figure it out how to connect the RAD with WAS/WPS

You may have the local test environment installed, especially if you installed the WebSphere Portal Server (WPS) toolset. If that's the case, you have a local test environment.

Alternatively, if you have a test portal server, you can connect to it as a remote host. Just look for the connect as remote when setting up the WPS to test against. You need the IP address, port, and admin rights when connecting.


2) The portlets developed using RAD can be deployed on the WPS and accessed from other machines.

There's many stages of access, I guess. You can just export your portlet applications as a war file, then anyone can deploy them on their portal server.

When you deploy your portlet, just give all users rights to access it - then any user can add it to their page and play around with it. That's pretty easy to do. Actually, I think that's the default access right when you deploy it - that any logged in user can see it.


3) If i want to give access to portlets to specific users, do i have to deal with ldap directory or with WAS/WPS.

Are the users already set up as users in your portal server? All user rights access to portlets is done through a fairly handsome user interface provided by the portal server. There's no need to fiddle around with LDAP or a database. Now, having said that, all the usernames and group information is actually stored in an LDAP server and/or database, so someone, at some time, has to have created a connection to that WebSphere Member Manager database, but after that's done, you can keep your fingers clear of the LDAP server.

I've got lots of tutorials on using Rational Application Developer to create portlets and deploy to WPS. I think I use WPS 5.1, but the development end is practically identical. Check out the tutorials, and tell your friends about them. Feel free to pick up my portlet development book too, while you're at it.

Free Multimedia Tutorials on Developing Portlets with Rational Application Developer for WebSphere Portal Server

-Cameron McKenzie
[ September 10, 2008: Message edited by: Cameron Wallace McKenzie ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61654
    
  67

"mayur_1", you have previously been warned on multiple occasions regarding adjusting your display name to meet JavaRanch standards. This is not optional, and this is your final warning. Adjust your display name to comply with the required standards prior to your next post.

Failure to comply will result in the removal of your account.

bear
JavaRanch Sheriff


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
mayur shah
Greenhorn

Joined: Sep 07, 2007
Posts: 15
hii

thanks for your reply Cameron.

In my case i have test portal server on linux V4 machine. So i want to connect to the WPS from my machine(Windows XP). I guess i will have to configure the wps to connect remotely so that i can access it my machine where i have installed RAD.

anyways thanks a lot.
mayur

1)Do i have to connect Rational Application Developer(RAD) on my machine with the WebSphere Application/Portel Server. I cant figure it out how to connect the RAD with WAS/WPS

You may have the local test environment installed, especially if you installed the WebSphere Portal Server (WPS) toolset. If that's the case, you have a local test environment.

Alternatively, if you have a test portal server, you can connect to it as a remote host. Just look for the connect as remote when setting up the WPS to test against. You need the IP address, port, and admin rights when connecting.


2) The portlets developed using RAD can be deployed on the WPS and accessed from other machines.

There's many stages of access, I guess. You can just export your portlet applications as a war file, then anyone can deploy them on their portal server.

When you deploy your portlet, just give all users rights to access it - then any user can add it to their page and play around with it. That's pretty easy to do. Actually, I think that's the default access right when you deploy it - that any logged in user can see it.


3) If i want to give access to portlets to specific users, do i have to deal with ldap directory or with WAS/WPS.

Are the users already set up as users in your portal server? All user rights access to portlets is done through a fairly handsome user interface provided by the portal server. There's no need to fiddle around with LDAP or a database. Now, having said that, all the usernames and group information is actually stored in an LDAP server and/or database, so someone, at some time, has to have created a connection to that WebSphere Member Manager database, but after that's done, you can keep your fingers clear of the LDAP server.

I've got lots of tutorials on using Rational Application Developer to create portlets and deploy to WPS. I think I use WPS 5.1, but the development end is practically identical. Check out the tutorials, and tell your friends about them. Feel free to pick up my portlet development book too, while you're at it.

Free Multimedia Tutorials on Developing Portlets with Rational Application Developer for WebSphere Portal Server

-Cameron McKenzie
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Developing/Deploying/Acessing Portlets: Info/Help/Guidance required