• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Help required with the EJBs in Tassie Online Book store

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.





___________________________
reply
    Bookmark Topic Watch Topic
  • New Topic