Hi Guys,
     I have made a rudimentary prototype of the EJBRedirector. I have followed 
the same pattern in which the ServletRedirector is made. It currently just 
executes the FirstTest class in the Container. The FirstTest class extends the 
EJBTestCase class. The FirstTest tests the sum and multiply method of the 
TestBean. EJBRedirector is a bean which has a single method test() which takes 
EJBRequest as an argument. I **havent** implemented all 
he classes. Before going forward I wanted to be sure that i was going in the 
right direction, therefore I am sending the prototype to  all you so that you 
can take a look at it. Also tell me if you have some ideas how you people have 
thought about the EJBRedirector to be. The jar file contains source files also.
Below are the steps for running the prototype.


thanks & regards,
Siddhartha
http://www.visioncodified.com


Environment
------------
JDK 1.3.1
JBoss 3.0.6
Cactus 1.4.1

Steps to run the prototype.
-----------------------------
Step 1. Copy the prototype.jar, run.bat and jndi.properties in any directory

Step 2. Open run.bat in any editor and set the JBOSS_HOME and CACTUS_HOME 
variables.

Step 3. Copy the jar filesaspectjrt-1.0.5.jar,cactus-1.4.1.jar, commons-
httpclient-2.0alpha1-20020606.jar, commons-logging-1.0.jar, junit-3.7.jar  in 
JBOSS_HOME\server\default\lib\   directory

Step 4. Copy the prototype.jar file in JBOSS_HOME\server\default\deploy 
directory

Step 5. Run the run.bat from the directory where the prototype.jar and 
jndi.properties are present.




-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

Attachment: prototype.jar
Description: Zip compressed data

java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
# Do NOT uncomment this line as it causes in VM calls to go over
# RMI!
java.naming.provider.url=localhost

<<attachment: run.bat>>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to