Hi Everybody,
I am a beginner in Orion and am trying to
deploy the example EJB.Follwoing the steps as given , I get the
following error.
While running the CartClient and Product Client i get the
follwoing error
Product Client
Exception in thread "main" java.lang.SecurityException:
e already compiled.
Anyways..I'll keep plugging away.
-Original Message-
From: Stanislav Maximov [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 19, 2000 6:34 PM
To: Orion-Interest
Subject: RE: EJB Help..
Kevin,
look inside the news-application example bundled with Ori
To: Orion-Interest
Subject: RE: EJB Help..
the create method must reside in the Home interface and must match an
ejbCreate method in the bean class...
the Home And Remote interfaces (Login.java and LoginHome.java) must be
implemented somewhere,
because the Bean class doesn't implement
jects work directly with entity objects?
Ahh..so much to learn..so little time. I think I'll be just in time for
EJB 2.0! :)
-Original Message-
From: Juan Lorandi (Chile) [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 20, 2000 2:52 PM
To: Orion-Interest
Subject: RE
0 6:34 PM
To: Orion-Interest
Subject: RE: EJB Help..
Kevin,
look inside the news-application example bundled with Orion,
lots of things
will become clear for you after that.
www-dir/WEB-INF/classes directory is for servlet classes,
not for EJBs.
You'll see how to deploy EJB
Sent: Thursday, October 19, 2000 6:34 PM
To: Orion-Interest
Subject: RE: EJB Help..
Kevin,
look inside the news-application example bundled with Orion,
lots of things
will become clear for you after that.
www-dir/WEB-INF/classes directory is for servlet classes,
not f
Anyways..I'll keep plugging away.
-Original Message-
From: Stanislav Maximov [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 19, 2000 6:34 PM
To: Orion-Interest
Subject: RE: EJB Help..
Kevin,
look inside the news-application example bundled with Orion,
lots of things
will become
ndi (Chile) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 19, 2000 2:03 PM
To: Orion-Interest
Subject: RE: EJB Help..
I acomplish this by simply:
Creating a directory (in orion\applications) with the same
name than the ear
(directory: Test.ear)
then there I put the contents
:[EMAIL PROTECTED]]
Sent: October 20, 2000 2:17 PM
To: Orion-Interest
Subject: RE: EJB Help..
Thanks.
I only meant to use the /classes folder because my ejb code is in the same
project as the rest of my code (Servlets, javabeans, action classes, etc).
Since it all compiles
the same process. I would think turn-around time for ejb development is on
the order of a couple of minutes for every change you make. That results
in
a lot slower development cycle than I am currently using.
Today, I have been making changes to my ejbs, compling them, "touch"ing (ie.
And you're probably on unix or using ANT.
When you start adding EJBs you start to think about using ANT or some
other "make" like tool as you have to do more.
ber 19, 2000 6:34 PM
To: Orion-Interest
Subject: RE: EJB Help..
Kevin,
look inside the news-application example bundled with Orion,
lots of things
will become clear for you after that.
www-dir/WEB-INF/classes directory is for servlet classes,
not for EJBs.
You'll see how to deploy
Kevin, your "Home interface" class, the LoginHome object, should have a
create() method. In fact, you can have several create methods if you like,
each with a different parameter list (yes, you can have no create methids,
but thats a special case no relevant here). The Orion primer does show a
Hi all,
I am trying my hand at EJB with Orion, and I am wondering if there is any
way to avoid the hassle of always having to package the ejb classes into a
.jar file, and so on. Is there any way at all to develop and deploy ejbs
using an expanded dir structure, much like in the development of a
We actually don't have any jar files at all for our EJBs. They are just in
the classpath (I think we have a library path="classpath" somewhere that
points to the class files). The module tag, I think can just point to a
directory.
-joel shellman
Hi all,
I am trying my hand at EJB with Orion,
-Interest
Subject: EJB Help..
Hi all,
I am trying my hand at EJB with Orion, and I am wondering if there is any
way to avoid the hassle of always having to package the ejb classes into a
.jar file, and so on. Is there any way at all to develop and deploy ejbs
using an expanded dir structure, much
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Duffey, Kevin
Sent: Friday, October 20, 2000 5:37 AM
To: Orion-Interest
Subject: EJB Help..
Hi all,
I am trying my hand at EJB with Orion, and I am wondering if there is any
way to avoid the hassle
]]
Sent: Thursday, October 19, 2000 3:39 PM
To: Orion-Interest
Subject: RE: EJB Help..
Kevin,
With any *ar file in Orion, you can use a directory instead.
eg
module
ejb./myejbs.jar/ejb
/module
can just be
module
ejb./myejbs/ejb
/module
where ./myejbs is a directory
]]On Behalf Of Duffey, Kevin
Sent: Friday, October 20, 2000 9:45 AM
To: Orion-Interest
Subject: RE: EJB Help..
Thanks for the note. One thing..since I compile all of my classes into the
www/WEB-INF/classes dir, should I put a META-INF in the /classes dir, and
just point the module to the WEB-INF
Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Duffey, Kevin
Sent: Friday, October 20, 2000 3:45 AM
To: Orion-Interest
Subject: RE: EJB Help..
Thanks for the note. One thing..since I compile all of my classes into the
www/WEB-INF/classes dir, should I put a META-INF
-Interest
Subject: RE: EJB Help..
For the deployment details, see the Orion primer -
http://www.jollem.com
I generally move all classes from the WEB-INF/classes folder
into the ejb
module (makes it more portable etc) - makes them more visible.
Mike
-Original Message-
From
21 matches
Mail list logo