This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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.
It is sorta covered in the JavaRanch Style Guide.
subject: EJB Home interface
Similar Threads
Unable to compile home interface file
question on my first EJB program? thanks all
Help with interface
error when compiling Home interface
Help with interface