J2EE JBoss Integration

  Search Here
Searching XAP 6.0 Documentation

                                               

Summary: JBoss installation; server configuration; GigaSpaces JBoss 4.0.5 example.

Overview

This section describes required steps for building J2EE Web applications with JBoss 4.0.5.GA and GigaSpaces.

A simple example accompanied to this section demonstrates the flow and relevant components integration to provide access into the GigaSpaces API.

JBoss Download and Installation

Download and Install the JBoss application server from: JBoss Application Server Downloads

Make sure the JDK version used by the application server to run the example matches the JDK version used to execute the ear.bat/sh file. For example, if the example runs in the application server using JDK 1.4, the ear.bat/sh file should be executed using JDK 1.4.

Set Security Policy

In general, the security policy is defined by:

-Djava.security.policy=<GigaSpaces Root>\policy\policy.all

Add the following system properties into the D:\jboss-4.0.5.GA\bin\run.bat

-Djava.security.policy=D:\jboss-4.0.5.GA\server\default\conf\server.policy"

-Djava.rmi.server.RMIClassLoaderSpi=default
You can augment or replace the default JVM runtime permissions using the java.security.policy System property to specify the path to a policy file. This System property is unique in that it can use "=" or "==" to indicate whether the policy file specified should append to, or replace the default permissions. If you use the "=", the permissions in the specified policy file are appended to the default permissions. If you use the "==", then the permissions in the specified policy file replace the default permissions.

GigaSpaces JBoss 4.0.5 Example


GigaSpaces 6.0 Documentation Contents (Current Page in Bold)

    Java

    C++

    .NET

    Middleware Capabilities

    Configuration and Management

Add GigaSpaces wiki search to your browser search engines!
(works on Firefox 2 and Internet Explorer 7)

Labels

 
(None)