No, the deploytool that comes with J2EE RI ... Under c:\j2sdkee1.2.1\bin a
batch file exist called deploytool.bat ... give that a whirl and see what
you think. You do not have to actually deploy the application, that is used
to deploy the application into the J2EE RI App Server. All that is
neccessary is to create the .EAR file, then reference it in your orion
config files.

It's pretty cool, once you have the app installed in orion, to update your
app, you simply hit tools, update app and it searches for files that have
changed, chages the .EAR file and assoicated .jar files, then you hit save
and Orion's AutoLoad features kick in and update the app on the fly.

Jeremy

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of E Mail
Sent: Sunday, May 21, 2000 1:56 PM
To: [EMAIL PROTECTED]
Cc: Jeremy N. Cowgar
Subject: RE: RE: EJB Deployment



What is this deploytool?
Do you mean the tool that starts by "jar -jar ejbmaker.jar"?

thanks.
YL



-----Original Message-----
From:    Jeremy Cowgar [EMAIL PROTECTED]
Sent:    Fri, 19 May 2000 16:54:19 -0400
To:      [EMAIL PROTECTED]
CC:      [EMAIL PROTECTED]
Subject: RE: EJB Deployment


I use deploytool to package everything up, and all works great, except in
the deploytool the JNDI naming scheme seems to have nothing to do with
Orion. I spent more than an afternoon trying to deploy EJB's. When I deploy
an EJB, I create the Display Name, EJB Name, everything the name of my bean
for instance:

User            EJBObject
UserHome        EJBHome
UserEJB Session or EntityBean, whatever.

Now, my Display name for this would be UserEJB, EJB Name, UserEJB, etc..
Then in my client code (in this case, a .JSP), I simply execute:

        InitialContext ctx = new InitialContext();
        Object objRef = ctx.lookup("UserEJB");
        UserHome userHome = (UserHome)PortableRemoteObject.narrow(
                        objRef, UserHome.class);
        User user = userHome.create(userId, password);

I hope this helps everyone, because I had the same battle.

Jeremy


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jim Archer
Sent: Friday, May 19, 2000 3:35 PM
To: Orion-Interest
Subject: EJB Deployment



Hi All...

A look through the archives seems to indicate this question is often asked
but I didn't see an answer...

Two people here have spent the afternoon trying to deploy EJB beans under
orion. No luck.

Is there any documentation or guide, beyond the docs that came with Orion,
available? We are getting errors that indicate the server can't find our
calsses, and have not been able to fix this problem or get even simple
beans to deploy.

Any hints or information would be appreciated.

Thnaks!

Jim









___________________________________________________________________________
Visit http://www.visto.com/info, your free web-based communications center.
Visto.com. Life on the Dot.


Reply via email to