After you have read the introduction for this tutorial, we can start the real work!
As mentioned in the introduction, we will build a portal for a virtual company called Virtual Internet Education or in short, the VIE portal. What a catchy name, don't you think?
In this first part we will setup our WebCenter Portal application and configure it for our VIE portal purpose.
I will also make an overview of the administration page and tell you what the different sections of that page are. we'll also create our first pages. Yeah!
At the end I will add some exercises so you can learn the newly learned techniques... No worries, you don't need to tell me your dog ate the portal. I will not check whether or not you have done the exercises!
Because this is the first part, you really don't need a lot. Just JDeveloper 18.104.22.168 or later with the WebCenter extensions installed. If you don't know what the WebCenter extensions are or how to install them, please leave a comment and i will add the explenation in this part. (Look for the help menu and check for updates).
If you haven't already opened up JDeveloper, please do so now!
Click on New from the File menu. In the General section select Applications. This way you will see a list of all the available application templates. At the bottom select WebCenter Portal Application and press OK.
A WebCenter Portal application template contains two projects:
In the first screen op the wizard we need to specify a name and folder for our application:
In the next screen we need to specify the name of the portal project witch is Portal by default.
We also have to specify the technology scope of the project. The template has defined it for us so we don't need to change it.
No need to modify anything so just press Next
The next screen contains the information about the portal project. No need to change anything so just press next.
The next screen however, is very important. Make sure that you have enabled the Configure the application with standard portal features checkbox. By enabling it, JDeveloper will create all the needed portlet assets like the administration page and default navigation model and resource catalogs.
The next screens are about the PortalWebAsset project. We don't need to modify anything on that project so we can press the finish button.
Let's take a look at all the files that JDeveloper created for us:
As you can see, there are quiet some folders and files. Here's a small overview of what each folder contains. Don't worry if you don't understand everything at the moment, I will cover each an every file in detail in other parts.
These are the most important folders for now. No need to get into detail.
Now it's time to take a look at the power of this template:
Right click on the Portal project and press Run.
Notice that, if it's the first time you ever run a project in JDevleoper or it's the first time you run a project since you have installd the WebCenter extensions, it can take some minutes before the application starts. This is because JDeveloper will first create a local instance of the WebLogic server and extend it with the WebCenter libraries. After a few minutes your browser will popup and you will see the default home page of the portal:
In the next section we will create our first page!