File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes EJB Home interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB Home interface" Watch "EJB Home interface" New topic

EJB Home interface

Jaffery Rab
Ranch Hand

Joined: Jan 18, 2002
Posts: 36
hi guys
I am new in EJB and trying to to some stuff but got problems
I created my remote interface called IntrestCalculator and compile it code is

then I create my home interface called IntrestCalculatorHome code is

I put all of them in default package but when I compile home interface I am getting error message like

why it is not taking IntrestCalculator as areturn type ??? any clue
Thanx in advance
Peter Kristensson
Ranch Hand

Joined: Jul 02, 2001
Posts: 118
The create() method is supposed to give a reference to a remote interface.
I agree. Here's the link:
subject: EJB Home interface
It's not a secret anymore!