Could you explain what the code was expected to do? Also, it might help to edit your post to place them within [ code] [/ code] marks so that the brackets line up in the proper spots and make it easier to read. Note: make sure to take out the spaces before the word code to get it to work properly Paul R
Jyothi, Any exceptions on the server/client side being thrown?If yes, could you post the stack trace? At the outset, I can say since your BMP bean needs to do the following:
Implement the ejbLoad(),ejbStore() methods.
Define the instance variable in your Bean class, mapping it to the table you want to load as a Entity Bean.
Define getter/setter business methods in your RemoteObject interface.
Implement the getter/setter methods in the Bean class.
Since you have already defined the findData(String,String) returning an Enumeration Object,and also, from your JSP, I infer you want to obtain the RemoteObject, get the Primary Key and store it in the Vector and then return the Enumeration Object.
Further in your JSP, after obtaining the RemoteObject, use the getter methods to display the values in the form.
..returns an Enumeration.You would need to iterate through it!! Hope this helps, Sandeep
Sun Certified Programmer for Java 2 PlatformScored 93 per cent
Oracle JDeveloper Rel. 3.0 - Develop Database Applications with Java Scored 56 out of 59
IBM Enterprise Connectivity with J2EE Scored 72 per cent
Enterprise Development on the Oracle Internet Platform Scored 44 out of 56
[This message has been edited by Desai Sandeep (edited May 09, 2001).]
I think she's lovely. It's this tiny ad that called her crazy:
SKIP - a book about connecting industrious people with elderly land owners