com.app.jobbank
Interface Company
- All Known Implementing Classes:
- CompanyImpl
public interface Company
Method Summary |
java.lang.String |
getCompanyInfo(java.lang.String company)
This method gets compnay info. |
java.lang.String |
postResume(java.lang.String resume)
This method posts the resume to external jobbank system. |
getCompanyInfo
java.lang.String getCompanyInfo(java.lang.String company)
- This method gets compnay info. If the company is "ACME Corp" emthod returns
"Software firm". For any other company it returns "Non Software firm".
- Parameters:
String
- company name
- Returns:
- Company type
postResume
java.lang.String postResume(java.lang.String resume)
- This method posts the resume to external jobbank system. External jobbank system is
running as reumebank ejb. This function demonstrates how component can invoke
EJB service through ejb reference binding
- Parameters:
String
- candidate resume
- Returns:
- Confirmation number for the posting