I am trying to do the HW and I keep getting a type mismatch error. There seems to be a problem with the beans.xml file. Here is the code that I put in
<beans> <!-- oracle bean used for a few examples --> <bean id="myaddress" name="addrworm" class="BookwormOracle"/> <bean id="oracle" name="wiseworm" class="BookwormOracle"/> <!-- injecting reference sample (using id) --> <bean id="injectRef" class="InjectRef"> <property name="oracle"> <ref local="oracle"/> </property> </bean> <bean id="bookwormOracle" class="BookwormOracle"> <property name="myaddress"> <ref local="myaddress"/> </property> </bean> </beans> I tried to do this in several different ways. How should it be defined in the beans.xml file? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~----------~----~----~----~------~----~------~--~---