On 23 Apr, [EMAIL PROTECTED] wrote:
> Hello everybody:
> 
> Nowadays i'm beggining with MDB in JBoss and to undersand
> how to implement it in my applications i've copied the MDB.java
> example from the JBoss documentation (Writing Message Driven Beans 
> section).
> When i try to compile this sample i get the following (these are part of 
> the full message):
> 
> /JBoss-2.2.1_Tomcat-3.2.1/jboss/test/bean/MDB.java:4:cannot resolve symbol 
> :
> class MessageDrivenBean;
>             ^
> location: package ejb
> import javax.ejb.MessageDrivenContext;
>                                  ^
> 
> ...
> and the same to package jbs and others.
> 
> Have to indicate another 'jar' file in addition to 'ejb.jar' to compile 
> this file?
> 

Yes ejb2.0.jar, and jms.jar.

//Peter


> Using: JBoss 2.2.1
> Java:   JDK 1.3
> O.S.: Linux RedHat 6.1
> 
> 
> Thanks in advance.
> _____________________________________________
> Jaume Soriano Sivera <[EMAIL PROTECTED]>
> _____________________________________________
-- 
Jobba hos oss: http://www.tim.se/weblab
------------------------------------------------------------
Peter Antman             Technology in Media, Box 34105 100 26 Stockholm
Systems Architect        WWW: http://www.tim.se
Email: [EMAIL PROTECTED]        WWW: http://www.backsource.org
Phone: +46-(0)8-506 381 11 Mobile: 070-675 3942 
------------------------------------------------------------


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

Reply via email to