编写 Entity Bean类(Part1) package Data import java. util. import javax. ejb. i public class Tax Bean implements Entity Beant public String state Code public float taxRate public void setTaxRate (float taxRate his taxRate taxRatej public float getTaxRate(t 商业方法实现: return this taxRate: 实现在 Remote接口中 的定义的方法。 //Part2编写Entity Bean类(Part 1) package Data; import java.util.*; import javax.ejb.*; public class TaxBean implements EntityBean{ public String stateCode; public float taxRate; public void setTaxRate(float taxRate){ this.taxRate = taxRate; } public float getTaxRate(){ return this.taxRate; } //Part2 商业方法实现: 实现在Remote接口中 的定义的方法