Qare Internals
    SQL Tables
    Schema
    Plugins
               Demo Hello World
               Change Password
               Ping
    API
 Site Map
 
Demo Hello World Plugin
 
 QareApplications
        AppDir
        ChangePassword
        Count
        CreateAccount
        Delegation
        DelegationDisplay
        DeleteRemote
        HelloWorld
        Inbox
        Login
        Logout
        Pending
        Ping
        Refresh
        Register
        RemoteAccount
        UserGroups
 

Introduction

The 'Hello World' plugins is template generated server-side web application that displays the "Hello World" web page.

Source Code and Resource Files

The HelloWorld compiles as part of the build process. The important modules that contribute to the demo are listed here. All these files placed together on in one war file as a server application. The resourses and src directories contain all these files.

The resource directory contains:

1. hello.txt

This text file used to display the text HELLO WORLD .
Resource File .

2. hello.config

It facilitates the processing of command line arguments in very flexible manner. The data is held by properties the name-value pairs.
Resource File .

3. data.application

This xml files describes the name of the application, its path directory and action. It also gives the link to help page. The privilege tag represents the specific permission to which the user has access. "Hello" privilege being presented by the privilege tag.
Resource File .

4. web.xml

This xml file is servlet descriptor. It expresses the servlet name, servlet path and the time(millisecond) taken to load servlet after server starts.
Resource File .

The src directory contains:

1. helloTemplate.java

This class provides the functionality for complete processing of template.
Source Code .

2. QServlet.java

The QServlet source file resides in the 'src' directory of the HelloWorld. It extends QHome the top of all Java Servlet. It also identifies the data to use by after. It gives the the war file name "helloWorld" to get data of the specific application while parsing data and the parsed data is held in object that sets the application.
Source Code .