Getting Started

To create your own application that uses the jPorta framework. Simply:

1. Create a new web application

Create a new web application (using your IDE or by hand). See here for more information.

2. Install the jPorta Library

Copy jeenius.jar from the <JPORTA>\lib directory and place it into the WEB-INF\lib folder of your web application.

Copy jporta.jar from the <JPORTA>\lib directory and place it into the WEB-INF\lib folder of your web application.

In your WEB-INF\web.xml file add the following section:

  <taglib>
    <taglib-uri>jeenius</taglib-uri>
    <taglib-location>/WEB-INF/lib/jeenius.jar</taglib-location>
  </taglib>

  <taglib>
    <taglib-uri>jporta</taglib-uri>
    <taglib-location>/WEB-INF/lib/jporta.jar</taglib-location>
  </taglib>

3. Create a Gadget

Create a simple JSP file that outputs some content.

4. Create index.jsp

Use the demo source (<JPORTA>\demo\www_src\index.jsp) to create to a index.jsp page for your application

5. Create gadget.xml

Use the demo source (<JPORTA>\demo\www_src\WEB-INF\gadgets.xml) to create a gadgets registry for your application.