THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
1. - client/MainClient.java
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
package client; public class MainClient { /** * @param args */ public static void main(String[] args){ System.out.println ("CLIENT RUNNING..."); } } |
2. - META-INF/application-client.xml
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<?xml version="1.0"?> <application-client xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee [http://java.sun.com/xml/ns/j2ee/applicationclient_1_4.xsd]" version="1.4"> <display-name>EXAMPLE Client</display-name> </application-client> |
3. - META-INF/geronimo-application-client.xml
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<?xml version="1.0"?> <application-client xmlns="http://geronimo.apache.org/xml/ns/j2ee/application-client-1.2" xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2"> <dep:client-environment> <dep:moduleId> <dep:groupId>JEE5</dep:groupId> <dep:artifactId>EXAMPLEClient</dep:artifactId> <dep:version>1.1</dep:version> <dep:type>car</dep:type> </dep:moduleId> </dep:client-environment> <dep:server-environment> <dep:moduleId> <dep:groupId>JEE5</dep:groupId> <dep:artifactId>EXAMPLEClientServer</dep:artifactId> <dep:version>1.1</dep:version> <dep:type>car</dep:type> </dep:moduleId> </dep:server-environment> </application-client> |
...