My basic question is : Is it necessary to write 'EJB' or 'EJBBean' at the end in import?

This is my first post. Kindly forgive for any errors or disrespect.

10-15-2008, 11:49 AM

DevzAbhi

why do you exactly need to import the bean .. if you want to use the API present in the bean .. you simply say import packageName.* ... but i dont find any logic of doing so .. why you need a EJB if you can have a simple POJO class doing the same ...

06-30-2009, 10:05 PM

makpandian

I think you did not know the basics of EJB?
Read the EJB basics,Then you can find out the ans for the ques you asked here..