This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am trying to run the 1st ejb in the headfirst book on page #18. I have the exact code as in the book. But the AdviceHome always fails. It says although it has the Advice.java in the same package as AdviceHome. Can anyone please tell me what is wrong.
C:\Program Files\Java\j2sdk1.4.2_13\bin\advice\src\headfirst>javac AdviceHome.ja va AdviceHome.java:6: cannot resolve symbol symbol : class Advice location: interface headfirst.AdviceHome public Advice create() throws CreateException,RemoteException; ^ 1 error [ June 27, 2007: Message edited by: hemapriya rao ]
Sanjeev, thank you for helping at SCBCD's forum. Unfortunately, your name does not conform to the ranch's naming policy. Could you please check it out, and change your name accordingly ? http://www.javaranch.com/name.jsp
Thanks for the reply Sanjeev ,I could compile all the 3 programs but the thing is I cannot run the server by j2ee -verbose, I have loaded j2sdkee1.3.1 and j2sdk1.4.2_13, I am new to EJB please someone help me
I am getting this error:
'C:\Program' is not recognized as an internal or external command, operable program or batch file. '-Dorg.xml.sax.parser' is not recognized as an internal or external command, operable program or batch file. [ June 29, 2007: Message edited by: hemapriya rao ]