Okay,
your link 

http://java.sun.com/j2ee/1.4/download.html#tutorial

leads to the same location I have downloaded the version, that is not working.  
However there are 3 possible downloads. I tried the topmost  one (Platform 
Edition 8.1 2005Q2 UR2) and can say that it is not working. 
I found at least some reasons:
They have changed the classes. For example the ejb remote and home interfaces 
"Customer" and "CustomerHome" have been replaced with
"LocalCustomer" and "LocalCustomerHome". The JBoss deployment descriptors 
however are referring to the old names. I tried to change the names in the 
descriptor, but this solves only some problems. The "CustomerBeanClass" is made 
abstract which leads to smth. like a spec violation error when deploying the 
ear. 

I will download the other Tutorial version with your link, just to see if they 
are working.
Anyway, I accidently found a workaround for the problem.  I bought a used book 
at ebay: The J2EE Tutorial Book Second Edition. I couldn't believe it, but on 
the cd there was the right version of the bank example (with the old class 
names) and it is working, at least for now:-)
   
Can you tell me, why they made the new Bean class abstract? I'm just beginning 
with ejb's, but this seems to be a bit strange.

Thanks,
Philip

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3905966#3905966

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3905966


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to