-
1. Re: Budi Kurniawan's sample application on Adder EJB
milowe Apr 25, 2005 9:33 AM (in response to ilangocal)C:\classes>javac -classpath C:\jboss\client\jboss-j2ee.jar;C:\jboss\client\jboss-client.jar;C:\jboss\client\jnp-client.jar;. BeanClient.java
-
2. Thanks - another question
ilangocal Apr 27, 2005 7:11 AM (in response to ilangocal)Many thanks for resolving my problem. Now I am trying to run the Tassie Online Book Store of Budi Kurniawan's book.
I compiled the Book beans, Search Beans and even CartHome.java and Cart.java without any problem. However when I am trying to compile CartBean.java, i get the following errors:
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
-----------------
I am not sure what is going on here. Could you tell me what I am doing wrong here. Many thanks again. -
3. Re: Budi Kurniawan's sample application on Adder EJB
milowe Apr 29, 2005 8:09 AM (in response to ilangocal)I guess you need to own a copy of that book to have some useful inputs. However, our friend google found a solution for you though.
http://www.quepublishing.com/isapi/product_id~%7BF81C009C-BBD3-4E29-AEC1-CF51732034EF%7D/selectDescTypeId~%7B3E2086CC-D924-4834-9600-A29694F5A455%7D/st~%7B47C00B67-3393-4E3E-97FF-79386C08D8C8%7D/session_id~%7B8D92AC0F-D28B-43C3-B94C-96F231D3CD9A%7D/content/images/073571195X/Errata/Errata195X.pdf
At the bottom of the errata it says that class CartBean is missing :private ArrayList cart=new ArrayList();
-
4. thanks
ilangocal Apr 29, 2005 6:50 PM (in response to ilangocal)thank you so much. Actually i created a public static Arraylist variable called cart. But i guess the private 'cart' is more suitable though..
I found the text book too, and I am stepping through this sample application gradually
thanks a lot