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
create method. Check out steps 4 and 5. Look for helloHome.create().
Once you have gotton an instance of your home interface object, you call
its create method and it returnes to you an instance of your EJB's remote
interface.
As for compiling, In EJB 1.1 Orion has to generate the RMI stubs and
skeletons for your classes and it has to compile those. In EJB 2.0, Orion
has to create actual classes that extens the abstract classes you wrote,
and these have to be compiled.
In both cases, you must have the JDK installed and not just the JRE for
this reason.
Good luck...
Jim
--On Friday, October 20, 2000 1:21 PM -0700 "Duffey, Kevin"
<[EMAIL PROTECTED]> wrote:
> 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, LoginBean.java and LoginHome.java. I think
> Login.java is the only one with a create() method in it. Should both the
> "interface" classes have a create() in it?
>
> Also, why is Orion trying to compile it if its already compiled? Or is
> this some sort of "assembly" routine Orion does? I assume from what I
> read that the EJB server "implements" the interfaces..so is it generating
> its own code at runtime and that is what compiling is failing?
>
> Thanks again.