News
Listing 4 shows the code for the bean interface, Calculator.java. It defines the business method of the calculator. Listing 4. Calculator.java. package beans; import javax.ejb.Remote; ...
A recent study by Java developer Raghu Kodali has shown that porting Sun’s Java EE tutorial application RosterApp from EJB 2.1 to EJB 3.0 resulted in more than a 50-percent reduction in code.
Listing 2. CalculatorBean.java, the Bean Class for Our EJB Calculator. Our home interface, CalculatorHome, allows us to create a new instance of CalculatorBean. Other than defining the interface's ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results