Hi All
I have developed an application in which my
servlet invokes Session bean.
I am using OC4j container,i have deployed my ear file in container,every thing is going fine
I have added one more parameters to one of method in my
EJB I have made the necessary changes both in remote and Bean classes
the bean classes have been created sucessfully and I have added the corresponding class files to my ejb.jar file
when i was deploying the update file ,it is giving the following errors
Auto-unpacking C:\OC4J_EXTENDED\j2ee\home\applications\school.ear... done.
Auto-unpacking C:\OC4J_EXTENDED\j2ee\home\applications\school\lowerclasses.war... done.
Auto-deploying school (Assembly had been updated)...
Application default (default) initialized...
Auto-deploying - EJB.jar (ejb-jar.xml had been touched since the previous deployment)...
Auto-deploying - compiling and loading...
BookdeskSession_StatelessSessionBeanWrapper30.java:101: addBooks(com.sample.java.Booking) in com.sample.booking.ejb.sls.BookdeskSessionBean cannot be applied to (com.sample.booking.java.Booking,int)
response = object.addBooks(argument0, argument1);
^
Even though i have added one parameter to my addBooks method ,both in remote and bean implementation classess and also in servlet
then why BookdeskSession_StatelessSessionBeanWrapper is showing only one parameter
can any one suggest me why I am getting the above error.