Here I am going to make a simple example of Weblogic Portal.
Minimum requirements:
- Weblogic Portals
- Weblogic Workshop
- Weblogic Server
Basically when you download weblogic portals then you will have all the necessary things already installed. It can be downloaded from http://www.oracle.com/technology/software/products/ias/bea_main.html
You have to download Oracle WebLogic Portal 10.3.
Step 1: Setting up the Weblogic Workshop
- Open Weblogic Workshop from Programs -> Oracle Weblogic -> Workshop for Weblogic.
- Change the perspective to Portal i.e. Window -> Open Perspective -> Others -> Portal.
Step 2: Create sample application
- Create new Portal EAR project from File -> New -> Portal EAR Project.
- Name it sampleEAR.
- Click next and proceeds with default setting.
- Create new PortalWEB project from File -> New -> Portal Web Project.
- Name it sampleWEB.
- Associate it with sampleEAR by clicking on checkbox if it is not selected and proceeds without any change.
- Now select the WebContent, right click and select New -> Portal.
- Name it myportal and proceeds.
- You will see default portal in the workshop.
- Create a jsp e.g. myjsp and then right click on it and click on Generate Portlet.
- This will create a myjsp.portlet in application.
- You can drag it from the Design Panel to the Portal.
- Let’s create another portal which will access the url of the other website.
- Right click on WebContent select New -> Portlet.
- Name it myportlet and click next.
- Select Browser (URL) Portlet.
- On next screen in the Content URL input box type http://www.google.com.
- Check the checkboxes :
- Has TitleBar
- Minimizable
- Maximizable
- Floatable
- Deletable
- Click next
- Drag the portlet onto the portal.
Step 3: Deploy on server
- Right click on the sampleWEB and select Run As -> Run on Server.
- It will open the server window.
- Select the Oracle Weblogic server from the dialog box and Click next.
These are the minimum steps to build a sample portal.
You can access the application by: http://localhost:7001/sampleWEB
Enjoy the sample..
can you suggest me best books for Hibernate and springs
ReplyDeleteHibernate - Harnessing Hibernate
ReplyDeleteSpring - Spring in Action
Hi Vinod,
ReplyDeleteCam struts 2 run in Weblogic portal 10.3?
If yes can you pls provide some doc / tutorials
Regards
Amar