• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

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

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
author and cow tipper
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Sheriff
Posts: 67754
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"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
 
mayur shah
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic