t;> From: Juan Lorandi (Chile) [mailto:[EMAIL PROTECTED]]
>> Sent: Friday, October 20, 2000 2:52 PM
>> To: Orion-Interest
>> Subject: RE: EJB Help..
>>
>>
>> the create method must reside in the Home interface and must match an
>> ejbCreate method in t
Sent: Friday, October 20, 2000 2:52 PM
> 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) mu
Supposedly the ejb stuff isn't living up to all the hype. However, I
>>>>>> look at what the ejb container does for you (connection pooling,
>>>>>> transactions, security, instance pooling, etc) and it seems there is
>>>>>> alot of stuff I wont
y..so maybe the extra time is worth it? ;)
>>>>>
>>>>> Anyways..I did as one person suggested in this list, I set up in my
>>>>> application.xml like so:
>>>>>
>>>>>
>>>>> /path/www/WEB-INF/classes/
>
keep
>>>> seeing an error appear. It says something like:
>>>>
>>>> Error compiling class c:/path/www/WEB-INF/classes/ Login.java
>>>> LoginBean.java LoginHome.java can't find method create()in
>>>> LoginBean.java
>>>>
ed in EJB2.0 CMR has got to be pretty
obscure. I've got some pretty wacky relationships and it all works
reasonably well.
Jeff Schnitzer
[EMAIL PROTECTED]
> -Original Message-
> From: Cory Adams [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, October 21, 2000 12:11 AM
;> LoginBean.java LoginHome.java can't find method create()in
>>> LoginBean.java
>>>
>>> Its a very strange message to me. If I change the path, it
>>> tells me it can't find the classes. If I delete the classes, it also
>>> tells me it can't
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
sses, it also
>> tells me it can't find them. So I assume the path is set correctly in
>> the module tag..as it is finding the classes. I am just not sure
>> why the heck its giving me some compiler error..or why its even trying
>> to compile them..they are already compiled.
Orion-Interest
Subject: RE: EJB Help..
HI,
> Double check your ejb-jar.xml--are you setting LoginHome as your Home
> interface in there? Is there a LoginHome.create() method
> declared? Is there
> a LoginBean.ejbCreate() method defined?
Hmm..I don't have a LoginHome.create()..the
HI,
> Double check your ejb-jar.xml--are you setting LoginHome as your Home
> interface in there? Is there a LoginHome.create() method
> declared? Is there
> a LoginBean.ejbCreate() method defined?
Hmm..I don't have a LoginHome.create()..the Orion Primer didn't show that. I
have a Login.java, L
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.
em..they
> are 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:
> 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.
resav
[SMTP:[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,
: Juan Lorandi (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
> (directo
#x27;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
6:45 PM
> To: Orion-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 m
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-I
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
> 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
>
> ./myejbs.jar
>
>
> can just be
>
>
> ./myejbs
>
Title: RE: EJB Help..
I use ant. Check jakarta.apache.org for it. When I change a file with JBuilder or TextPad, I run ant in a console window. It builds the jar file and moves it to the right place for orion to pick it up.
Kurt in Atlanta
>-Original Message-
>From: Duffey,
Kevin,
With any *ar file in Orion, you can use a directory instead.
eg
./myejbs.jar
can just be
./myejbs
where ./myejbs is a directory structure which has the same structure
(META-INF directories etc) as inside the myejbs.jar
Mike
-Original Message-
From: [EMAIL
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 of my .ear, then repeat the process for
ejb-jar and war files...
then, simply put your updated classes there(below your ejb-jar dir, like s
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 Orio
25 matches
Mail list logo