Reference no: EM133258
QUESTION 1
(a) Give explanation & the significance of Enterprise Java Beans (EJB) in software development.
(b) Explain the most important goals of EJB technology.
(c) Put in plain words the EJB architecture using a suitable diagram.
(d) Examine the steps to be act upon to build an EJB application.
QUESTION 2
(a)(i) What is a session bean?
(ii) Elucidate how Stateless Session Beans (SLSB) differs from Stateful Session Beans (SFSB).
(b) What is a Message Driven Bean (MDB)?
(c)(i) What is an Entity Bean?
(ii) Make clear distinction how an Entity Bean differs from MDB.
QUESTION 3
(a) Chat about the major components required to implement an enterprise bean.
(b) Elucidate the life-cycle of the following bean kinds using appropriate figures:-
(i) Stateful Session Bean (SFSB)
(ii) Stateless Session Bean (SLSB)
(iii) Message Driven Bean (MDB)
QUESTION 4
Portray the purpose of the java bean given below. Describe fully each statement of the program.
package converter.ejb;
import java.math.BigDecimal;
import javax.ejb.*;
@Stateless
public class ConverterBean {
private BigDecimal yenRate = new BigDecimal("83.0602");
private BigDecimal euroRate = new BigDecimal("0.0093016");
public BigDecimal dollarToYen(BigDecimal dollars) {
BigDecimal result = dollars.multiply(yenRate);
return result.setScale(2, BigDecimal.ROUND_UP);
}
public BigDecimal yenToEuro(BigDecimal yen) {
BigDecimal result = yen.multiply(euroRate);
return result.setScale(2, BigDecimal.ROUND_UP);
}
} Describe fully the purpose of the web client program given below.
@WebServlet
public class ConverterServlet extends HttpServlet {
@EJB
ConverterBean converterBean;
try {
String amount = request.getParameter("amount");
if (amount != null && amount.length() > 0) {
BigDecimal d = new BigDecimal(amount);
BigDecimal yenAmount = converter.dollarToYen(d);
BigDecimal euroAmount = converter.yenToEuro(yenAmount);
}
}
To accrue rent recognized but not yet received
: By accessing this problem Assistance, you will learn while you earn points based on the Point Potential Policy set by your instructor.
|
Views and references six different data sources
: Three input screens, each of which has two views and references six different data sources One output report that has four sections and references eight data sources
|
Prepare the project worthwhile in terms of his own time
: To prepare the project worthwhile in terms of his own time, Marbury would need a $7,200 profit for the first six months of the venture. What level of sales in units and dollars would be needed to attain this target net operating income?
|
Evaluate the proceeds amazon received for the issuance
: Evaluate the proceeds Amazon received for the issuance of $3.0 billion notes in November 2012.
|
Enterprise java beans (ejb) in software development
: Enterprise Java Beans (EJB) in software development, EJB technology, EJB application, Stateless Session Beans (SLSB), Stateful Session Beans (SFSB), Message Driven Bean (MDB), Entity Bean
|
Determine the estimated finished goods inventory balance
: Determine the estimated finished goods inventory balance at the end of July, if the company always uses an estimated predetermined plant wide overhead rate of $10 per direct labor-hour?
|
The process of tbl reporting
: The technicalities of TBL reporting The process of TBL reporting The philosophy behind the methodology of TBL
|
Show how such a payment will be treated
: Show the likelihood of these payments being treated as constructive dividends. If a payment is deemed to be a constructive dividend, show how such a payment will be treated.
|
Evaluate the operating income
: Evaluate the operating income that would result from the production manager's plan to manufacture 96,000 units at each plant.
|