://203.87.61.77:82 harley rana -deploy -file
-deploymentName hey d:\ejb\hey.ear
Please help!!
Thanks Harley Rana
-
Powered by http://www.telstra.com
Hi i am having alot of trouble just deploying anything.
I would really appreciate if someone could give the step by step way to deploy
a sime stateless session bean.
note i have got the server started and runnign jsp.
Thanks alot for your help!
Harley Rana
-application.xml.
I would love some help getting the xml conig working!
Thanks for any help you can give, Harley Rana.
This is the client.
package test;
import javax.naming.*;
import java.util.Hashtable;
import javax.rmi.PortableRemoteObject;
class Client {
public static void main(String[] args
.
What do i need to do?
Could you include code examples please.
I appreciate any help you can give!
Thanks, Harley Rana.
HelloClient.java
hello-planet.ear
Hey i have figured out how to access a EJB from a client, not packaged in a
.ear.
If i tryed to access the bean by calling
context.lookup(java:comp/env/ejb/SomeBean);
, you get a exception stating the client must be a J2EE component.
The way around was to look at the file
?this is the code in the constructor of a normal class. im using
Oracle8i 1.1.7
Thanks alot for any help you can give!
Harley Rana.
try{
System.setProperty("java.naming.factory.initial","com.evermind.server.ApplicationClientInitialContextFactory");
System.setProperty("
Hey Denis, its not to hard.
You would package both the seperate tiers files into seperate .ear files,
then in a servlet you would access a ejb by creating a properties file with
your JNDI settings and setting the url to the machine hosting the ejb tier
( for now would be localhost, but could be
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
Forgot the files!!
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"/
Hi site.zip has the source and if you just replace the old LoginWeb.war file
with the new one it should work.
Now there's the login page that sends the form to LoginResultPage.jsp, which
calls LoginWebBean that then calls the EJB.
The servlet is still there. All you need to call the servlet is
I have been looking into the JAAS security for building a more flexible
security framework.
The main problem I have is how to use the jaas api with the security
features in Orion.
For example if you implement a custom LoginModule, how does it add a
principal to the Orion web container, or how
Hi Denis, I'm not sure why you are using tomcat, the example I made was
using orion.
If you want to change the page that process the form on LoginPage.jsp just
change the url in the action setting of the form.
Are you getting any errors? Is so what are the details?
Have you tried using sun's jdk 1.3?
That's the jdk that has been tested.
This is not a bug but a normal Java function.
Try and print System.out.println() with a null string and the same will
happen in any program.
-Original
Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On
Behalf Of Marc SCHNEIDER
Sent: Wednesday, June 20, 2001
8:49 AM
14 matches
Mail list logo