Hi Dmitri.

Response Inlined....

Dmitri Colebatch wrote:
>>Greetings.
>>
> 
> Hi (o:
> 
> 
>>I have the following setup;
>>
>>EAR
>>  |
>>  -- WAR
>>  |   |
>>  |   - JSPs
>>  |   |
>>  |   - Servlets
>>  |   |
>>  |   - etc.
>>  |
>>  -  EJB jars
>>
>>The servlets are having no problems finding the Home/Remote interface classes for 
>the EJB's,
>>but the JSP all appear to be failing.
>>
> 
> I assume that com.hrnexus.customer.ejb.CustomerLocationSession is in the EJB jar?  
>Thing with JSPs is the compiler needs access to
Yes, and it is not the only EJB involved.

> the classes referenced in the jsp as it compiles them.  Couple of points here (this 
>is my opinion, and no doubt there are other ways
> to get around this):
> 
> 1. put all "interface" classes in a client jar and place that in WEB-INF/lib - this 
>allows the JSP compiler access to the required
> class definitions.

I did not need to do that for the other Appservers, and I now have 150+ EJBs in 13 
different EJB jar files.  I will if I have to, but I REALLLLY do 
not want to go through that much effort.

> 
> 2. from the class name, it looks like you are referencing the actual Session bean 
>class - shouldn't it only be the local/remote
> interface?

EJB class terminates with EJB, ex. CustomerLocationSessionEJB.  Remote Interfaces are 
just the session name, with no extras on the end.

> 
> hth
> dim
> 
> 
> 
>>Suggestions?
>>
>>-Steve
>>




-- 
Stephen Davidson
Java Consultant
Delphi Consultants, LLC
http://www.delphis.com
Phone: 214-696-6224 x208


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to