Hi,

> I have 2 EJB, each EJB is in a separate ".jar" file :
> - Book
> - BookFactory
>
> In the "Library" bean I want to create an instance of a book.
> I use this code to create the HomeInterface
>
>     HomeFactory.lookupHome( ShareHome.class )
>
> (The home factory is a pattern to create home, it is not part of EJB
spec.)
>
> When the "Library" bean try to create the Home, I have a
> NoClassDefFoundError.

You must put the interface Classes from Book into the jar from BookFactory

> I use the EJBoss 2.0 server.
You mean jBoss 2.0 :-)

CU

---
Ingo Bruell
OBL GmbH ([EMAIL PROTECTED])
Hude (Oldenburg)
Germany



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to