The source code is included with the sample residential portal. To modify the behavior of the portal beyond a simple configuration, install a Java development environment. You can find the source code of the sample residential portal in the directory WEB-INF/src. The portal pages are stored in the layout and tiles directories.
The sample residential portal does not require any specific environment, but the procedures below assume that you use the Eclipse platform. A servlet container is required to run the portals during development. We recommend that you use Tomcat and its Eclipse plug-in.
For information about your development environment, see the documentation for the product you are using.
The following instructions describe how to set up a development environment that uses Eclipse and Tomcat on a Solaris platform. If you want to use Eclipse and Tomcat on a different operating system, see the following Web sites:
To get ready to develop a portal based on the sample residential portal:
Select Window > Preferences > Tomcat, and configure the Tomcat version and the path where you installed Tomcat.
To create a new Tomcat project inside Eclipse:
Eclipse automatically rebuilds the project when you save a modified source file.
To test or debug the project, run the code inside Tomcat.
To start Tomcat:
You can set break points in your code to debug the code.
To create a new Web application, set the name of the target WAR file.
Simulated router drivers allow you to create subscriber sessions without connecting to a router. You can use a simulated router drive when you want to test your portal application. See Configuring Simulated Router Drivers (SRC CLI).