Hi everybody
I am trying to run the Tassie Online Book Store
Example. Details of the same are also available at the following URL:
http://benmira.free.fr/en/j2ee/sessionEJB.htm#ch29lev1sec4 While I successfully compiled the Search (plus the
other 2), BookDetails( plus the other 2). Finally when
i come to the Cart set of EJBs, I am able to compile
Cart.java, and CartHome.java. But when i try to
compile Cartbean.java compilation fails.
The details are as below:
C:\classes>javac -classpath
C:\jboss\client\jboss-j2ee.jar;. com/brainysoftware/
tassie/ejb/CartBean.java
com/brainysoftware/tassie/ejb/CartBean.java:35: cannot
resolve symbol
symbol : variable cart
location: class com.brainysoftware.tassie.ejb.CartBean
cart.add(row);
^
com/brainysoftware/tassie/ejb/CartBean.java:40: cannot
resolve symbol
symbol : variable cart
location: class com.brainysoftware.tassie.ejb.CartBean
return cart;
^
2 errors
----------------------
All help is gratefully accepted and acknowledged.
___________________________