Import javax.ejb cannot be resolved
Hi,
There are some libraries missing in the following code.
package era.budget;
import javax.ejb.*;
import era.budget.BudgetVO;
public class BudgetItemVO implements java.io.Serializable
{
private Integer itemId;
private BudgetVO budget;
private int type;
private String itemDetails;
private int amount;
// -------------- BEGIN GET/SET METHODS --------------
public BudgetItemVO(Integer id)
{
this.itemId = id;
}
public BudgetItemVO()
{
}
public Integer getItemId()
{
return itemId;
}
public BudgetVO getBudget()
{
return budget;
}
public void setBudget(BudgetVO budget)
{
this.budget=budget;
}
public int getType()
{
return type;
}
public void setType(int id)
{
this.type=id;
}
public String getItemDetails()
{
return this.itemDetails;
}
public void setItemDetails(String details)
{
this.itemDetails=details;
}
public int getAmount()
{
return this.amount;
}
public void setAmount(int amount)
{
this.amount=amount;
}
}
As aresult of these missing libraries there are some compilation errors..Some of the errors are as follows
1)The import javax.ejb cannot be resolved
2)EntityBean cannot be resolved to a type
3)EntityContext cannot be resolved to a type
4)EJBLocalObject cannot be resolved to a type
Thanx & Regards
Maria.