Question: b) 10 Provide Java code for a Stateless Session Bean that provides methods for converting US dollars into Euro and vice versa. Use a rate

b) 10 Provide Java code for a Stateless Session Bean that provides methods for converting US dollars into Euro and vice versa. Use a rate of 0.763 Euro per US dollar. Make sure that your methods can be invoked remotely. Also, provide code for a Java Servlet that uses Field Injection to access the method to convert US dollars into Euro. Assume that the value to be converted is passed to your servlet as a parameter called "amount". b) 10 Provide Java code for a Stateless Session Bean that provides methods for converting US dollars into Euro and vice versa. Use a rate of 0.763 Euro per US dollar. Make sure that your methods can be invoked remotely. Also, provide code for a Java Servlet that uses Field Injection to access the method to convert US dollars into Euro. Assume that the value to be converted is passed to your servlet as a parameter called "amount
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
