Hey I've put together an example for you with a EJB that returns a Boolean
to a servlet if the user name and pass are "admin" "pass".
The changes that I made to the config files are;

in server.xml ;
<application name="LoginEJB"
path="e:\orion1.4.5\applications\LoginEJB.ear"/>
<application name="LoginWEB"
path="e:\orion1.4.5\applications\LoginSite.ear"/>

in application.xml;
<web-module id="LoginWEB" path="../applications/LoginWEB.war" />

in default-web-site.xml;
<default-web-app application="default" name="LoginWEB" />

Then just put the 3 files in the application directory, and change the
password in the servlet.
It should work, let me know how it goes.
Harley.


Reply via email to